27.03.2013 Views

LilyPond Snippets

LilyPond Snippets

LilyPond Snippets

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Tweaks and overrides 330<br />

}<br />

% Increase the size of the bar number by 2<br />

\override Score.BarNumber #'font-size = #2<br />

% Draw a box round the following bar number(s)<br />

\override Score.BarNumber #'stencil<br />

= #(make-stencil-boxer 0.1 0.25 ly:text-interface::print)<br />

\repeat unfold 5 { c1 }<br />

% Draw a circle round the following bar number(s)<br />

\override Score.BarNumber #'stencil<br />

= #(make-stencil-circler 0.1 0.25 ly:text-interface::print)<br />

\repeat unfold 4 { c1 } \bar "|."<br />

<br />

<br />

4<br />

<br />

Printing metronome and rehearsal marks below the staff<br />

By default, metronome and rehearsal marks are printed above the staff. To place them below<br />

the staff simply set the direction property of MetronomeMark or RehearsalMark appropriately.<br />

\layout { ragged-right = ##f }<br />

{<br />

}<br />

% Metronome marks below the staff<br />

\override Score.MetronomeMark #'direction = #DOWN<br />

\tempo 8. = 120<br />

c''1<br />

% Rehearsal marks below the staff<br />

\override Score.RehearsalMark #'direction = #DOWN<br />

\mark \default<br />

c''1<br />

<br />

<br />

<br />

= 120<br />

Proportional strict notespacing<br />

A<br />

If strict-note-spacing is set spacing of notes is not influenced by bars or clefs within a<br />

system. Rather, they are placed just before the note that occurs at the same time. This may<br />

cause collisions.<br />

\relative c''

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

Saved successfully!

Ooh no, something went wrong!