blob: f16d6397c5887d468cda24f75cdd89b03df5e65a (
plain)
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
|
% Copyright (C) 2017 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,oneside]{article}
\usepackage[bookmarks]{hyperref}
\usepackage[slides]{songs}
% \includeonlysongs{2}
\setlength{\oddsidemargin}{-0.5in}
\setlength{\evensidemargin}{-0.5in}
\setlength{\textwidth}{7.5in}
\setlength{\topmargin}{-0.75in}
\setlength{\topskip}{0in}
\setlength{\headheight}{13.6pt}
\setlength{\headsep}{0.5in}
\setlength{\textheight}{9in}
% Repeat the chorus on subsequent pages of a song so that the projector-
% operator won't have to flip back to the first page for each chorus.
% This feature is only supported for eTeX-compatible versions of LaTeX.
\ifx\eTeXversion\undefined\else
\ifx\eTeXversion\relax\else
\repchoruses
\fi
\fi
% Define some headers for each slide to help the projector-operator
% find the correct slide. We use the fancyhdr package for this.
\IfFileExists{fancyhdr.sty}{
\usepackage{fancyhdr}
\usepackage{extramarks}
\pagestyle{fancy}
\fancyhf{}
\rhead{\sffamily\firstrightmark}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\songmark}{\markboth{}{\thesongnum}}
\renewcommand{\versemark}{\markboth{}{\thesongnum. \songtitle}}
\renewcommand{\chorusmark}{\markboth{}{\thesongnum. \songtitle}}
}{}
\begin{document}
\begin{songs}{}
\input{songs.sbd}
\end{songs}
\end{document}
|