summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/base/ltsect.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltsect.dtx')
-rw-r--r--Master/texmf-dist/source/latex/base/ltsect.dtx108
1 files changed, 54 insertions, 54 deletions
diff --git a/Master/texmf-dist/source/latex/base/ltsect.dtx b/Master/texmf-dist/source/latex/base/ltsect.dtx
index 2da55c90f5c..bd84b1efd15 100644
--- a/Master/texmf-dist/source/latex/base/ltsect.dtx
+++ b/Master/texmf-dist/source/latex/base/ltsect.dtx
@@ -2,29 +2,29 @@
%
% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009
% 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
% http://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 2005/12/01 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
%
% \iffalse
@@ -44,7 +44,7 @@
Leslie Lamport\and
Frank Mittelbach\and
Chris Rowley\and
- Tobias Oetiker\thanks{Tobi updated
+ Tobias Oetiker\thanks{Tobi updated
the comments to `doc' conventions}\and
Rainer Sch\"opf}
@@ -83,7 +83,7 @@
% \changes{v1.0g}{1994/10/18}{Added \cs{normalcolor}}
% \changes{v1.0i}{1994/11/17}
% {\cs{@tempa} to \cs{reserved@a}}
-% \changes{v1.0m}{1995/05/03}{TO: Promoted documentation to doc.sty
+% \changes{v1.0m}{1995/05/03}{TO: Promoted documentation to doc.sty
% standard}
%
% \begin{macrocode}
@@ -92,10 +92,10 @@
% \end{macrocode}
%
% \subsection{The Title}
-%
+%
% \DescribeMacro{\title}
% The user defines the title and author by the declarations
-% |\title|\marg{name},
+% |\title|\marg{name},
% \DescribeMacro{\author}
% |\author|\marg{name}
%
@@ -152,7 +152,7 @@
% \end{macro}
%
% \changes{1.0h}{1994/11/04}{(ASAJ) Added \cs{protected@xdef} to
-% \cs{thanks}.}
+% \cs{thanks}.}
% \begin{macro}{\thanks}
% \begin{macrocode}
\def\thanks#1{\footnotemark
@@ -181,7 +181,7 @@
% \end{macrocode}
% \subsection{Sectioning}
%
-%
+%
% \begin{macro}{\@secpenalty}
% \begin{macrocode}
\newcount\@secpenalty
@@ -231,7 +231,7 @@
% \end{description}
%
% If `|*|' is missing, then increment the counter. If it is
-% present, then there should be no |[|\meta{altheading}|]| argument.
+% present, then there should be no |[|\meta{altheading}|]| argument.
% The command uses the counter 'secnumdepth'. It contains a pointer
% to the highest section level that is to be numbered.
%
@@ -249,9 +249,9 @@
% \begin{oldcomments}
% \@startsection {NAME}{LEVEL}{INDENT}{BEFORESKIP}{AFTERSKIP}{STYLE} ==
% BEGIN
-% IF @noskipsec = T THEN \leavevmode FI
+% IF @noskipsec = T THEN \leavevmode FI
% % true if previous section had no body.
-%
+%
% \par
% \@tempskipa := BEFORESKIP
% @afterindent := T
@@ -285,7 +285,7 @@
\everypar{}%
\else
\addpenalty\@secpenalty\addvspace\@tempskipa
- \fi
+ \fi
\@ifstar
{\@ssect{#3}{#4}{#5}{#6}}%
{\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
@@ -320,7 +320,7 @@
% \NAMEmark{ARG1}
% \addcontentsline{toc}{NAME}
% { IF LEVEL > \c@secnumdepth
-% ELSE
+% ELSE
% \protect\numberline{\theNAME}
% FI
% ARG1 }
@@ -400,7 +400,7 @@
%
% \begin{macro}{\@xsect}%
% Pseudocode for the |\@xsect| command
-% \begin{oldcomments}
+% \begin{oldcomments}
% \@xsect{AFTERSKIP} ==
% BEGIN
% IF AFTERSKIP > 0
@@ -417,7 +417,7 @@
% \@svsechd
% \endgroup
% \unskip
-% \hskip -AFTERSKIP \relax
+% \hskip -AFTERSKIP \relax
% %% relax added 14 Jan 91
% ELSE \clubpenalty :=G \@clubpenalty
% \everypar := NULL
@@ -429,7 +429,7 @@
% \end{oldcomments}
%
% \changes{0.0}{1992/08/19}
-% {(RmS) corrected bug: stretch and shrink in argument to
+% {(RmS) corrected bug: stretch and shrink in argument to
% \cs{hskip} previously not negated}
% \begin{macrocode}
\def\@xsect#1{%
@@ -439,7 +439,7 @@
% Why not combine |\@sect| and |\@xsect| and save doing the
% same test twice? It is not possible to change this now as these
% have become hooks!
-%
+%
% This |\par| seems unnecessary.
% \begin{macrocode}
\par \nobreak
@@ -455,11 +455,11 @@
\@nobreakfalse
\global\@noskipsectrue
\everypar{%
- \if@noskipsec
+ \if@noskipsec
\global\@noskipsecfalse
{\setbox\z@\lastbox}%
- \clubpenalty\@M
- \begingroup \@svsechd \endgroup
+ \clubpenalty\@M
+ \begingroup \@svsechd \endgroup
\unskip
\@tempskipa #1\relax
\hskip -\@tempskipa
@@ -516,7 +516,7 @@
% END
% END
% \end{oldcomments}
-%
+%
%
% \begin{macro}{\@ssect}
% \begin{macrocode}
@@ -550,7 +550,7 @@
\@xsect{#3}}
% \end{macrocode}
% \end{macro}
-%
+%
% \begin{macro}{\if@afterindent}
% \begin{macro}{\@afterindenttrue}
% \begin{macrocode}
@@ -561,9 +561,9 @@
% \begin{macro}{\@afterheading}
% \changes{v1.0v}{1996/08/02}{Removed \cs{global}
% before \cs{@nobreak...}}
-%
+%
% This hook is used in setting up custom-built headings in classes.dtx.
-%
+%
% \begin{macrocode}
\def\@afterheading{%
\@nobreaktrue
@@ -571,7 +571,7 @@
\if@nobreak
\@nobreakfalse
\clubpenalty \@M
- \if@afterindent \else
+ \if@afterindent \else
{\setbox\z@\lastbox}%
\fi
\else
@@ -580,7 +580,7 @@
\fi}}
% \end{macrocode}
% \end{macro}
-%
+%
%
% \begin{macro}{\@hangfrom}
%
@@ -596,7 +596,7 @@
% \end{macro}
%
% \begin{macro}{\c@secnumdepth}
-% \begin{macro}{\c@tocdepth}
+% \begin{macro}{\c@tocdepth}
% \begin{macrocode}
\newcount\c@secnumdepth
\newcount\c@tocdepth
@@ -605,16 +605,16 @@
%
% \begin{macro}{\secdef}
%
-% |\secdef{|\meta{unstarcmds}|}{|\meta{unstarcmds}|}{|%
-% \meta{starcmds}|}|\\
+% |\secdef{|\meta{unstarcmds}|}{|\meta{unstarcmds}|}{|%
+% \meta{starcmds}|}|\\
% When defining a |\chapter| or |\section| command without using
% |\@startsection|, you can use |\secdef| as follows:
% \begin{enumerate}
-% \item |\def\chapter{| \ldots |\secdef|
+% \item |\def\chapter{| \ldots |\secdef|
% |\|\meta{starcmd} |\|\meta{unstarcmd} |}|
-% \item |\def\|\meta{starcmd}|[#1]#2{| \ldots |}|
+% \item |\def\|\meta{starcmd}|[#1]#2{| \ldots |}|
% |%| Command to define |\chapter[|\ldots|]{|\ldots|}|
-% \item |\def\|\meta{unstarcmd}|#1{| \ldots |}|
+% \item |\def\|\meta{unstarcmd}|#1{| \ldots |}|
% |%| Command to define |\chapter*{|\ldots|}|
% \end{enumerate}
%
@@ -650,12 +650,12 @@
% \subsection{Table of Contents etc.}
%
% \subsubsection{Convention}
-% |\tf@|\meta{foo} = file number for output for table foo.
+% |\tf@|\meta{foo} = file number for output for table foo.
% The file is opened only if |@filesw| = |true|.
%
% \subsubsection{Commands}
%
-%
+%
% A |\l@|\meta{type}|{|\meta{entry}|}{|\meta{page}|}| Macro needs to
% defined by document style for making an entry of type \meta{type}
% in a table of contents, etc. E.g., the document style
@@ -675,14 +675,14 @@
% command.
%
% \begin{macro}{\@starttoc}
-% The |\@starttoc|\marg{ext} command is used to define the commands:\\
+% The |\@starttoc|\marg{ext} command is used to define the commands:\\
% |\tableofcontents|, |\listoffigures|, etc.
%
-% For example:
+% For example:
% |\@starttoc{lof}| is used in |\listoffigures|. This command
% reads the |.|\meta{ext} file and sets up to write the new
% |.|\meta{ext} file.
-%
+%
% \begin{oldcomments}
% \@starttoc{EXT} ==
% BEGIN
@@ -707,7 +707,7 @@
\begingroup
\makeatletter
\@input{\jobname.#1}%
- \if@filesw
+ \if@filesw
\expandafter\newwrite\csname tf@#1\endcsname
\immediate\openout \csname tf@#1\endcsname \jobname.#1\relax
\fi
@@ -718,7 +718,7 @@
%
% \begin{macro}{\addcontentsline}
% The |\addcontentsline{|\meta{table}|}{|\meta{type}|}{|%
-% \meta{entry}|}| command allows the user to add
+% \meta{entry}|}| command allows the user to add
% his/her own entry to a table of contents, etc. The command adds the
% entry |\contentsline{|\meta{type}|}{|\meta{entry}|}{|\meta{page}|}|
% to the |.|\meta{table} file.
@@ -741,7 +741,7 @@
% \changes{v1.0h}{1994/11/04}{Added \cs{protected@write} to
% \cs{addtocontents}. ASAJ.}
% \begin{macro}{\addtocontents}
-%
+%
% The |\addtocontents{|\meta{table}|}{|\meta{text}|}| command
% adds \meta{text} to the |.|\meta{table} file, with no
% page number.
@@ -779,14 +779,14 @@
% Macro to produce a table of contents line with the following
% parameters:
% \begin{description}
-% \item[level] If \meta{level} $>$ |\c@tocdepth|, then no line
+% \item[level] If \meta{level} $>$ |\c@tocdepth|, then no line
% produced.
% \item[indent] Total indentation from the left margin.
% \item[numwidth] Width of box for number if the \meta{title} has a
% |\numberline| command.
% As of 25 Jan 1988, this is also the amount of extra
% indentation added to second and later lines of a
-% multiple line entry.
+% multiple line entry.
% \item[title] Contents of entry.
% \item[page] Page number.
% \end{description}
@@ -800,7 +800,7 @@
% \item[|\@dotsep|] Separation between dots, in mu units.
% Should be |\def|'d to a number like 2 or 1.7
% \end{description}
-%
+%
% \begin{macro}{\@dottedtocline}
% \changes{LaTeX2.09}{1991/09/29}
% {(RmS) added \cs{reset@font} for page number}
@@ -823,7 +823,7 @@
% \begin{macrocode}
\advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
{#4}\nobreak
- \leaders\hbox{$\m@th
+ \leaders\hbox{$\m@th
% \end{macrocode}
% If a document uses fonts other than computer modern, the use of a
% dot from math can be very disturbing despite the fact that this
@@ -843,8 +843,8 @@
% \end{macrocode}
% \end{macro}
%
-% \textbf{Note:} |\nobreak|'s added 7 Jan 86 to prevent bad line break
-% that left the page number dangling by itself at left edge of a new
+% \textbf{Note:} |\nobreak|'s added 7 Jan 86 to prevent bad line break
+% that left the page number dangling by itself at left edge of a new
% line.
%
% Changed 25 Jan 88 to use |\leftskip| instead of |\hangindent| so