27.03.2013 Views

LilyPond Snippets

LilyPond Snippets

LilyPond Snippets

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Repeats 78<br />

\new StaffGroup ><br />

>><br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

1.<br />

<br />

<br />

1.<br />

<br />

<br />

<br />

<br />

<br />

<br />

2. <br />

2.<br />

<br />

<br />

<br />

Volta text markup using repeatCommands<br />

Though volte are best specified using \repeat volta, the context property repeatCommands<br />

must be used in cases where the volta text needs more advanced formatting with \markup.<br />

Since repeatCommands takes a list, the simplest method of including markup is to use an<br />

identifier for the text and embed it in the command list using the Scheme syntax #(list (list<br />

'volta textIdentifier)). Start- and end-repeat commands can be added as separate list<br />

elements:<br />

voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } }<br />

\relative c'' {<br />

c1<br />

\set Score.repeatCommands = #(list (list 'volta voltaAdLib) 'start-repeat)<br />

c4 b d e<br />

\set Score.repeatCommands = #'((volta #f) (volta "4.") end-repeat)<br />

f1<br />

\set Score.repeatCommands = #'((volta #f))<br />

}<br />

<br />

1.2.3... ad lib.<br />

<br />

<br />

4.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!