Kees van den Doel wrote.
on 2.12.2 it does *not* work. The output is attached. Bug?
It seems to me that LSR 258 is demonstrating only whiteout.
It is not demonstrating how to deal with the concomitant
horizontal layout problems, because it cheats here:
- uses ragged-right = ##f (with only one measure) to get lots of space
- uses extra-offset to move the text into this space.
And a newish bit of automagic confuses the issue:
- 2.12 does short snippets with ragged-right by default;
- 2.10 doesn't, and test2.ly specifies 2.10.
And the s4-\markup of test2.ly doesn't put the text halfway up.
You could do something like LSR 475 to get Lilypond to do the positioning.
http://lsr.dsi.unimi.it/LSR/Item?id=475
slashAndBurn = {
\once \override NoteHead #'stencil = #ly:text-interface::print
\once \override NoteHead #'text = #(markup #:whiteout
" Play loud random notes, then burn your instrument (30 s) " ) }
mm = \relative c'' {
a4 b c d |
\slashAndBurn a1 | % "a": vertical position "1": notehead only
e4 d e c |
}
Cheers,
Robin
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user