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

Mensurstriche layout (bar l<strong>in</strong>es between the staves)<br />

The mensurstriche-layout where the bar l<strong>in</strong>es do not show on the staves but between staves can<br />

be achieved with a StaffGroup <strong>in</strong>stead of a ChoirStaff. The bar l<strong>in</strong>e on staves is blanked out<br />

by sett<strong>in</strong>g the transparent property.<br />

global = {<br />

\override Staff.BarL<strong>in</strong>e #'transparent = ##t<br />

s1 s<br />

% the f<strong>in</strong>al bar l<strong>in</strong>e is not <strong>in</strong>terrupted<br />

\revert Staff.BarL<strong>in</strong>e #'transparent<br />

\bar "|."<br />

}<br />

\new StaffGroup \relative c'' {<br />

}<br />

\new Staff { > }<br />

>><br />

}<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Nest<strong>in</strong>g staves<br />

The property systemStartDelimiterHierarchy can be used to make more complex nested<br />

staff groups. The command \set StaffGroup.systemStartDelimiterHierarchy takes an alphabetical<br />

list of the number of staves produced. Before each staff a system start delimiter can<br />

be given. It has to be enclosed <strong>in</strong> brackets and takes as much staves as the brackets enclose.<br />

Elements <strong>in</strong> the list can be omitted, but the first bracket takes always the complete number of<br />

staves. The possibilities are SystemStartBar, SystemStartBracket, SystemStartBrace, and<br />

SystemStartSquare.<br />

\new StaffGroup<br />

\relative c''

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

Saved successfully!

Ooh no, something went wrong!