[Top][All Lists]

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

Re: Fw: whiteout bug

From: Trevor Daniels
Subject: Re: Fw: whiteout bug
Date: Mon, 29 Jul 2013 13:58:31 +0100

Eluze wrote Monday, July 29, 2013 12:42 PM

> Trevor Daniels wrote

>> The order in which grobs _in the same layer_ are placed is indeterminate,
>> but this can be controlled by setting the 'layer property.  See
>> http://www.lilypond.org/doc/v2.17/Documentation/notation/visibility-of-objects#index-layers
>> for details.
> thanks for pointing us to this - so the correct workaround (if one insists
> on sky-lines) is:
>  \layout {
>    \context {
>      \Staff
>      \override TextScript.whiteout = ##t
>      \override TextScript.layer = #0
>    }
>  }
> the odd thing is you have to find a fitting integer.
> in our case only the value #0 is satisfying.
> #1   leads to the cropping behavior 
> #-1 has the bar line drawn through the text

Yes, although sometimes you might have to change the 'layer for other
grobs to 'make room', as Lily uses only 0 and 1 by default and
only integral values are accepted for 'layer.  So if you want something
to appear reliably above the staff lines but below the bar lines you'd
need to change the 'layer for StaffSymbol to some negative integer,
say -2, and use -1 for the grob you want to insert.


reply via email to

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