]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/chords-headword.ly
5e5529f93029ec1df67d814348a94032fa2df9a6
[lilypond.git] / Documentation / snippets / chords-headword.ly
1 % Do not edit this file; it is automatically
2 % generated from Documentation/snippets/new
3 % This file is in the public domain.
4 %% Note: this file works from version 2.13.36
5 \version "2.13.40"
6 #(set-global-staff-size 15)
7 \paper {
8   ragged-right = ##f
9   line-width = 15\cm
10   indent = 0\cm
11 }
12
13 \header {
14   lsrtags = "headwords"
15   texidoc = ""
16   doctitle = "headword"
17 } % begin verbatim
18
19
20
21 \layout {
22   \context {
23     \Score
24     \override PaperColumn #'keep-inside-line = ##t
25     \override NonMusicalPaperColumn #'keep-inside-line = ##t
26   }
27 }
28
29 theChords = \chordmode {
30   \time 2/2
31   f1 | c2 f2 | f1 | c2 f2| %\break
32   f2 bes2 | f1 | c2:7 f | c1 | \break
33 }
34
35 verseOne = \lyricmode {
36   \set stanza = #"1."
37   Fair is the sun - shine,
38   Fair - er the moon - light
39   And all the stars __ _  in heav'n a -- bove;
40 }
41
42 verseTwo = \lyricmode {
43   \set stanza = #"2."
44   Fair are the mead - ows,
45   Fair - er the wood - land,
46   Robed in the flow -- ers of bloom -- ing spring;
47 }
48
49 Soprano = {
50   \time 2/2
51   \key f \major
52   \stemUp
53   f'2 f'4 f' | g'4 e' f'2 | a'4. a'8 a'4 a' | bes'4 g' a'2 |
54   c''2 f''4 d'' |  c''2  bes'4  a' | bes'2 a' | g'1 |
55 }
56
57 Alto = {
58   \key f \major
59   c'2 c'4 c' | d'4 c' c'2 | f'4. f'8 f'4 fis' | g'4 e' f'2 |
60   f'2 f'4 f' |  f'2  g'4  f' | e'2 f' | e'1 |
61 }
62
63 Tenor = {
64   \key f \major
65   \stemDown
66   a2 a4 a | bes4 g a2  | c'4. c'8 d'4 d' | d'4 c' c'2 |
67   a2 d'4 bes | a2 c'4 c' | c'2 c'  | c'1 |
68 }
69
70 Bass = {
71   \key f \major
72   f2 f4 f | bes,4 c  f2 | f4. e8 d4 c | bes,4 c f2 |
73   f2 bes,4 d | f2 e4 f | g2 f | c1 |
74 }
75
76
77 \score {
78   <<
79     \new ChordNames { \theChords }
80     \context Staff = upper {
81       \context Voice = sop {
82         <<
83           \Soprano
84           \Alto
85         >>
86       }
87     }
88     \context Lyrics = "LyrOne" \lyricsto "sop" { \verseOne }
89     \context Lyrics = "LyrTwo" \lyricsto "sop" { \verseTwo }
90     \context Staff = lower {
91       \new Voice {
92         \clef bass
93         #(set-accidental-style 'modern-cautionary)
94         <<
95           \Tenor
96           \Bass
97         >>
98       }
99     }
100   >>
101
102   \layout {
103     indent = 0
104     \context {
105       \Score
106       \remove "Bar_number_engraver"
107     }
108     \context {
109       \Voice
110       \override StanzaNumber #'padding = #1.8
111     }
112   }
113 }
114 \paper {  }