[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: must 'layer be "between 0 and 2"?

From: Trevor Daniels
Subject: Re: must 'layer be "between 0 and 2"?
Date: Thu, 9 Apr 2009 08:15:32 +0100


If you look up layers in the index to the Notation
Reference you'll find there that it says the layer
property should be set to an integer and most objects
are drawn by default with a value of 0 or 1.  Also
the example shown uses a value of -1.  Maybe we
ought to change define-grob-properties to reflect
this, though.


----- Original Message ----- From: "Mark Polesky" <address@hidden>
To: "bug-lilypond" <address@hidden>
Sent: Thursday, April 09, 2009 4:09 AM
Subject: must 'layer be "between 0 and 2"?

define-grob-properties.scm claims 'layer should be
"between 0 and 2", but other values clearly work.
Is there any reason why users should avoid other
values? I'm finding it *very* handy to use negative
values, for instance.

Perhaps it should be stated that no grob has a
default value for 'layer below 0 or above 2, but
that the user can set values outside that range.
This way, a user who sets only one 'layer value
over 2 is guaranteed to have that grob print over
everything else.

Is that correct, btw?

- Mark

\version "2.13.0"

 \once \override Staff.Clef          #'layer = #-2
 \once \override Staff.StaffSymbol   #'layer = #0
 \once \override Staff.TimeSignature #'layer = #4
 \once \override Staff.Stem          #'layer = #6

 \once \override Staff.Clef          #'color = #red
 \once \override Staff.TimeSignature #'color = #green
 \once \override Staff.Stem          #'color = #yellow


bug-lilypond mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]