I think an easier way would either be to use \mark \markup \center-
column or to define another context for the \mark. Search the mailing
list archives, I had a similar question a few weeks ago, but with two
marks, one above, and one below the system. I think the solutions
would be similar.
Am 05.01.2009 um 17:39 schrieb Trevor Daniels:
Well, you can form a combined mark like this:
codaSegno = {
\mark
\markup
\column {
\line
\general-align #Y #CENTER {
\small
\bold
\italic "To Coda "
\musicglyph #"scripts.coda"
}
\line
\general-align #Y #CENTER {
\musicglyph #"scripts.segno"
\hspace #0.125
\musicglyph #"scripts.segno"
\hspace #0.125 {
\box "B"
}
}
}
}
Is this what you meant?
Trevor
----- Original Message ----- From: "David Stocker"
<dstoc...@thenotesetter.com>
To: <lilypond-user@gnu.org>
Sent: Monday, January 05, 2009 3:50 PM
Subject: Simultaneous rehearsal marks?
I need to display two rehearsal marks over the same bar line, with
one occurring over the other. I like using the \mark command
because when I compile the score from parts, the appropriate marks
display only over the uppermost staff, the way I like. Is there a
way to do this without a lot of fuss? See code below.
Thanks,
Dave
%%begin snippet
\version "2.12"
textToCoda = {
\once
\override Score.RehearsalMark #'self-alignment-X = #0.770
\mark
\markup
\line
\general-align #Y #CENTER {
\small
\bold
\italic "To Coda "
\musicglyph #"scripts.coda"
}
}
segnoSegnoB = {
\mark
\markup
\line
\general-align #Y #CENTER {
\musicglyph #"scripts.segno"
\hspace #0.125
\musicglyph #"scripts.segno"
\hspace #0.125 {
\box "B"
}
}
}
\relative c' {
\repeat unfold 4 {
c4 c c c
}
%\textToCoda
%%I need both of these to display, with the to coda direction
situated above the segno/rehearsal mark
\segnoSegnoB
\repeat unfold 4 {
c4 c c c
}
}
%%end snippet
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user