| 1 |
% slemph.tex -- documentation for the slemph LaTeX package. |
| 2 |
% |
| 3 |
% This program is part of the Frankenstein bundle for LaTeX2e. |
| 4 |
% |
| 5 |
% Copyright (C) 1995-2001 Matt Swift <[email protected]> |
| 6 |
% |
| 7 |
% This program is free software; you may redistribute it and/or |
| 8 |
% modify it under the conditions of the LaTeX Project Public |
| 9 |
% License, either version 1.2 or (at your option) any later |
| 10 |
% version. The latest version of this license is in |
| 11 |
% http://www.latex-project.org/lppl.txt, and version 1.2 or later |
| 12 |
% is part of all distributions of LaTeX version 1999/12/01 or |
| 13 |
% later. |
| 14 |
% |
| 15 |
% This program is distributed in the hope that it will be useful, |
| 16 |
% but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 |
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 |
% LaTeX Project Public License for more details. |
| 19 |
% |
| 20 |
\documentclass{ltxdoc} |
| 21 |
\makeatletter |
| 22 |
\def\part {% |
| 23 |
\clearpage |
| 24 |
\@afterindentfalse |
| 25 |
\secdef\@part\@spart |
| 26 |
} |
| 27 |
\def\StripV #1{\E@cdr #1\@nil} |
| 28 |
\makeatother |
| 29 |
\usepackage{attrib,compsci} |
| 30 |
\newbook\manual {Chicago\nocite{chicago:14} Manual of Style}[Chicago Manual] |
| 31 |
\newbook\MLAman {The\nocite{mlaman} MLA Style Manual and Guide to Scholarly Publishing} |
| 32 |
[The MLA Style Manual] |
| 33 |
\newtheorem{lessoninternal}{Lesson} |
| 34 |
\newenvironment{lesson} {% |
| 35 |
\let\AttribInit\sffamily |
| 36 |
\let\PreTrib\textsection |
| 37 |
\let\PostTrib\ShortEmpty |
| 38 |
\lessoninternal |
| 39 |
} {% |
| 40 |
\endlessoninternal |
| 41 |
} |
| 42 |
\newcommand\manualref [1] {\textsf{\S #1}} |
| 43 |
\ProcessDTXFile{slemph.sty} |
| 44 |
\newlet\MaybeABib\relax |
| 45 |
\IfCitations { |
| 46 |
\def\MaybeABib {% |
| 47 |
\newpage |
| 48 |
\bibliographystyle{achicago}% |
| 49 |
\bibliography{frankenstein}% |
| 50 |
} |
| 51 |
\SaveDoXVarS |
| 52 |
\usepackage{achicago} |
| 53 |
\RestoreDoXVarS |
| 54 |
} |
| 55 |
\CodelineIndex |
| 56 |
\EnableCrossrefs |
| 57 |
\begin{document} |
| 58 |
\date{Version: \StripV\fileversion \qquad Date: \filedate\\ |
| 59 |
\relsize{-2}Documentation revision: \docdate} |
| 60 |
\author{Matt Swift \email{[email protected]}} |
| 61 |
\title{The \textsf{slemph} LaTeX package \\\smaller \fileinfo} |
| 62 |
\maketitle |
| 63 |
\DocInput{slemph.sty} |
| 64 |
\MaybeABib |
| 65 |
\newpage |
| 66 |
\PrintIndex |
| 67 |
\end{document} |