| 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,landscape]{article} |
| 22 |
\usepackage[pdfpagemode=UseThumbs]{hyperref} |
| 23 |
\usepackage{color} |
| 24 |
\usepackage[slides]{songs} |
| 25 |
% \includeonlysongs{2} |
| 26 |
|
| 27 |
\setlength{\oddsidemargin}{-0.5in} |
| 28 |
\setlength{\evensidemargin}{-0.5in} |
| 29 |
\setlength{\textwidth}{10in} |
| 30 |
\setlength{\topmargin}{-0.75in} |
| 31 |
\setlength{\topskip}{0in} |
| 32 |
\setlength{\headheight}{13.6pt} |
| 33 |
\setlength{\headsep}{0.5in} |
| 34 |
\setlength{\textheight}{6.5in} |
| 35 |
|
| 36 |
% Don't number the verses: |
| 37 |
\noversenumbers |
| 38 |
|
| 39 |
% Put each verse and chorus on a separate slide: |
| 40 |
\sepverses |
| 41 |
|
| 42 |
% Use 28pt Adobe Helvetica font for the lyrics |
| 43 |
\renewcommand{\lyricfont}{% |
| 44 |
\fontfamily{phv}\fontseries{b}\fontsize{28pt}{28pt}\selectfont% |
| 45 |
} |
| 46 |
|
| 47 |
% If background colors are supported on this machine, then slides |
| 48 |
% will have white lettering on a blue background. |
| 49 |
\csname @ifundefined\endcsname{set@page@color}{}{ |
| 50 |
\definecolor{SlideBG}{rgb}{0,0,0.43} |
| 51 |
\pagecolor{SlideBG} |
| 52 |
\color{white} |
| 53 |
\definecolor{SongbookShade}{rgb}{0,0,0.2} |
| 54 |
} |
| 55 |
|
| 56 |
% Define some headers for each slide to help the projector-operator |
| 57 |
% find the correct slide. We use the fancyhdr package for this. |
| 58 |
\IfFileExists{fancyhdr.sty}{ |
| 59 |
\usepackage{fancyhdr} |
| 60 |
\usepackage{extramarks} |
| 61 |
\pagestyle{fancy} |
| 62 |
\fancyhf{} |
| 63 |
\lhead{\sffamily\firstleftmark} |
| 64 |
\rhead{\sffamily\firstrightmark} |
| 65 |
\renewcommand{\headrulewidth}{0pt} |
| 66 |
|
| 67 |
\renewcommand{\songmark}{\markboth{}{\thesongnum}} |
| 68 |
\renewcommand{\versemark}{% |
| 69 |
\ifvnumbered |
| 70 |
\markboth{\thesongnum. \songtitle}{Verse \theversenum}% |
| 71 |
\else |
| 72 |
\markboth{\thesongnum. \songtitle}{}% |
| 73 |
\fi |
| 74 |
} |
| 75 |
\renewcommand{\chorusmark}{\markboth{\thesongnum. \songtitle}{Chorus}} |
| 76 |
}{} |
| 77 |
|
| 78 |
\begin{document} |
| 79 |
|
| 80 |
\begin{songs}{} |
| 81 |
\input{songs.sbd} |
| 82 |
\end{songs} |
| 83 |
|
| 84 |
\end{document} |
| 85 |
|