[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Repeats and markup
From: |
Noeck |
Subject: |
Re: Repeats and markup |
Date: |
Sat, 23 Feb 2013 16:57:06 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 |
Am 23.02.2013 15:46, schrieb Alberto Simões:
> voltaEstrofes = \markup { 1-3 \text \italic { às estrofes } }
> \set Score.repeatCommands = #(list(list 'volta voltaEstrofes) )
> f2.
> \set Score.repeatCommands = #'((volta #f) (volta "4. Final" ))
> f2.
> \set Score.repeatCommands = #'((volta #f)
Another definition like voltaEstrofes would work:
\version "2.16.0"
voltaEstrofes = \markup { 1-3 \text \italic { às estrofes } }
voltaFinal = \markup { 4 \text \italic { Final } }
{
\set Score.repeatCommands = #(list(list 'volta voltaEstrofes) )
f2 f
\set Score.repeatCommands = #(list (list 'volta voltaFinal) )
f2 f
\set Score.repeatCommands = #'((volta #f) ())
}
Alternatively, you can write that part in place of voltaFinal directly
(enclosed in '#{' and '#}'):
\set Score.repeatCommands = #(list (list 'volta
#{ \markup { 4 \text \italic { Final } } #}
) )
Is that what you are looking for?
Cheers,
Joram