Hi Gilles (et al.),

It's not a troll, but i don't think it is very useable in a real music
because the snippet add the "Mark_engraver" to the second Staff, so
you have to do the choice to get also all \mark in both Staff, like in the example below.

Good point... although that's easy to get around -- see modified example.

Hope this helps!
Kieren.

%%%%%%%%%%%%%%%%%%%%%%
musicA =
{
        c'1 \mark \default c'1 \mark \default c'1 \mark "Allegro" c'1
        \bar "|."
}
musicB = \transpose c' c
{
        \clef bass \musicA
}

\score
{
   \new GrandStaff
        <<
                \context Staff = one
                {
                        \musicA
\override Score.RehearsalMark #'break-visibility = #begin-of-line- invisible
                        \mark \markup { \musicglyph #"scripts.ufermata" }
                }
                \context Staff = two \with { \consists "Mark_engraver" }
                {
                        \override Staff.RehearsalMark #'direction = #DOWN
                        \override Staff.RehearsalMark #'transparent = ##t
                        \musicB
\override Score.RehearsalMark #'break-visibility = #begin-of-line- invisible
                        \override Staff.RehearsalMark #'transparent = ##f
                        \mark \markup { \musicglyph #"scripts.dfermata" }
                }
        >>
}
%%%%%%%%%%%%%%%%%%%%%%



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to