[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Writing text in a measure
From: |
Robin Bannister |
Subject: |
Re: Writing text in a measure |
Date: |
Wed, 25 Feb 2009 22:25:55 +0100 |
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
- Re: why does this simple notation fail a barcheck?, (continued)
- Re: why does this simple notation fail a barcheck?, Gilles Sadowski, 2009/02/24
- Re: why does this simple notation fail a barcheck?, Chip, 2009/02/24
- Re: why does this simple notation fail a barcheck?, Brett Duncan, 2009/02/24
- Writing text in a measure, Kees van den Doel, 2009/02/24
- Re: Writing text in a measure, James E. Bailey, 2009/02/25
- Re: Writing text in a measure, Gilles Sadowski, 2009/02/25
- Re: Writing text in a measure, Robin Bannister, 2009/02/25
- Re: Writing text in a measure, Gilles Sadowski, 2009/02/25
- Re: Writing text in a measure, James E. Bailey, 2009/02/25
- Re: Writing text in a measure, Kees van den Doel, 2009/02/25
- Re: Writing text in a measure,
Robin Bannister <=
- Re: Writing text in a measure, Kees van den Doel, 2009/02/25
- Re: Writing text in a measure, M Watts, 2009/02/25
Re: why does this simple notation fail a barcheck?, Carl D. Sorensen, 2009/02/24
Re: why does this simple notation fail a barcheck?, Tim Reeves, 2009/02/24