Debian Codegraph @

texmf-dist/doc/latex/songs/sample/chordbook.tex

raw
1 % Copyright (C) 2018 Kevin W. Hamlen
2 %
3 % This program is free software; you can redistribute it and/or
4 % modify it under the terms of the GNU General Public License
5 % as published by the Free Software Foundation; either version 2
6 % of the License, or (at your option) any later version.
7 %
8 % This program is distributed in the hope that it will be useful,
9 % but WITHOUT ANY WARRANTY; without even the implied warranty of
10 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 % GNU General Public License for more details.
12 %
13 % You should have received a copy of the GNU General Public License
14 % along with this program; if not, write to the Free Software
15 % Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
16 % MA 02110-1301, USA.
17 %
18 % The latest version of this program can be obtained from
19 % http://songs.sourceforge.net.
20
21 \documentclass[letterpaper]{article}
22 \usepackage[bookmarks]{hyperref}
23 \usepackage[chorded]{songs}
24 % \includeonlysongs{2}
25
26 \setlength{\oddsidemargin}{0in}
27 \setlength{\evensidemargin}{0in}
28 \setlength{\textwidth}{6.5in}
29 \setlength{\topmargin}{0in}
30 \setlength{\topskip}{0in}
31 \setlength{\headheight}{0in}
32 \setlength{\headsep}{0in}
33 \setlength{\textheight}{9.1in}
34 \settowidth{\versenumwidth}{1.\ }
35 \pagestyle{empty}
36
37 \newindex{titleidx}{cbtitle}
38 \newauthorindex{authidx}{cbauth}
39 \newscripindex{scripidx}{cbscrip}
40
41 \begin{document}
42
43 \showindex{Complete Index of Songs}{titleidx}
44
45 \songsection{Worship Songs}
46 \begin{songs}{titleidx,authidx,scripidx}
47 \input{songs.sbd}
48 \end{songs}
49
50 \showindex{Index of Authors and Composers}{authidx}
51 \showindex{Index of Scripture}{scripidx}
52
53 \end{document}
54