lilypond-user
[Top][All Lists]
Advanced

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

Re: How to adjust the Y-offset of volta spanners?


From: Nick Payne
Subject: Re: How to adjust the Y-offset of volta spanners?
Date: Thu, 03 May 2012 14:06:23 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120410 Thunderbird/11.0.1

On 03/05/12 12:59, address@hidden wrote:
I have a first ending at the end of a line, which is nicely
spaced (vertically).

The second ending is at the beginning of the next line, and the
right end of the spanner is above a rehearsal letter (/mark
/default).  There is more space than necessary between the
rehearsal mark and the second ending volta spanner, and indeed,
more than necessary under the entire second ending spanner.

How might I adjust the Y-offset of the second ending volta
spanner while leaving the first ending volta Y-offset unchanged?

Early attempts have included:

\once \override Score.VoltaBracketSpanner #'Y-extent = #'(0 . 0)
\once \override Score.VoltaBracketSpanner #'no-alignment = ##t
\once \override Score.VoltaBracketSpanner #'Y-offset = #10
\once \override Score.VoltaBracketSpanner #'extra-offset = #'( 0 . 50 )

placed either at the beginning of the second ending, or at the
end of the first alternative, but nothing seems to budge the
volta spanner.  Is it possible to control the Y-offset of two
volta spanners independently, and if so, how?

\relative c'' {

    \repeat volta 2 {
        \repeat unfold 12 { c4 }
    }
    \alternative {
        {
            \repeat unfold 12 { c4 }
        }
        {
            \once \override Score.VoltaBracket #'extra-offset = #'(0 . -1)
            \repeat unfold 12 { c4 }
        }
    }
}


Attachment: test.png
Description: PNG image


reply via email to

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