%% %% This is file `booklet.cls', %% generated with the docstrip utility. %% %% The original source files were: %% %% booklet.dtx (with options: `class') %% %% Package to .... %% %% Nick Urbanik. %% %% This file was generated automatically. %% Do not edit this file; edit the original source, booklet.dtx instead. %% \NeedsTeXFormat{LaTeX2e} \ProvidesClass{booklet}% [1996/01/28 A class to make simple booklets] \DeclareOption{oddleft}% {% \AtEndOfClass% {% \setpapersize{A5}% \setmarginsrb{20mm}% left For a book, the inner. For oddleft, outer. {9mm}% top {13mm}% right For a book, the outer. For oddleft, inner. {10mm}% bottom {12pt}% headheight---increase to stop fancyhead warn {4mm}% headsep {0pt}% footheight {8mm}% footskip \renewcommand{\headwidth}{\textwidth}% \pagestyle{fancyplain} \renewcommand*{\sectionmark}[1]% {\markboth{\thesection\ \ #1}{\thesection\ \ #1}} \renewcommand*{\subsectionmark}[1]{\markright{\thesubsection\ \ #1}} \lhead[% \fancyplain{}% {% \bfseries\rightmark% }% ]% {% \fancyplain{}% {% \rmfamily\bfseries \thepage% }% } \rhead[% \fancyplain{}% {% \rmfamily\bfseries \thepage% }% ]% {% \fancyplain{}% {% \bfseries\leftmark% }% }% \lfoot[% \fancyplain{}% {% }% ]% {% \fancyplain{\tiny\revision}% {% \tiny\revision% }% } \rfoot[% \fancyplain{}% {% \tiny\revision% }% ]% {% \fancyplain{}% {% }% } }% \typeout{^^JUsing the leftopen option^^J} } \DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}} \ProcessOptions \LoadClass[a5paper,twoside]{book} \RequirePackage{% vmargin,% fancyheadings,% %array,% nick,% varioref,% %ifthen,% %verbatim,% rcs,% %slidesec,% %fancybox,% %version,% %alltt% } \setpapersize{A5}% \setmarginsrb{13mm}% left For a book, the inner. For oddleft, outer. {9mm}% top {24mm}% right For a book, the outer. For oddleft, inner. {10mm}% bottom {12pt}% headheight---increase to stop fancyhead warn {4mm}% headsep {0pt}% footheight {8mm}% footskip \renewcommand{\headwidth}{\textwidth}% \newcommand{\revision}{ver \RCSRevision{}% ,\hspace{0.8ex} \RCSDate% } \pagestyle{fancyplain} \renewcommand*{\sectionmark}[1]% {\markboth{\thesection\ \ #1}{\thesection\ \ #1}} \renewcommand*{\subsectionmark}[1]{\markright{\thesubsection\ \ #1}} \lhead[% \fancyplain{}% {% \rmfamily\bfseries \thepage% }% ]% {% \fancyplain{}% {% \bfseries\rightmark% }% } \rhead[% \fancyplain{}% {% \bfseries\leftmark% }% ]% {% \fancyplain{}% {% \rmfamily\bfseries \thepage% }% }% \lfoot[% \fancyplain{}% {% \tiny\revision% }% ]% {% \fancyplain{\tiny\revision}% {% }% } \rfoot[% \fancyplain{}% {% }% ]% {% \fancyplain{}% {% \tiny\revision% }% } \cfoot{} \typeout{^^JMaking a BOOKLET^^J} \endinput %% %% End of file `booklet.cls'.