summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/frankenstein/titles.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/frankenstein/titles.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/frankenstein/titles.tex')
-rw-r--r--macros/latex/contrib/frankenstein/titles.tex67
1 files changed, 67 insertions, 0 deletions
diff --git a/macros/latex/contrib/frankenstein/titles.tex b/macros/latex/contrib/frankenstein/titles.tex
new file mode 100644
index 0000000000..2039ca27dc
--- /dev/null
+++ b/macros/latex/contrib/frankenstein/titles.tex
@@ -0,0 +1,67 @@
+% titles.tex -- documentation for the titles 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{titles.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{titles} LaTeX package \\\smaller \fileinfo}
+\maketitle
+\DocInput{titles.sty}
+\MaybeABib
+\newpage
+\PrintIndex
+\end{document}