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.

Rhythms 29<br />

\relative c'' {<br />

\time 2/4<br />

><br />

}<br />

4 2<br />

<br />

<br />

<br />

Manually controlling beam positions<br />

Beam positions may be controlled manually, by overriding the positions setting of the Beam<br />

grob.<br />

\relative c' {<br />

\time 2/4<br />

% from upper staff-line (position 2) to center (position 0)<br />

\override Beam #'positions = #'(2 . 0)<br />

c8 c<br />

% from center to one above center (position 1)<br />

\override Beam #'positions = #'(0 . 1)<br />

c8 c<br />

}<br />

<br />

4 2<br />

<br />

<br />

<br />

<br />

Merging multi-measure rests in a polyphonic part<br />

When using multi-measure rests in a polyphonic staff, the rests will be placed differently depending<br />

on the voice they belong to. However they can be printed on the same staff line, using<br />

the following setting.<br />

normalPos = \revert MultiMeasureRest #'staff-position<br />

{<br />

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

Saved successfully!

Ooh no, something went wrong!