-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsample_song_1.tex
138 lines (106 loc) · 2.17 KB
/
sample_song_1.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
% this is mostly a test file, to check features
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[left=2.00cm,vmargin=1cm]{geometry}
\usepackage{chordbars}
\title{Song Sample with a really realllly long name, just to test}
\author{Author name}
\begin{document}
%\bpm{120}
%\bpbthree
\countbarsYes
\songtitle
%\def\barsize{1.5}%
This is an example done with the chordbars package.
It is just a pseudo-demo of what the package can achieve, don't take it too seriously.
\begin{chordbar}{4}{Intro}
\chordf{C\flat}
%\chordf{C\flat}
\chordh{A#}{D\sharp}
%\repeatBarPair
\end{chordbar}
Whole line of same chord:
\chordline{C#m7}{8}{Intro}
You can print some notes between the different parts
\def\barsize{1.8}%
\def\chordFontSize{\huge\bfseries}
\begin{chordbar}[3]{6}{Intro b}
\chordf{C#}
\repeatBar
\chordh{A}{D}
\chordf{F}
\chordf{F}
\chordf{D\MajS}
\end{chordbar}
%\begin{chordbar}{4}{1}{Intro c}
%\chordfn{1}{C}
%%\chordfn{2}{D}
%\chordfn{2}{Em}
%\repeatchord
%\repeatchord
%\end{chordbar}
\def\barsize{1.4}%
% this part has 8 bars (4 bars, 2 lines)
\begin{chordbar}[2]{4}{TEST}
\chordf{C}
\chordf{D}
\chordh{E}{F}
\repeatBar
\end{chordbar}
\def\barsize{2}
\def\chordFontSize{\Large\bfseries}
\begin{chordbar}{5}{Test of repeatbarpair}
\chordh{G}{C7}
\chordf{F\MajS}
\repeatBarPair
\chordf{F\MajS}
\addHalfBar{Dm}
\end{chordbar}
\begin{chordbar}{4}{Test of addHalfBar}
\chordh{G}{C7}
\chordf{FMajS}
\repeatBar
\chordf{Dm}
\addHalfBar{Gm}
\end{chordbar}
\begin{chordbar}[3]{6}{6 bars on 2 lines, repeated 3 times}
\chordf{C}
\chordf{D}
\chordh{E}{F}
\repeatBar
\chordf{D}
\repeatBar
\end{chordbar}
\begin{chordbar}[4]{11}{11 bars repeated 4 times, with an added half-bar}
\chordf{C}
\chordh{D}{G}
\chordf{E}
%\chordf{F}
\newchordline
\chordf{G\#}
\repeatBar
\repeatBar
\repeatBar
\chordf{C\susF}
\repeatBar
\repeatBar
\addHalfBar{Bb}
\end{chordbar}
\def\NumberOfBarsPerLine{5}
\begin{chordbar}[2]{10}{2 lines of 5 bars, repeated twice}
\chordf{C}
\chordf{D}
\chordf{E}
\chordf{F}
\newchordline
\chordf{G#}
\chordh{A}{G#}
\repeatBar
\end{chordbar}
\def\NumberOfBarsPerLine{8}
\begin{chordbar}[2]{6}{coda}
\chordf{E}
\chordh{A}{F}
\end{chordbar}
\printNbBars
\end{document}