%%%%%% rcsid = @(#)$Id: sampleTdx.tex,v 1.7 1999/11/14 21:15:35 crath Exp $
%%%%%%
%%
%%      ===============================================
%%      Sample Title & First Line Index (sampleTdx.tex)
%%      ===============================================
%%
%%      Version 3.1, 13 November, 1999
%%
%%      Copyright 1992--99 Christopher Rath <crath@cyberus.ca>
%%
%%      You may distribute under the terms of the Artistic License,
%%      as specified in the relnotes.txt file.
%%
%%      This file is provided as a template for Title and First Line
%%      Index generation.
%%
%%%%%%
%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                      %%
%%           P R E A M B L E   B E G I N S              %%
%%                                                      %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[12pt,twocolumn]{book}
\usepackage{latexsym,fancyheadings}
\usepackage{wordbk}


%%%
% 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}{\today}

%%%
% 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}
\setlength{\footrulewidth}{0.4pt}
\lhead{\LHeadFont A Church Songbook}
       \chead{\CHeadFont Title~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}

%%%
% Begin the Index.
%%%
{\parindent 8pt
  {\myTitleFont --- Title Index ---}}\par
\vskip 5pt
{\parindent 20pt
  {\mySubTitleFont --- with first lines in italic ---}}
\vskip 20pt

\input{sample-sb.tdx}

\end{document}
\bye
%
%%%
% Document ends.
%%%
