lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Staff.instr


From: Kieren MacMillan
Subject: Re: Staff.instr
Date: Fri, 9 Jun 2006 09:08:31 -0400

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]