]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/piano-template-with-centered-lyrics.ly
Imported Upstream version 2.19.45
[lilypond.git] / Documentation / snippets / piano-template-with-centered-lyrics.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.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.18.0"
8
9 \header {
10   lsrtags = "keyboards, really-simple, template, text"
11
12   texidoc = "
13 Instead of having a full staff for the melody and lyrics, lyrics can be
14 centered between the staves of a piano staff.
15
16 "
17   doctitle = "Piano template with centered lyrics"
18 } % begin verbatim
19
20 upper = \relative c'' {
21   \clef treble
22   \key c \major
23   \time 4/4
24
25   a4 b c d
26 }
27
28 lower = \relative c {
29   \clef bass
30   \key c \major
31   \time 4/4
32
33   a2 c
34 }
35
36 text = \lyricmode {
37   Aaa Bee Cee Dee
38 }
39
40 \score {
41   \new PianoStaff <<
42     \new Staff = upper { \new Voice = "singer" \upper }
43     \new Lyrics \lyricsto "singer" \text
44     \new Staff = lower { \lower }
45   >>
46   \layout { }
47   \midi { }
48 }