09.09.2013 Views

LilyPond Beginnershandleiding

LilyPond Beginnershandleiding

LilyPond Beginnershandleiding

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Hoofdstuk 3: Fundamentele concepten 68<br />

Changing a single context<br />

To remove an engraver from a single context we use the \with command placed immediately<br />

after the context creation command, as in the previous section.<br />

As an illustration, let’s repeat an example from the previous section with the staff lines<br />

removed. Remember that the staff lines are produced by the Staff_symbol_engraver.<br />

\new Staff \with {<br />

\remove "Staff_symbol_engraver"<br />

}<br />

\relative c' {<br />

c4 d<br />

\set fontSize = #-4 % make note heads smaller<br />

e4 f |<br />

\set fontSize = #2.5 % make note heads larger<br />

g4 a<br />

\unset fontSize % return to default size<br />

b4 c |<br />

}<br />

<br />

<br />

<br />

<br />

Engravers can also be added to individual contexts. The command to do this is<br />

\consists Engraver_name,<br />

placed inside a \with block. Some vocal scores have an ambitus placed at the beginning of a<br />

staff to indicate the range of notes in that staff – see Sectie “ambitus” in Terminologie. The<br />

ambitus is produced by the Ambitus_engraver, which is not normally included in any context.<br />

If we add it to the Voice context, it calculates the range from that voice only:<br />

\new Staff

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

Saved successfully!

Ooh no, something went wrong!