lilypond-user
[Top][All Lists]
Advanced

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

Re: Custom alternative/volta names


From: Phil Holmes
Subject: Re: Custom alternative/volta names
Date: Sun, 1 Jul 2012 15:56:42 +0100

----- Original Message ----- From: "Alberto Simões" <address@hidden>
To: "lilypond" <address@hidden>
Sent: Sunday, July 01, 2012 3:17 PM
Subject: Custom alternative/volta names


Hello

I am looking into

http://lilypond.org/doc/v2.12/input/lsr/lilypond-snippets/Repeats#Volta-text-markup-using-repeatCommands

trying to set custom text in both alternatives...

Defined the texts:

voltaA = \markup{\text \italic{para repetir}}
voltaB = \markup{\text \italic{para terminar}}

Was trying this code:

\set Score.repeatCommands = #(list (list 'volta voltaA) 'start-repeat)
\time 4/4 ees2. ees,8 bes'

\set Score.repeatCommands = #'((volta #f) (list 'volta voltaB) end-repeat)
ees2.

\set Score.repeatCommands = #'((volta #f))
\bar "|."

Although the first text (voltaA) works, the second doesn't (I get a "2").

Is it any think wrong in the list, easy to detect?

Thank you
Alberto

I believe you need to make the whole of your second repeat command into a list:

\set Score.repeatCommands = #(list '(volta #f) (list 'volta voltaB) 'end-repeat)


--
Phil Holmes



reply via email to

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