You mean something like:
--- snip ---
\version "2.12.3"
\relative {
r2 r4 <fis a c>
\override Score.RehearsalMark #'Y-offset = #2
\once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
\mark \markup { \vcenter "D.S." \hspace #1 \musicglyph #"scripts.segno"
}
\stopStaff s2. \hideNotes g4 ~ \unHideNotes \startStaff
\once \override Score.RehearsalMark #'self-alignment-X = #LEFT
\mark \markup { \musicglyph #"scripts.coda" \vcenter "Coda" }
g2 r
}
--- snap ---
?
To fake two RehearsalMarks to appear at the same time I add a grace note spacer
between them:
\mark "AA" grace { s16 } \mark "AB"
Best, Robert
Am 05.10.2010, 13:32 Uhr, schrieb Tim Rowe <[email protected]>:
I have a coda immediately following a D.S., and have tried to mark it
up as follows:
<fis a c>
\override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible
\override Score.RehearsalMark #'self-alignment-X = #RIGHT
\mark \markup {"D.S " \musicglyph #"scripts.segno"}
|
\override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible
\override Score.RehearsalMark #'self-alignment-X = #LEFT
\mark \markup {\musicglyph #"scripts.coda" "Coda "} |
g2 r2 |
(To be honest, they're just magic incantations I god from snippets,
and I have no real understanding of what they're doing).
That has two problems. The most significant is that it doesn't work at
all -- I get a warning that there are two simultaneous mark events,
and it junks the second, so I don't get the coda mark.
The one that you can't tell from the little bit that I've included
there is that the starting g of the coda should be tied over from the
"to coda" bar, so it should have a tie going into it.
Where am I going wrong? Is there an easy way to fix these problems?
<<attachment: segno-coda.png>>
_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
