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.

Staff notation 142<br />

Tick bar l<strong>in</strong>es<br />

’Tick’ bar l<strong>in</strong>es are often used <strong>in</strong> music where the bar l<strong>in</strong>e is used only for coord<strong>in</strong>ation and is<br />

not meant to imply any rhythmic stress.<br />

\relative c' {<br />

\set Score.defaultBarType = #"'"<br />

c4 d e f<br />

g4 f e d<br />

c4 d e f<br />

g4 f e d<br />

\bar "|."<br />

}<br />

<br />

<br />

Time signature <strong>in</strong> parentheses - method 3<br />

Another way to put the time signature <strong>in</strong> parenthesis<br />

\relative c'' {<br />

\override Staff.TimeSignature #'stencil = #(lambda (grob)<br />

(parenthesize-stencil (ly:time-signature::pr<strong>in</strong>t grob) 0.1 0.4 0.4 0.1 ))<br />

\time 2/4<br />

a4 b8 c<br />

}<br />

<br />

4 2 <br />

<br />

<br />

Time signature <strong>in</strong> parentheses<br />

The time signature can be enclosed with<strong>in</strong> parentheses.<br />

\relative c'' {<br />

\override Staff.TimeSignature #'stencil = #(lambda (grob)<br />

(bracketify-stencil (ly:time-signature::pr<strong>in</strong>t grob) Y 0.1 0.2 0.1))<br />

\time 2/4<br />

a4 b8 c<br />

}<br />

4 2 <br />

Tweak<strong>in</strong>g clef properties<br />

The command \clef "treble_8" is equivalent to sett<strong>in</strong>g clefGlyph, clefPosition (which<br />

controls the vertical position of the clef), middleCPosition and clefOctavation. A clef is<br />

pr<strong>in</strong>ted when any of the properties except middleCPosition are changed.<br />

Note that chang<strong>in</strong>g the glyph, the position of the clef, or the octavation does not <strong>in</strong> itself<br />

change the position of subsequent notes on the staff: the position of middle C must also be<br />

specified to do this. The positional parameters are relative to the staff center l<strong>in</strong>e, positive

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

Saved successfully!

Ooh no, something went wrong!