Trevor Daniels wrote > 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.
thanks - I was vaguely aware - and afraid - of that. in worst cases you might be forced to redesign the whole layer hierarchy for all possible grobs … Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Fw-whiteout-bug-tp148504p148511.html Sent from the Bugs mailing list archive at Nabble.com. _______________________________________________ bug-lilypond mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-lilypond
