summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/songbook/sampleAdx.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/songbook/sampleAdx.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/songbook/sampleAdx.tex')
-rw-r--r--macros/latex/contrib/songbook/sampleAdx.tex126
1 files changed, 126 insertions, 0 deletions
diff --git a/macros/latex/contrib/songbook/sampleAdx.tex b/macros/latex/contrib/songbook/sampleAdx.tex
new file mode 100644
index 0000000000..ce9831d3ad
--- /dev/null
+++ b/macros/latex/contrib/songbook/sampleAdx.tex
@@ -0,0 +1,126 @@
+%%%%%% rcsid = @(#)$Id:$
+%%%%%%
+%%
+%% ================================
+%% Sample Key Index (sampleAdx.tex)
+%% ================================
+%%
+%% Version 4.5, 30 April, 2010
+%%
+%% Copyright 1992--2010 Christopher Rath <christopher@rath.ca>
+%%
+%% This package is free software; you can redistribute it and/or
+%% modify it under the terms of version 2.1 of the GNU Lesser
+%% General Public License as published by the Free Software
+%% Foundation.
+%%
+%% This package 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 Lesser General Public License for more
+%% details.
+%%
+%% This file is provided as a template for Song Artist
+%% Index generation.
+%%
+%%%%%%
+%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% %%
+%% P R E A M B L E B E G I N S %%
+%% %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\documentclass[12pt,twocolumn]{book}
+\usepackage{latexsym,fancyhdr}
+\usepackage[wordbk]{songbook}
+
+%%%
+% Revision Date and Release Date definitions.
+%
+% \RelDate - The last time this songbook was released.
+% \RevDate - The last time this file was revised in any way.
+%%%
+\newcommand{\RelDate}{30~May'96}
+\newcommand{\RevDate}{\RelDate}
+
+%%%
+% Redefine fonts from SongBook style that I don't like, and define
+% any extra fonts I require.
+%%%
+\font\myTinySF=cmss8 at 8pt
+\font\myHugeSF=cmssbx10 at 25pt
+\renewcommand{\CpyRtInfoFont}{\tiny\myTinySF}
+\newcommand{\myTitleFont}{\Huge\myHugeSF}
+\newcommand{\mySubTitleFont}{\large\sf}
+
+%%%
+% Define fonts to use in the headers and footers of the songbook.
+%%%
+\newcommand{\LHeadFont}{\normalsize} % = cmr12 at 12pt
+\newcommand{\CHeadFont}{\normalsize\rm} % = cmr12 at 12pt
+\newcommand{\RHeadFont}{\normalsize} % = cmr12 at 12pt
+\newcommand{\LFootFont}{\scriptsize} % = cmr8 at 8pt
+\newcommand{\CFootFont}{\tiny\myTinySF} % = cmss8 at 8pt
+\newcommand{\RFootFont}{\scriptsize} % = cmr8 at 8pt
+
+%%%
+% Turn on and define fancy page heading/footing definition.
+%%%
+\pagestyle{fancy}
+
+\addtolength{\headwidth}{\marginparsep}
+\addtolength{\headwidth}{\marginparwidth}
+\renewcommand{\footrulewidth}{0.4pt}
+\lhead{\LHeadFont A Church Songbook}
+ \chead{\CHeadFont Artist~Index({\rm\thepage})}
+ \rhead{\RHeadFont\RelDate}
+
+\lfoot{\LFootFont Property of a Church}
+ \cfoot{\CFootFont Last Revised: \RevDate}
+ \rfoot{\RFootFont Material used by permission.}
+
+
+%%%
+% Index entries command definition.
+%%%
+\renewcommand{\item}{\par\hangindent=40pt}
+\renewcommand{\subitem}{\par\hangindent=40pt \hspace*{20pt}}
+\renewcommand{\subsubitem}{\par\hangindent=40pt \hspace*{30pt}}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% %%
+%% D O C U M E N T B E G I N S %%
+%% %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{document}
+
+%%%
+% Index begins.
+%%%
+{\parindent 8pt
+ {\myTitleFont --- Artist Index ---}}\par
+\vskip 20pt
+
+\input{sample-sb.adx}
+
+\end{document}
+\bye
+%
+%%%
+% Document ends.
+%%%
+
+% Local Variables:
+% LaTeX-item-indent: -1
+% LaTeX-indent-level: 2
+% TeX-brace-indent-level: 2
+% TeX-auto-untabify: nil
+% TeX-style-local: style/
+% End: