]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/chords-headword.ly
Merge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond
[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.12.0
5 \version "2.13.10"
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 { \Score
23     \override PaperColumn #'keep-inside-line = ##t
24     \override NonMusicalPaperColumn #'keep-inside-line = ##t
25   }
26 }
27
28 theChords = \chordmode {
29   \time 2/2
30   f1 | c2 f2 | f1 | c2 f2| %\break
31   f2 bes2 | f1 | c2:7 f | c1 | \break
32 }
33
34 verseOne = \lyricmode{
35   \set stanza = "1. "
36   Fair is the sun - shine,
37   Fair - er the moon - light
38   And all the stars __ _  in heav'n a -- bove;
39 }
40
41 verseTwo = \lyricmode{
42   \set stanza = "2. "
43   Fair are the mead - ows,
44   Fair - er the wood - land,
45   Robed in the flow -- ers of bloom -- ing spring;
46 }
47
48 Soprano = {
49   \time 2/2
50   \key f \major
51   \stemUp
52   f'2 f'4 f' | g'4 e' f'2 | a'4. a'8 a'4 a' | bes'4 g' a'2 |
53 c''2 f''4 d'' |  c''2  bes'4  a' | bes'2 a' | g'1 |
54 }
55
56 Alto = {
57   \key f \major
58   c'2 c'4 c' | d'4 c' c'2 | f'4. f'8 f'4 fis' | g'4 e' f'2 |
59   f'2 f'4 f' |  f'2  g'4  f' | e'2 f' | e'1 |
60 }
61
62 Tenor = {
63   \key f \major
64   \stemDown
65   a2 a4 a | bes4 g a2  | c'4. c'8 d'4 d' | d'4 c' c'2 |
66   a2 d'4 bes | a2 c'4 c' | c'2 c'  | c'1 |
67 }
68
69 Bass = {
70   \key f \major
71   f2 f4 f | bes,4 c  f2 | f4. e8 d4 c | bes,4 c f2 |
72   f2 bes,4 d | f2 e4 f | g2 f | c1 |
73 }
74
75
76 \score {
77   <<
78     \new ChordNames { \theChords }
79     \context Staff = upper {
80       \context Voice = sop {
81         <<
82           \Soprano
83           \Alto
84         >>
85       }
86     }
87     \context Lyrics="LyrOne" \lyricsto "sop" {\verseOne}
88     \context Lyrics="LyrTwo" \lyricsto "sop" {\verseTwo}
89     \context Staff = lower {
90       \new Voice {
91         \clef bass
92         #(set-accidental-style 'modern-cautionary)
93         <<
94           \Tenor
95           \Bass
96         >>
97       }
98     }
99   >>
100
101 \layout {
102   %between-system-space = 1\mm
103   indent = 0
104   \context {
105     \Score
106     \remove "Bar_number_engraver"
107   }
108   \context { \Staff
109     \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
110   }
111   }
112 }
113 \paper {  }