On 9/25/09 9:44 AM, "Reinhold Kainhofer" <reinh...@kainhofer.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Am Freitag, 25. September 2009 17:41:00 schrieb Carl Sorensen:
>> On 9/25/09 8:39 AM, "fiëé visuëlle" <fiee.visue...@gmx.net> wrote:
>>> If I switched off slurs using
>>> \override Slur #'stencil = ##f
>>> how do I enable it again without warnings?
>>> 
>>> \override Slur #'stencil = ##t
>>> does work, but issues an error (#t is no stencil)
>> 
>> If you read the Internals Reference, 3.1.90 Slur, you will see that
>> the default value of Slur #'stencil is
>> 
>> ly:slur::print
>> 
>> So to turn slurs back on, you would do
>> 
>> \override Slur #'stencil = #ly:slur::print
> 
> Wouldn't
>     \revert Slur #'stencil
> be the better approach, since you don't need to know the default value of the
> grob property?
> 

Yes, of course!  D'oh!

Sorry about the bad advice.  And thanks for cleaning up after me.

Carl



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to