lilypond-user
[Top][All Lists]
Advanced

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

DynamicLineSpanner Vertical Centering


From: Dave Higgins
Subject: DynamicLineSpanner Vertical Centering
Date: Sun, 02 Jun 2002 22:53:21 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc3) Gecko/20020523

I'm having a little trouble understanding the DynamicLineSpacing property.

I'm trying to get the dynamic to show in the middle of the staff. I have moved the \property about and haven't had any luck.

Where does the \property line go and how is it supposed to work. I am trying to get the dynamic to meet in the middle between the two sections 'primoright' and 'primoleft'.

Any help would be appreciated.

Currently, my file looks like this . . .

primoright = \notes\relative c {
        \clef treble
        \key d \major
        \repeat "volta" 2 {
        \property Voice.DynamicLineSpanner \override #'self-alignment-Y = #0
                < d''8\f fis a d > [ fis16( g ] [ a g fis e ] ) d8 r r4 |
                etc.
}

primoleft = \notes\relative c {
        \clef treble
        \key d \major
                < d'4\f fis a > r r8 fis16 ( g a g fis e |
                etc.
}

primo = <
        \context Staff = staffpa \primoright
        \context Staff = staffpb \primoleft
>

\score {
        <
        \context PianoStaff \primo
        \context PianoStaff \secondo
        >
}

Thanks,
--
Dave Higgins
Littleton, Colorado
address@hidden
--
Wouldn't this be a great world if being insecure and desperate were a turn-on?
                -- "Broadcast News"




reply via email to

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