10.04.2013 Views

in Snippets - LilyPond

in Snippets - LilyPond

in Snippets - LilyPond

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Titles 477<br />

poet<br />

piece<br />

title<br />

subtitle<br />

<strong>in</strong>strument<br />

<br />

localpiece<br />

<br />

<br />

<br />

Outputt<strong>in</strong>g the version number<br />

<br />

composer<br />

arranger<br />

opus<br />

localopus<br />

By putt<strong>in</strong>g the output of lilypond-version <strong>in</strong>to a lyric, it is possible to pr<strong>in</strong>t the version<br />

number of <strong>LilyPond</strong> <strong>in</strong> a score, or <strong>in</strong> a document generated with lilypond-book. Another<br />

possibility is to append the version number to the doc-str<strong>in</strong>g, <strong>in</strong> this manner:<br />

\score {<br />

\new Lyrics {<br />

\override Score.RehearsalMark #'self-alignment-X = #LEFT<br />

\mark #(str<strong>in</strong>g-append "Processed with <strong>LilyPond</strong> version " (lilypond-version))<br />

s2<br />

}<br />

}<br />

Processed with <strong>LilyPond</strong> version 2.16.2

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

Saved successfully!

Ooh no, something went wrong!