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
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to