lilypond-user
[Top][All Lists]
Advanced

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

Text markings


From: Maurizio Tomasi
Subject: Text markings
Date: Thu, 20 Jun 2002 11:01:24 +0200 (MET DST)

Here is another question... Consider the following file:

-----------------------------------------------------------------
raiseText = \property Staff.TextScript
    \override #'extra-offset = #'(-2 . 3)

restoreText = \property Staff.TextScript
    \revert #'extra-offset

markings = \notes {
    \raiseText s4^#'(Large (upright "Allegro.")) \restoreText s2.
}

violin = \notes \relative d'' {
        \key d \minor

        d2_#'(italic "sotto voce") d,4. d8
        | [d8.^\trill cis16] [d8 d] d4.( )f'8
}

\score {
        \context Staff <
                \markings
                \violin
        >
}
-----------------------------------------------------------------

I use two text scripts in the first bar of the score: the first,
"Allegro." is to be placed above the first bar, while the second, "sotto
voce", below the first note. I use `raiseText' and 'restoreText' to
position the "Allegro." script in a good place. But \raiseText and
\restoreText influence "sotto voce" as well, which is not what I want.

How could I position the two text scripts independently?

Thanks
Maurizio




reply via email to

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