Debian Codegraph @

texmf-dist/doc/latex/songs/sample/transparencies.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,oneside]{article}
22 \usepackage[bookmarks]{hyperref}
23 \usepackage[slides]{songs}
24 % \includeonlysongs{2}
25
26 \setlength{\oddsidemargin}{-0.5in}
27 \setlength{\evensidemargin}{-0.5in}
28 \setlength{\textwidth}{7.5in}
29 \setlength{\topmargin}{-0.75in}
30 \setlength{\topskip}{0in}
31 \setlength{\headheight}{13.6pt}
32 \setlength{\headsep}{0.5in}
33 \setlength{\textheight}{9in}
34
35 % Repeat the chorus on subsequent pages of a song so that the projector-
36 % operator won't have to flip back to the first page for each chorus.
37 % This feature is only supported for eTeX-compatible versions of LaTeX.
38 \ifx\eTeXversion\undefined\else
39 \ifx\eTeXversion\relax\else
40 \repchoruses
41 \fi
42 \fi
43
44 % Define some headers for each slide to help the projector-operator
45 % find the correct slide. We use the fancyhdr package for this.
46 \IfFileExists{fancyhdr.sty}{
47 \usepackage{fancyhdr}
48 \usepackage{extramarks}
49 \pagestyle{fancy}
50 \fancyhf{}
51 \rhead{\sffamily\firstrightmark}
52 \renewcommand{\headrulewidth}{0pt}
53
54 \renewcommand{\songmark}{\markboth{}{\thesongnum}}
55 \renewcommand{\versemark}{\markboth{}{\thesongnum. \songtitle}}
56 \renewcommand{\chorusmark}{\markboth{}{\thesongnum. \songtitle}}
57 }{}
58
59 \begin{document}
60
61 \begin{songs}{}
62 \input{songs.sbd}
63 \end{songs}
64
65 \end{document}
66