lilypond-user
[Top][All Lists]
Advanced

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

Re: Staff.instr


From: Papazian Christophe
Subject: Re: Staff.instr
Date: Fri, 9 Jun 2006 14:43:20 +0200


On 9 juin 06, at 14:21, Kieren MacMillan wrote:

Hi, Christophe:

You said you need to adjust the offset values depending on accidentals?

This seems to work fine for me:


this is a problem of accidental key.... not of accidental in music.


\version "2.8.4"

\paper
{
        indent = 1\in
        left-margin = 2\in
        line-width = 4.5\in
}

makeMarkLikeInst =
{
        \once \override Score.RehearsalMark #'self-alignment-X = #right
        \once \override Score.RehearsalMark #'extra-offset = #'( -5 . -4.5 )
}

musique = \relative
{
  c d e f g a b c \break
}

\relative
{
\makeMarkLikeInst \mark \markup { "first thing" \hspace #0.5 } \key c \major \musique \makeMarkLikeInst \mark \markup { "second thing" \hspace #0 } \key a \major \musique \makeMarkLikeInst \mark \markup { "third thing" \hspace #0 } \key cis \major \musique \makeMarkLikeInst \mark \markup { "fourth thing" \hspace #0 } \key ces \major \musique
}




reply via email to

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