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

}<br />

>><br />

\layout {<br />

\context {<br />

\Staff<br />

\consists "Ambitus_engraver"<br />

}<br />

}<br />

<br />

<br />

<br />

<br />

8<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

The values of context properties may also be set for all contexts of a particular type by including<br />

the \set command in a \context block in the same way.<br />

Zie ook<br />

Notation Reference: Sectie “Modifying context plug-ins” in Notatie-handleiding, Sectie<br />

“Changing context default settings” in Notatie-handleiding.<br />

Bekende problemen en waarschuwingen<br />

The Stem_engraver and Beam_engraver attach their objects to note heads. If the<br />

Note_heads_engraver is removed no note heads are produced and therefore no stems or beams<br />

are created either.<br />

3.4 Extending the templates<br />

You’ve read the tutorial, you know how to write music, you understand the fundamental concepts.<br />

But how can you get the staves that you want? Well, you can find lots of templates<br />

(see Appendix A [Templates], pagina 144) which may give you a start. But what if you want<br />

something that isn’t covered there? Read on.<br />

3.4.1 Soprano and cello<br />

Start off with the template that seems closest to what you want to end up with. Let’s say that<br />

you want to write something for soprano and cello. In this case, we would start with the ‘Notes<br />

and lyrics’ template (for the soprano part).<br />

\version "2.17.21"<br />

melody = \relative c' {<br />

\clef "treble"<br />

\key c \major<br />

\time 4/4

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

Saved successfully!

Ooh no, something went wrong!