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 68<br />

Chang<strong>in</strong>g text and spanner styles for text dynamics<br />

The text used for crescendos and decrescendos can be changed by modify<strong>in</strong>g the context properties<br />

crescendoText and decrescendoText.<br />

The style of the spanner l<strong>in</strong>e can be changed by modify<strong>in</strong>g the 'style property of<br />

DynamicTextSpanner. The default value is 'dashed-l<strong>in</strong>e, and other possible values <strong>in</strong>clude<br />

'l<strong>in</strong>e, 'dotted-l<strong>in</strong>e and 'none.<br />

\relative c'' {<br />

\set crescendoText = \markup { \italic { cresc. poco } }<br />

\set crescendoSpanner = #'text<br />

\override DynamicTextSpanner #'style = #'dotted-l<strong>in</strong>e<br />

a2\< a<br />

a2 a<br />

a2 a<br />

a2 a\mf<br />

}<br />

<br />

<br />

<br />

cresc. poco mf<br />

Chang<strong>in</strong>g the appearance of a slur from solid to dotted or<br />

dashed<br />

The appearance of slurs may be changed from solid to dotted or dashed.<br />

\relative c' {<br />

c4( d e c)<br />

\slurDotted<br />

c4( d e c)<br />

\slurSolid<br />

c4( d e c)<br />

\slurDashed<br />

c4( d e c)<br />

\slurSolid<br />

c4( d e c)<br />

}<br />

<br />

<br />

Chang<strong>in</strong>g the breath mark symbol<br />

The glyph of the breath mark can be tuned by overrid<strong>in</strong>g the text property of the<br />

Breath<strong>in</strong>gSign layout object with any markup text.<br />

\relative c'' {<br />

c2<br />

\override Breath<strong>in</strong>gSign #'text =<br />

\markup { \musicglyph #"scripts.rvarcomma" }<br />

\breathe<br />

d2

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

Saved successfully!

Ooh no, something went wrong!