how to restore the override to it default.

2019-05-07 Thread MING TSANG
Lilyponders, 
The override take effect for bar 2 to bar 4. I try to use \remove , but not 
working.
\version "2.19.83"{  \fixed c' { c'4 b a g   %bar 1     \override 
NoteHead.style = #'slash     \override Stem.transparent = ##t     \override 
Flag.transparent = ##t     c'4 4 4 4   %bar 2     b4 4 4 4   %bar 3      % how 
can I restore to default - same as bar 1     c'4 b a g  %bar 4  }}
Thanks for the help.Ming.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: how to restore the override to it default.

2019-05-07 Thread Malte Meyn




Am 07.05.19 um 21:30 schrieb MING TSANG:

Lilyponders,

The override take effect for bar 2 to bar 4. I try to use \remove , but 
not working.


The correct command is \revert:

\revert NoteHead.style

or

\revert Stem.transparent

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: how to restore the override to it default.

2019-05-07 Thread David Kastrup
MING TSANG  writes:

> Lilyponders, 
> The override take effect for bar 2 to bar 4. I try to use \remove ,
> but not working.
> \version "2.19.83"{  \fixed c' { c'4 b a g   %bar 1     \override
> NoteHead.style = #'slash     \override Stem.transparent = ##t   
>  \override Flag.transparent = ##t     c'4 4 4 4   %bar 2     b4 4 4 4 
>  %bar 3      % how can I restore to default - same as bar 1     c'4 b
> a g  %bar 4  }}
> Thanks for the help.Ming.

To restore an override, use \temporary \override paired with \revert .
If I remember correctly, it should be enough to override (and revert)
Stem.transparent since Flag inherits transparency from it by default.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: how to restore the override to it default.

2019-05-07 Thread MING TSANG
Thank you for the quick response, Malte Meyn and David Kastup.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user