Debian Codegraph @

texmf-dist/doc/latex/latex4musicians/Figures/sample-songbook.tex

raw
1 \documentclass[11pt]{article}
2 \usepackage{graphicx}
3 \usepackage{gchords}
4 \usepackage{guitar}
5
6 \begin{document}
7
8 \title{A Minimal Songbook}
9 \author{Guido Gonzato}
10 \date{\today}
11
12 \maketitle
13 \tableofcontents
14
15 % -----
16
17 \section{For He's a Jolly Good Fellow}
18
19 % Typically sung to congratulate somebody.
20
21 \smallchords
22
23 \def\numfrets{4}
24 \begin{minipage}[c]{\linewidth} % use less space
25 \chords{
26 \chord{t}{n,p3,p2,n,p1,n}{C}
27 \chord{t}{p3,p2,n,n,n,p3}{G}
28 \chord{t}{n,p3,p2,p3,p1,n}{C7}
29 \chord{t1}{n,p2,p2,p1,n,n}{F}
30 }
31 \end{minipage}
32
33 \medskip
34
35 \includegraphics[width=\textwidth]{fellow}
36
37 \bigskip
38
39 \begin{guitar}
40
41 For [C]he's a jolly good fellow,
42 For [G]he's a jolly good [C]fellow,
43 For [C7]he's a jolly good [F]fellow,
44 Which [C]nobody [G]can [C]deny.
45
46 \end{guitar}
47
48 % -----
49
50 \section{Happy Birthday To You}
51
52 % Sung to remind somebody they're growing old.
53
54 \def\numfrets{4}
55 \begin{minipage}[c]{\linewidth}
56 \chords{
57 \chord{t1}{n,p2,p2,p1,n,n}{F}
58 \chord{t}{n,p3,p2,n,p1,n}{C}
59 \chord{t}{n,p3,p2,p3,p1,n}{C7}
60 \chord{t1}{n,n,p2,p2,p2,n}{Bb}
61 }
62 \end{minipage}
63
64 \medskip
65
66 \includegraphics[width=\textwidth]{happyb}
67
68 \bigskip
69
70 \begin{guitar}
71 Happy [F]birthday to [C]you,
72 Happy [C7]birthday to [F]you,
73 Happy birthday dear [Bb]Guido,
74 Happy [F]birthday [C]to [F]you!
75 \end{guitar}
76
77 % -----
78
79 \section{Warm Kitty}
80
81 % No need to introduce this lullaby!
82
83 \def\numfrets{4}
84 \begin{minipage}[c]{\linewidth}
85 \chords{
86 \chord{t}{n,n,p2,p2,p2,n}{A}
87 \chord{t}{n,p2,p2,p1,n,n}{E}
88 \chord{t}{n,p2,p2,p1,p3,n}{E7}
89 }
90 \end{minipage}
91
92 \medskip
93
94 \includegraphics[width=\textwidth]{warm}
95
96 \bigskip
97
98 \begin{guitar}
99
100 [A]Soft kitty, [E]warm kitty
101 [A]Little ball of [E]fur [E7]~
102 [A]Happy kitty, [E]sleepy kitty
103 [A]Purr, [E]purr, [A]purr
104
105 \end{guitar}
106
107 \end{document}