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.

Expressive marks 89<br />

Sett<strong>in</strong>g the m<strong>in</strong>imum length of hairp<strong>in</strong>s<br />

If hairp<strong>in</strong>s are too short, they can be lengthened by modify<strong>in</strong>g the m<strong>in</strong>imum-length property of<br />

the Hairp<strong>in</strong> object.<br />

\relative c'' {<br />

c4\< c\! d\> e\!<br />

\override Hairp<strong>in</strong> #'m<strong>in</strong>imum-length = #5<br />

s\! } >><br />

}<br />

<br />

<br />

Show<strong>in</strong>g the same articulation above and below a note or chord<br />

By default, <strong>LilyPond</strong> does not allow the same articulation (e.g., an accent, a fermata, a flageolet,<br />

etc.) to be displayed above and below a note. For example, c4 \fermata^\fermata will only<br />

show a fermata below. The fermata above will simply be ignored. However, one can stick scripts<br />

(just like f<strong>in</strong>ger<strong>in</strong>gs) <strong>in</strong>side a chord, which means it is possible to have as many articulations as<br />

desired. This approach has the advantage that it ignores the stem and positions the articulation<br />

relative to the note head. This can be seen <strong>in</strong> the case of the flageolets <strong>in</strong> the snippet. To<br />

mimic the behaviour of scripts outside a chord, ’add-stem-support would be required. So,<br />

the solution is to write the note as a chord and add the articulations <strong>in</strong>side the . The<br />

direction will always be above, but one can tweak this via a \tweak: 4^\smallFlageolet_\smallFlageolet<br />

}<br />

s4^"Works if written <strong>in</strong>side a chord:"<br />

4<br />

4<br />

4<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Wrong: Works if written <strong>in</strong>side a chord:

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

Saved successfully!

Ooh no, something went wrong!