LilyPond Beginnershandleiding
LilyPond Beginnershandleiding
LilyPond Beginnershandleiding
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Hoofdstuk 4: Tweaking output 123<br />
staff-position is set to -4 for MultiMeasureRest, so we need to move it, say, four half-staff<br />
spaces down to -8.<br />
><br />
<br />
<br />
<br />
<br />
This is better than using, for example, extra-offset, because the ledger line above the rest<br />
is inserted automatically.<br />
The extra-offset property<br />
The extra-offset property provides complete control over the positioning of an object both<br />
horizontally and vertically.<br />
In the following example, the second fingering is moved a little to the left, and 1.8 staff space<br />
downwards:<br />
\stemUp<br />
f4-5<br />
\once \override Fingering.extra-offset = #'(-0.3 . -1.8)<br />
f4-5<br />
<br />
<br />
5<br />
<br />
5<br />
<br />
The positions property<br />
The positions property allows the vertical position and hence the slope of tuplets, slurs, phrasing<br />
slurs and beams to be controlled manually.<br />
Here’s an example in which the phrasing slur and slur collide:<br />
a8 \( ( a'16 ) a \)<br />
<br />
<br />
<br />
One possibility would be to move the two ends of the phrasing slur higher. We can try setting<br />
the left end to 2.5 staff-spaces above the centre line and the right end to 4.5 above, and <strong>LilyPond</strong><br />
will select the phrasing slur from the candidates it has found with its end points closest to these:<br />
\once \override PhrasingSlur.positions = #'(2.5 . 4.5)<br />
a8 \( ( a'16 ) a \)