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.

Appendix A: Templates 144<br />

Appendix A Templates<br />

This section of the manual contains templates with the <strong>LilyPond</strong> score already set up for you.<br />

Just add notes, run <strong>LilyPond</strong>, and enjoy beautiful printed scores!<br />

A.1 Single staff templates<br />

A.1.1 Notes only<br />

This very simple template gives you a staff with notes, suitable for a solo instrument or a melodic<br />

fragment. Cut and paste this into a file, add notes, and you’re finished!<br />

\version "2.17.21"<br />

melody = \relative c' {<br />

\clef treble<br />

\key c \major<br />

\time 4/4<br />

}<br />

a4 b c d<br />

\score {<br />

\new Staff \melody<br />

\layout { }<br />

\midi { }<br />

}<br />

<br />

<br />

<br />

<br />

A.1.2 Notes and lyrics<br />

This small template demonstrates a simple melody with lyrics. Cut and paste, add notes, then<br />

words for the lyrics. This example turns off automatic beaming, which is common for vocal<br />

parts. To use automatic beaming, change or comment out the relevant line.<br />

\version "2.17.21"<br />

melody = \relative c' {<br />

\clef treble<br />

\key c \major<br />

\time 4/4<br />

}<br />

a4 b c d<br />

text = \lyricmode {<br />

Aaa Bee Cee Dee<br />

}<br />

\score{<br />

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

Saved successfully!

Ooh no, something went wrong!