09.09.2013 Views

LilyPond Beginnershandleiding

LilyPond Beginnershandleiding

LilyPond Beginnershandleiding

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Hoofdstuk 3: Fundamentele concepten 81<br />

\clef "bass"<br />

\new Voice {<br />

\PedalOrganMusic<br />

}<br />

>> % end PedalOrgan Staff<br />

>><br />

} % end Score context<br />

The above layout of the organ staves is almost perfect; however, there is a slight defect which<br />

is not visible by looking at just a single system: The distance of the pedal staff to the left hand<br />

staff should behave approximately the same as the right hand staff to the left hand staff. In<br />

particular, the stretchability of staves in a PianoStaff context is limited (so that the distance<br />

between the staves for the left and right hand can’t become too large), and the pedal staff should<br />

behave similarly.<br />

Stretchability of staves can be controlled with the staff-staff-spacing property of the<br />

VerticalAxisGroup ‘graphical object’ (commonly called ‘grob’s within the lilypond documentation)<br />

– don’t worry about the details right now; this is fully explained later. For the curious,<br />

have a look at Sectie “Overview of modifying properties” in Notatie-handleiding. In this case,<br />

we want to modify the stretchability sub-property only. Again, for the curious, you can find<br />

the default values for the staff-staff-spacing property in file ‘scm/define-grobs.scm’ by looking<br />

up the definition of the VerticalAxisGroup grob. The value for stretchability is taken from<br />

the definition of the PianoStaff context (in file ‘ly/engraver-init.ly’) so that the values are<br />

identical.<br />

\score {<br />

% end ManualTwo Staff context<br />

>> % end PianoStaff context<br />

\new Staff = "PedalOrgan"

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

Saved successfully!

Ooh no, something went wrong!