summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/songs/sample/chordbook.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/songs/sample/chordbook.tex')
-rw-r--r--macros/latex/contrib/songs/sample/chordbook.tex54
1 files changed, 54 insertions, 0 deletions
diff --git a/macros/latex/contrib/songs/sample/chordbook.tex b/macros/latex/contrib/songs/sample/chordbook.tex
new file mode 100644
index 0000000000..9f6c47a246
--- /dev/null
+++ b/macros/latex/contrib/songs/sample/chordbook.tex
@@ -0,0 +1,54 @@
+% Copyright (C) 2018 Kevin W. Hamlen
+%
+% This program is free software; you can redistribute it and/or
+% modify it under the terms of the GNU General Public License
+% as published by the Free Software Foundation; either version 2
+% of the License, or (at your option) any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program; if not, write to the Free Software
+% Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+% MA 02110-1301, USA.
+%
+% The latest version of this program can be obtained from
+% http://songs.sourceforge.net.
+
+\documentclass[letterpaper]{article}
+\usepackage[bookmarks]{hyperref}
+\usepackage[chorded]{songs}
+% \includeonlysongs{2}
+
+\setlength{\oddsidemargin}{0in}
+\setlength{\evensidemargin}{0in}
+\setlength{\textwidth}{6.5in}
+\setlength{\topmargin}{0in}
+\setlength{\topskip}{0in}
+\setlength{\headheight}{0in}
+\setlength{\headsep}{0in}
+\setlength{\textheight}{9.1in}
+\settowidth{\versenumwidth}{1.\ }
+\pagestyle{empty}
+
+\newindex{titleidx}{cbtitle}
+\newauthorindex{authidx}{cbauth}
+\newscripindex{scripidx}{cbscrip}
+
+\begin{document}
+
+\showindex{Complete Index of Songs}{titleidx}
+
+\songsection{Worship Songs}
+\begin{songs}{titleidx,authidx,scripidx}
+\input{songs.sbd}
+\end{songs}
+
+\showindex{Index of Authors and Composers}{authidx}
+\showindex{Index of Scripture}{scripidx}
+
+\end{document}
+