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.

Vocal music 206<br />

}<br />

}<br />

""<br />

\paper { % Start paper block<br />

<strong>in</strong>dent = 0 % don't <strong>in</strong>dent first system<br />

l<strong>in</strong>e-width = 130 % shorten l<strong>in</strong>e length to suit music<br />

} % End paper block<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

= 96<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Lyrics alignment<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

This is l<strong>in</strong>e one of the first verse<br />

This is l<strong>in</strong>e two of the same<br />

And here's l<strong>in</strong>e three of the first verse<br />

And the last l<strong>in</strong>e of the same<br />

Horizontal alignment for lyrics can be set by overrid<strong>in</strong>g the self-alignment-X property of the<br />

LyricText object. #-1 is left, #0 is center and #1 is right; however, you can use #LEFT, #CENTER<br />

and #RIGHT as well.<br />

\layout { ragged-right = ##f }<br />

\relative c'' {<br />

c1<br />

c1<br />

c1<br />

}<br />

\addlyrics {<br />

\once \override LyricText #'self-alignment-X = #LEFT<br />

"This is left-aligned"<br />

\once \override LyricText #'self-alignment-X = #CENTER<br />

"This is centered"<br />

\once \override LyricText #'self-alignment-X = #1<br />

"This is right-aligned"<br />

}<br />

<br />

<br />

<br />

This is left-aligned<br />

<br />

This is centered<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

This is right-aligned

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

Saved successfully!

Ooh no, something went wrong!