[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Custom alternative/volta names
From: |
Alberto Simões |
Subject: |
Custom alternative/volta names |
Date: |
Sun, 01 Jul 2012 15:17:28 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 |
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
- Custom alternative/volta names,
Alberto Simões <=