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.

Text 176<br />

mark can be added, giv<strong>in</strong>g the appearance of two marks <strong>in</strong> the same column. This method may<br />

also prove useful for plac<strong>in</strong>g rehearsal marks at both the end of one system and the start of the<br />

follow<strong>in</strong>g system.<br />

{<br />

}<br />

\key a \major<br />

\set Score.markFormatter = #format-mark-box-letters<br />

\once \override Score.RehearsalMark #'outside-staff-priority = #5000<br />

\once \override Score.RehearsalMark #'self-alignment-X = #LEFT<br />

\once \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)<br />

\mark \markup { \bold { Senza denti } }<br />

% the hidden measure and bar l<strong>in</strong>e<br />

% \cadenzaOn turns off automatic calculation of bar numbers<br />

\cadenzaOn<br />

\once \override Score.TimeSignature #'stencil = ##f<br />

\time 1/16<br />

s16 \bar ""<br />

\cadenzaOff<br />

\time 4/4<br />

\once \override Score.RehearsalMark #'self-alignment-X = #LEFT<br />

\mark \markup { \box \bold Intro }<br />

d'1<br />

\mark \default<br />

d'1<br />

<br />

denti<br />

Senza Intro A<br />

<br />

<br />

<br />

Creat<strong>in</strong>g text spanners<br />

The \startTextSpan and \stopTextSpan commands allow the creation of text spanners as<br />

easily as pedal <strong>in</strong>dications or octavations. Override some properties of the TextSpanner object<br />

to modify its output.<br />

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

\relative c'' {<br />

\override TextSpanner #'(bound-details left text) = #"bla"<br />

\override TextSpanner #'(bound-details right text) = #"blu"<br />

a4 \startTextSpan<br />

b4 c<br />

a4 \stopTextSpan<br />

\override TextSpanner #'style = #'l<strong>in</strong>e<br />

\once \override TextSpanner<br />

#'(bound-details left stencil-align-dir-y) = #CENTER<br />

a4 \startTextSpan<br />

b4 c

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

Saved successfully!

Ooh no, something went wrong!