lilypond-user
[Top][All Lists]
Advanced

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

Re: allowVoltaHook


From: Thomas Morley
Subject: Re: allowVoltaHook
Date: Sat, 3 Aug 2019 11:26:21 +0200

Am Sa., 3. Aug. 2019 um 10:39 Uhr schrieb John McWilliam
<address@hidden>:
>
> Windows 10, Lilypond 2.18.2, Friscobaldi 3.0.1
>
>
>
> I have some old Music which I am updating to Lilypond 2.18.2 and have come 
> across this command which doesn’t seem to have any affect on the Music:
>
>
>
> #(allow-volta-hook "|")
>
>
>
> There is  a brief note in the Notation manual:
>
>
>
> allowVoltaHook [void] - bar (string)
>
> (undocumented; fixme)
>
>
>
> The syntax seems to have changed. Can anyone explain this function to me and 
> its significance.
>
>
>
> John McWilliam

It allows closing VoltaBrackets for the specified bar-type.
See below, compile with and without it:

#(allow-volta-hook "|")

\new Staff {
  \repeat volta 2 { c'1 }
  \alternative { { c'1 } { d'1 } }
  e'1
}

Cheers,
  Harm



reply via email to

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