[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to override VoltaBracket once?
From: |
-Eluze |
Subject: |
Re: How to override VoltaBracket once? |
Date: |
Tue, 8 Mar 2011 02:10:43 -0800 (PST) |
TaoCG wrote:
>
> Hi,
>
> what I am basically trying to do is to override a property of VoltaBracket
> once but I can't figure out where to place the command in the code. When I
> remove \once it works fine. I know I can just revert the property but I am
> still curious why it won't work.
>
> Actually I have a coda sign in the alternative-part and I set its
> outside-staff-priority to 0 to have it below the volta bracket but now the
> volta bracket seems to be to far away.
> The following snippet produces what I want but if I try to override with
> \once nothing happens.
>
> \version "2.13.52"
>
>
> music =
> {
> \repeat unfold 6 { c'1 }
> }
>
> frame =
> {
> \override Score.VoltaBracket #'extra-offset = #'(0 . -1.5)
> \repeat volta 2
> {
> s1*2
> }
> \alternative
> {
> { s1*2 }
> {
> s1
> \once \override Score.RehearsalMark
> #'outside-staff-priority = #0
> \mark \markup \musicglyph #"scripts.coda"
> s1
> }
> }
> \bar "||"
> }
>
> \score
> {
> <<
> \new Staff = "s" \new Voice = "v" << \frame \music >>
> >>
> }
>
just put it at the beginning of each alternative in which you want to lower
the volta bracket!
hth
--
View this message in context:
http://old.nabble.com/How-to-override-VoltaBracket-once--tp31095175p31095789.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.