lilypond-user
[Top][All Lists]
Advanced

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

Re: Repeats and markup


From: Alberto Simões
Subject: Re: Repeats and markup
Date: Sat, 23 Feb 2013 16:06:18 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130216 Thunderbird/17.0.3

Hello, Noeck

Thank you
Yep, it works. I didn't look into the PDF because I saw this warning:

  warning: already have a volta spanner, ending that one prematurely

But it renders correctly.

Thank you,
Alberto

On 23/02/13 15:57, Noeck wrote:


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

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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