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