summaryrefslogtreecommitdiff
path: root/macros/latex/base/ltxguide.cls
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/base/ltxguide.cls')
-rw-r--r--macros/latex/base/ltxguide.cls102
1 files changed, 51 insertions, 51 deletions
diff --git a/macros/latex/base/ltxguide.cls b/macros/latex/base/ltxguide.cls
index 8ef06b95aa..f70c91dcd9 100644
--- a/macros/latex/base/ltxguide.cls
+++ b/macros/latex/base/ltxguide.cls
@@ -2,66 +2,66 @@
%
% Copyright 1993-2019
% The LaTeX3 Project and any individual authors listed elsewhere
-% in this file.
-%
+% in this file.
+%
% This file is part of the LaTeX base system.
% -------------------------------------------
-%
+%
% It may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
% https://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
+% and version 1.3c or later is part of all distributions of LaTeX
% version 2008 or later.
-%
+%
% This file has the LPPL maintenance status "maintained".
-%
+%
% The list of all files belonging to the LaTeX base distribution is
% given in the file `manifest.txt'. See also `legal.txt' for additional
% information.
-%
-% The list of derived (unpacked) files belonging to the distribution
-% and covered by LPPL is defined by the unpacking scripts (with
+%
+% The list of derived (unpacked) files belonging to the distribution
+% and covered by LPPL is defined by the unpacking scripts (with
% extension .ins) which are part of the distribution.
-%
+%
% \fi
% Filename: ltxguide.cls
% Author: Alan Jeffrey
% Version: 0.14 1999/03/06
-
+
% This is the document class for the LaTeX guides `LaTeX2e for authors'
% and `LaTeX2e for class and package writers'. The changes log is at
% the end of the file.
-
-% Copyright 1994 1999 Alan Jeffrey and the LaTeX3 project.
-
+
+% Copyright 1994 1999 Alan Jeffrey and the LaTeX3 project.
+
% This is a LaTeX2e document class.
-
+
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
\ProvidesClass{ltxguide}[2001/05/28 Standard LaTeX class]
-
+
% Input any local configuration file.
-
+
\InputIfFileExists{ltxguide.cfg}
{\typeout {**********************************************^^J%
* Local configuration file ltxguide.cfg used *^^J%
**********************************************}}
{\ClassInfo{ltxguide}{Local configuration file not found}}
-
+
% All options are passed to the article class.
-
+
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions
\LoadClass{article}
-
+
% No paragraph indentation, space between paragraphs.
-
+
\setlength{\parindent}{0pt}
\setlength{\parskip}{\medskipamount}
-
+
% The names of some documents:
-
+
\newcommand{\clsguide}{\LaTeXe{} for Class and Package Writers}
\newcommand{\usrguide}{\LaTeXe{} for Authors}
\newcommand{\fntguide}{\LaTeXe{} Font Selection}
@@ -81,16 +81,16 @@
\newcommand{\ie}{i.e.,~}
% The SliTeX logo:
-
+
\newcommand{\SLiTeX}{\textsc{Sli}\TeX}
-
+
% A declaration of a command, in a box, set out into the margin.
%
-% Unfortunately, there is a bug with this command, which allows page
+% Unfortunately, there is a bug with this command, which allows page
% breaks to happen after a \begin{decl}[DATE]: it is a bug with TeX that
% makes it very difficult to get page-breaks correct near marginals,
% especially at the end of a paragraph.
-
+
\newenvironment{decl}[1][]%
{\par\small\addvspace{4.5ex plus 1ex}%
\vskip -\parskip
@@ -103,9 +103,9 @@
\begin{tabular}{|l|}\hline\ignorespaces}%
{\\\hline\end{tabular}\nobreak\@decl@date\par\nobreak
\vspace{2.3ex}\vskip -\parskip}
-
+
% Run the toc tighter:
-
+
\def\@starttoc#1{\begingroup
\makeatletter
\parskip\z@\@plus\p@\relax % <----
@@ -114,11 +114,11 @@
\immediate\openout
\csname tf@#1\endcsname \jobname.#1\relax
\fi \global\@nobreakfalse \endgroup}
-
+
% Some hacks with verbatim... NB: this would be better done with the
% verbatim package, but this document has to run on any LaTeX
% installation.
-
+
\let\o@verbatim\verbatim
\def\verbatim{%
\ifhmode\unskip\par\fi
@@ -128,7 +128,7 @@
\fi
\o@verbatim
}
-
+
% Here we extend the font-setting command to include making <> active
% (ie adjusting the input encoding).
\renewcommand \verbatim@font {%
@@ -136,16 +136,16 @@
\catcode`\<=\active
\catcode`\>=\active
}
-
+
% Make |...| a synonym for \verb|...|.
\RequirePackage{shortvrb}
\MakeShortVerb{\|}
-
+
% Make active <...> produce italics surrounded by angle brackets
% (used in verbatim and \verb).
% << produces a less-than, and >> produces a greater-than.
-
+
\begingroup
\catcode`\<=\active
\catcode`\>=\active
@@ -166,31 +166,31 @@
}%
}
\def\verbatim@nolig@list{\do\`\do\,\do\'\do\-}
-
+
% Various forms of argument:
-
+
\newcommand{\m}[1]{\mbox{$\langle$\it #1\/$\rangle$}}
\renewcommand{\arg}[1]{{\tt\string{}\m{#1}{\tt\string}}}
\newcommand{\oarg}[1]{{\tt[}\m{#1}{\tt]}}
-
+
% Logos.
-
+
\newcommand{\NFSS}{\textsf{NFSS}}
-
+
\newcommand{\AmS}{$${\protect\the\textfont2 A}\kern-.1667em\lower
.5ex\hbox{\protect\the\textfont2 M}\kern
-.125em{\protect\the\textfont2 S}}
-
+
\newcommand{\AmSLaTeX}{\mbox{\AmS-\LaTeX}}
-
+
% Table of contents is two deep.
-
+
\setcounter{tocdepth}{2}
-
+
% Allow more flexibility about bad paragraphs.
-
+
\tolerance500
-
+
% Marginal notes for new features and description:
% Changed to command and hacked by Chris to get better positioning and
% a better chance of printing:
@@ -204,9 +204,9 @@
\newcommand{\URL}[1]{\texttt{#1}}
% That's it!
-
+
\endinput
-
+
% CHANGELOG
%
% 24 May 1994, ASAJ: Turned the collection of macros used by
@@ -229,7 +229,7 @@
% \PassOptionsToClass{article}.
%
% 30 Oct 1994, ASAJ: Added environments NEWfeature and NEWdescription.
-%
+%
% 20 Nov 1994, CAR: Changed NEWfeature and NEWdescription to improve
% alignment: pagebreaking still not working.
%
@@ -238,9 +238,9 @@
% 24 July 1995, CAR: Changed cfg messages.
%
% 21 Sept 1995, \RequirePackage{shortvrb} for latex/1875
-%
+%
% 22 Nov 1995, CAR: Corrected cfg loading.
-%
+%
% 28 Nov 1995, CAR: Added \cfgguide and \modguide.
%
% 29 Nov 1995, DPC: Make \small in verbatim conditional on \normalsize.