For the first line, I use #'ambitus, this work perfectly for me.
But, there is some drawbacks in this method. This breaks code
that uses mark to show information (FINE, D.C.) at the end of lines.
It seems that I can not use a mark (\mark) at the end of the line,
and another
one at the beginning of the next one....
So this is not perfect :o/
Christophe
On 9 juin 06, at 15:08, Kieren MacMillan wrote:
Hi, Christophe:
I think the attached workaround works for all but the first line --
I leave that to you! =)
[Hint: make the InstrumentName font the same as the RehearsalMark
font...]
Best,
Kieren.
__________________________
%%% CODE SNIPPET BEGINS
\version "2.8.4"
\paper
{
indent = 1\in
left-margin = 2\in
line-width = 4.5\in
}
makeMarkLikeInst =
{
\once \override Score.RehearsalMark #'break-align-symbol = #'clef
\once \override Score.RehearsalMark #'self-alignment-X = #right
\once \override Score.RehearsalMark #'extra-offset = #'( -5.5 .
-4.5 )
}
musique = \relative
{
c d e f g a b c \break
}
\relative
{
\makeMarkLikeInst \mark "first thing" \key c \major \musique
\makeMarkLikeInst \mark "second thing" \key a \major \musique
\makeMarkLikeInst \mark "third thing" \key cis \major \musique
\makeMarkLikeInst \mark "fourth thing" \key ces \major \musique
}
%%% CODE SNIPPET ENDS
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user