lilypond-user
[Top][All Lists]
Advanced

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

Re: Text markings


From: Rune Zedeler
Subject: Re: Text markings
Date: Thu, 20 Jun 2002 15:56:18 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020313

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

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

If you replace "Staff" with "Voice" in the above then the change only occurs in the current voice and not in the entire staff. In this case this would be enough to achieve what you want because when you have

        \context Staff <
                \markings
                \violin
        >

then markings and violin automatically will be created in different voices.
If you would like to have control over which voices is created then you could manually instantiate different voices, like this:


        \context Staff <
            \context Voice = markings \markings
            \context Voice = violin \violin
        >

-Rune




reply via email to

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