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

Reply via email to