]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/new/chords-headword.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / new / chords-headword.ly
1 \version "2.16.0"
2
3 \header {
4   lsrtags = "headword"
5   texidoc = ""
6   doctitle = "headword"
7 }
8
9
10 theChords = \chordmode {
11   \time 2/2
12   f1 | c2 f2 | f1 | c2 f2| %\break
13   f2 bes2 | f1 | c2:7 f | c1 | \break
14 }
15
16 verseOne = \lyricmode {
17   \set stanza = #"1."
18   Fair is the sun - shine,
19   Fair - er the moon - light
20   And all the stars __ _  in heav'n a -- bove;
21 }
22
23 verseTwo = \lyricmode {
24   \set stanza = #"2."
25   Fair are the mead - ows,
26   Fair - er the wood - land,
27   Robed in the flow -- ers of bloom -- ing spring;
28 }
29
30 Soprano = {
31   \time 2/2
32   \key f \major
33   \stemUp
34   f'2 f'4 f' | g'4 e' f'2 | a'4. a'8 a'4 a' | bes'4 g' a'2 |
35   c''2 f''4 d'' |  c''2  bes'4  a' | bes'2 a' | g'1 |
36 }
37
38 Alto = {
39   \key f \major
40   c'2 c'4 c' | d'4 c' c'2 | f'4. f'8 f'4 fis' | g'4 e' f'2 |
41   f'2 f'4 f' |  f'2  g'4  f' | e'2 f' | e'1 |
42 }
43
44 Tenor = {
45   \key f \major
46   \stemDown
47   a2 a4 a | bes4 g a2  | c'4. c'8 d'4 d' | d'4 c' c'2 |
48   a2 d'4 bes | a2 c'4 c' | c'2 c'  | c'1 |
49 }
50
51 Bass = {
52   \key f \major
53   f2 f4 f | bes,4 c  f2 | f4. e8 d4 c | bes,4 c f2 |
54   f2 bes,4 d | f2 e4 f | g2 f | c1 |
55 }
56
57
58 \score {
59   <<
60     \new ChordNames { \theChords }
61     \context Staff = upper {
62       \context Voice = sop {
63         <<
64           \Soprano
65           \Alto
66         >>
67       }
68     }
69     \context Lyrics = "LyrOne" \lyricsto "sop" { \verseOne }
70     \context Lyrics = "LyrTwo" \lyricsto "sop" { \verseTwo }
71     \context Staff = lower {
72       \new Voice {
73         \clef bass
74         \accidentalStyle "modern-cautionary"
75         <<
76           \Tenor
77           \Bass
78         >>
79       }
80     }
81   >>
82
83   \layout {
84     indent = 0
85     \context {
86       \Score
87       \remove "Bar_number_engraver"
88     }
89     \context {
90       \Voice
91       \override StanzaNumber #'padding = #1.8
92     }
93   }
94 }
95 \paper {  }