diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltfsstrc.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/base/ltfsstrc.dtx | 120 |
1 files changed, 60 insertions, 60 deletions
diff --git a/Master/texmf-dist/source/latex/base/ltfsstrc.dtx b/Master/texmf-dist/source/latex/base/ltfsstrc.dtx index f6e61edefcf..40814815fe8 100644 --- a/Master/texmf-dist/source/latex/base/ltfsstrc.dtx +++ b/Master/texmf-dist/source/latex/base/ltfsstrc.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 @@ -65,7 +65,7 @@ % \changes{v2.3l}{1994/11/17} % {\cs{@tempa} to \cs{reserved@a}} % \changes{v2.3i}{1994/05/20}{Use new error command names} -% \changes{v2.3g}{1994/05/13}{Removed typeouts as +% \changes{v2.3g}{1994/05/13}{Removed typeouts as % \cs{ProvidesPackage} writes to log.} % \changes{v2.3e}{1994/04/27}{Corrected item that was forgotten % in last change.} @@ -76,7 +76,7 @@ % \changes{v2.1i}{1993/09/02}{Corrected name of sgen size function.} % \changes{v2.1h}{1993/07/16}{Changed layout of info messages} % \changes{v2.1b}{1993/03/18} -% {Changed all \cs{@tempdimb} in \cs{@tempdimx} +% {Changed all \cs{@tempdimb} in \cs{@tempdimx} % to avoid killing \cs{numberline}} % \changes{v2.1b}{1993/03/18} % {Changed all \cs{@tempdima} in \cs{@tempdimb} @@ -91,7 +91,7 @@ % % \GetFileInfo{ltfsstrc.dtx} % \title{The \texttt{tracefnt} package\thanks -% {This file has version number \fileversion, dated +% {This file has version number \fileversion, dated % \filedate.} \\ % for use with the new font selection scheme} % \author{Frank Mittelbach \and Rainer Sch\"opf} @@ -100,41 +100,41 @@ % \maketitle % % \section{Introduction} -% +% % This package contains the code for tracing font loading and font % changes. It basically overlays some of the low-level functions of % NFSS with additional code used for tracing. -% +% % The package accepts the following options: % \begin{description} % \item[errorshow] Write all information about font changes etc.\ -% only to the transcript file unless an error happens. This means +% only to the transcript file unless an error happens. This means % that information about font substitution will not be shown on the % terminal. -% +% % \item[warningshow] Show all NFSS warnings on the terminal. This -% setting corresponds to the default behaviour of NFSS if the +% setting corresponds to the default behaviour of NFSS if the % \texttt{tracefnt} package is \emph{not} loaded! -% +% % \item[infoshow] Show all NFSS warning and all NFSS info % messages (that are normally only written to the transcript file) % also on the terminal. This is the default if the \texttt{tracefnt} % package is loaded. -% +% % \item[debugshow] In addition to \texttt{infoshow} show also % changing of math fonts as far as possible (this option can produce a % large amount of output. -% +% % \item[loading] Show the name of external fonts when they are % loaded. This option shows only ``newly'' loaded fonts not those % already preloaded in the format or the class file before the % \texttt{tracefnt} package became active. -% +% % \item[pausing] % Turn all font warnings into errors so that \LaTeX{} will stop. -% +% % \end{description} -% +% % % \StopEventually{} % @@ -171,7 +171,7 @@ % accurate. % \end{quote} % -% If we are making a package file it is a good idea to test whether +% If we are making a package file it is a good idea to test whether % we are running under 2e. % This code is actually placed at the very beginning of this file % for easier maintenance, thus commented out here. @@ -294,7 +294,7 @@ {LaTeX Font Warning: #1}% {See the LaTeX Companion for details.}% {I'll stop for every LaTeX Font Warning because - you requested\MessageBreak the `pausing' option + you requested\MessageBreak the `pausing' option to the tracefnt package.}}% } % \end{macrocode} @@ -322,7 +322,7 @@ % \section{Macros common to \texttt{fam.tex} and \texttt{tracefnt.sty}} % % In the first versions of \texttt{tracefnt.dtx} some macros of -% \texttt{fam.dtx}\footnote{This file is currently not distributed in +% \texttt{fam.dtx}\footnote{This file is currently not distributed in % documented form. Its code is part of \texttt{ltfss.dtx}.} % were redefined to included the extra tracing % information. Now these macros are all defined in this file (i.e.\ @@ -371,7 +371,7 @@ % The next two lines execute the ``loading actions'' for the % family and then for the individual font shape. % \begin{macrocode} - \csname \f@encoding+\f@family\endcsname + \csname \f@encoding+\f@family\endcsname \csname\curr@fontshape\endcsname \relax } @@ -528,7 +528,7 @@ % |\selectfont| the internal value of |\f@linespread| is passed % back to |\baselinestretch|. % \begin{macrocode} - \let\baselinestretch\f@linespread + \let\baselinestretch\f@linespread % \end{macrocode} % Additional processing will happen within |\selectfont|. For this % reason the macro |\size@update| (which will be called in @@ -546,8 +546,8 @@ % then to set up a new |\strutbox| % \begin{macrocode} \setbox\strutbox\hbox{% - \vrule\@height.7\baselineskip - \@depth.3\baselineskip + \vrule\@height.7\baselineskip + \@depth.3\baselineskip \@width\z@}% % \end{macrocode} % We end with a bit of tracing information. @@ -597,7 +597,7 @@ \else \def\reserved@a{\f@linespread x}% \fi - \@font@info{Restoring size to + \@font@info{Restoring size to \f@size/\reserved@a\f@baselineskip}} %</trace> % \end{macrocode} @@ -625,7 +625,7 @@ % up the whole math machinery. % % Here we set the math size, script size and scriptscript size. -% If the |S@|\ldots{} macro is not defined we have to first +% If the |S@|\ldots{} macro is not defined we have to first % calculate the three sizes. % \begin{macrocode} \expandafter\ifx\csname S@\f@size\endcsname\relax @@ -656,7 +656,7 @@ % \begin{macrocode} \begingroup \escapechar\m@ne - \csname mv@\math@version \endcsname + \csname mv@\math@version \endcsname % \end{macrocode} % Then we set |\globaldefs| to 1 so that all following changes are % done globally. The math font assignments recorded in @@ -726,9 +726,9 @@ % % \subsection{Math fonts setup} % -% +% % \subsubsection{Outline of algorithm for math font sizes} -% +% % \TeX{} uses the the math fonts that are current when the end of a % formula is reached. If we don't want to keep font setups local to % every formula (which would result in an enormous overhead, we have @@ -740,20 +740,20 @@ % Here the inner formulae |b| and |c\in Z| are typeset in |\small| but % we have to return to |\normalsize| before we reach the closing |$| % of the outer formula. -% +% % This is handled in the following way: % \begin{enumerate} % \item At any point in the document the global variable % |\gbl@currsize| contains the point size for which the math fonts % currently are set up. -% +% % \item \label{it:everymath} Whenever we start a formula we compare % its value with the local variable |\f@size| that describes the % current text font size. -% +% % \item If both are the same we assume that we can use the current % math font setup without adjustment. -% +% % \item \label{it:everymathend} If they differ we call |\gbl@settings| % which changes the math font setup and updates |\gbl@currsize|. % \begin{enumerate} @@ -765,8 +765,8 @@ % nested in some outer formula. % \end{enumerate} % \end{enumerate} -% -% +% +% % The above algorithm has the following features: % \begin{itemize} % \item For sizes which are not containing any formula no math setup @@ -778,15 +778,15 @@ % \item No time overhead due to unnecessary changes of the math font % setup on entrance and exit of the text font size. % \end{itemize} -% +% % \item Math font setup changes for top-level formulae will survive % (there is no restoration after the formula) thus any following % formula in the same size will be directly typesetable. Compared to -% original implementation in NFSS2 +% original implementation in NFSS2 % the new algorithm has the overhead of one test per formula % to see if the current math setup is valid (in the original % algorithm the setup was always valid, thus no test was necessary). -% +% % \item In nested formulae the math font setup is restored in the % outer formula by a series of |\aftergroup| commands and checks. % Compared to the original algorithm this involves additional checks @@ -795,7 +795,7 @@ % \end{itemize} % % \subsubsection{Code for math font size setting} -% +% % \begin{macro}{\check@mathfonts} % \changes{v2.3a}{1994/01/17}{New math font setup} % \changes{v2.3c}{1994/01/26}{Correct trace info placement} @@ -817,7 +817,7 @@ \@font@info{*** MATH: setting up \f@size\space curr/global (\curr@math@size/\glb@currsize)}\fi %</trace> - \glb@settings + \glb@settings \init@restore@glb@settings \fi \let\curr@math@size\f@size @@ -851,7 +851,7 @@ % \changes{v2.3a}{1994/01/17}{New math font setup} % \changes{v2.3c}{1994/01/26}{Correct trace info placement} % This macro will be executed the first time after the current -% formula. +% formula. % \begin{macrocode} \def\restglb@settings{% %<*trace> @@ -884,7 +884,7 @@ % \begin{macro}{\use@mathgroup} % \changes{v1.2b}{1990/01/21}{Macro added to allow cleaner interface.} % \changes{v1.2h}{1990/03/30}{Third argument removed (see -% \cs{math@egroup}).} +% \cs{math@egroup}).} % The |\use@mathgroup| macro should be used in user % macros to select a math group. Depending on whether or not the % \texttt{margid} option is in force it has two or three arguments. @@ -1042,7 +1042,7 @@ % We begin with a simple auxiliary macro. It checks % whether its argument is the token |\@nil|. If so, % it expands to |\@gobble| which discards the following -% argument, otherwise it expands to |\@firstofone| which +% argument, otherwise it expands to |\@firstofone| which % reproduces it argument. % \changes{v2.3n}{1995/05/08}{Use \cs{@firstofone}} % \begin{macrocode} @@ -1093,7 +1093,7 @@ % |\f@size|) for the requested font shape. The font information % must already be present in |\font@info|. % The central macro that does the real work is |\extract@fontinfo|. -% We will first give a simple example how this macro works, and +% We will first give a simple example how this macro works, and % describe it in full generality later. % % Assume that the requested parameters are: {\em encoding scheme\/} @@ -1341,7 +1341,7 @@ \fi \fi \fi - \reserved@f}} + \reserved@f}} %</2ekernel|def2|autoload> % \end{macrocode} % \end{macro} @@ -1395,7 +1395,7 @@ \let\reserved@f\@empty \fi \fi - \reserved@f} + \reserved@f} % \end{macrocode} % \end{macro} % @@ -1426,7 +1426,7 @@ % from the designer. The body of the size function may use % |\optional@arg| and |\mandatory@arg| denoting the optional and % mandatory argument that may follow the size specification |<...>|. -% \changes{v2.1c}{1993/03/18}{Added all args to avoid blanks problems} +% \changes{v2.1c}{1993/03/18}{Added all args to avoid blanks problems} % \begin{macrocode} %<*2ekernel|autoload> \def\DeclareSizeFunction#1#2{\@namedef{s@fct@#1}{#2}} @@ -1486,9 +1486,9 @@ %<*2ekernel|def1> \gdef\try@size@substitution{% % \end{macrocode} -% First we do some initializations. |\@tempdimb| +% First we do some initializations. |\@tempdimb| % will hold the difference between the wanted size and the best -% solution found so far, so we initialise it with |\maxdimen|. +% solution found so far, so we initialise it with |\maxdimen|. % The macro |\best@size| will hold the best size found, nothing % found is indicated by the empty value. % \begin{macrocode} @@ -1616,12 +1616,12 @@ \ifx \best@size\@empty \else \ifdim \@tempdimb>\font@submax \relax - \xdef \font@submax {\the\@tempdimb}% + \xdef \font@submax {\the\@tempdimb}% \fi \let \f@user@size \f@size \let \f@size \best@size \ifdim \@tempdimb>\fontsubfuzz\relax - \@font@warning{Font\space shape\space + \@font@warning{Font\space shape\space `\curr@fontshape'\space in\space size\space <\f@user@size>\space not\space available\MessageBreak size\space <\f@size>\space substituted}% @@ -1796,7 +1796,7 @@ \errmessage{No\space declaration\space for\space shape\space \mandatory@arg}% \error@fontshape - \else + \else % \end{macrocode} % Otherwise we warn the user about the substitution taking place. % \begin{macrocode} @@ -1856,7 +1856,7 @@ % font to be used is taken from the mandatory argument. % If an optional argument is present it is used as the `at' % size for the font. Otherwise the font is loaded at its design size. -% \begin{macrocode} +% \begin{macrocode} %<*2ekernel|autoload> \DeclareSizeFunction{fixed}{\fixed@sfcnt\@font@warning} \DeclareSizeFunction{sfixed}{\fixed@sfcnt\@font@info} |