]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/single-staff-template-with-notes-and-lyrics.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / single-staff-template-with-notes-and-lyrics.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.16.0"
8
9 \header {
10   lsrtags = "really-simple, template, vocal-music"
11
12   texidoc = "
13 This small template demonstrates a simple melody with lyrics. Cut and
14 paste, add notes, then words for the lyrics. This example turns off
15 automatic beaming, which is common for vocal parts. To use automatic
16 beaming, change or comment out the relevant line.
17
18 "
19   doctitle = "Single staff template with notes and lyrics"
20 } % begin verbatim
21
22
23 melody = \relative c' {
24   \clef treble
25   \key c \major
26   \time 4/4
27
28   a4 b c d
29 }
30
31 text = \lyricmode {
32   Aaa Bee Cee Dee
33 }
34
35 \score{
36   <<
37     \new Voice = "one" {
38       \autoBeamOff
39       \melody
40     }
41     \new Lyrics \lyricsto "one" \text
42   >>
43   \layout { }
44   \midi { }
45 }