diff options
author | Norbert Preining <preining@logic.at> | 2014-05-08 05:45:04 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2014-05-08 05:45:04 +0000 |
commit | f8a7af47d643e11841911d1d6d7bcfad29af5a87 (patch) | |
tree | 254bbe12bb0c851f2dfb85aa2449b5fa176652a1 /Master/texmf-dist/source/latex/base/ltfloat.dtx | |
parent | 4775c8ca9e258cf67c7c0bd7bce8234d12e7b449 (diff) |
latex 2e release (7May)
git-svn-id: svn://tug.org/texlive/trunk@33913 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltfloat.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/base/ltfloat.dtx | 128 |
1 files changed, 64 insertions, 64 deletions
diff --git a/Master/texmf-dist/source/latex/base/ltfloat.dtx b/Master/texmf-dist/source/latex/base/ltfloat.dtx index 2669e706b74..4ab1240289f 100644 --- a/Master/texmf-dist/source/latex/base/ltfloat.dtx +++ b/Master/texmf-dist/source/latex/base/ltfloat.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 %%% From File: ltfloat.dtx @@ -115,22 +115,22 @@ % % \c@topnumber : Number of floats allowed at the top of a column. % \topfraction : Fraction of column that can be devoted to floats. -% \c@dbltopnumber, \dbltopfraction +% \c@dbltopnumber, \dbltopfraction % : Same as above, but for double-column floats. -% \c@bottomnumber, \bottomfraction +% \c@bottomnumber, \bottomfraction % : Same as above for bottom of page. % \c@totalnumber : Number of floats allowed in a single column, % including in-text floats. % \textfraction :Minimum fraction of column that must contain text. % \floatpagefraction: Minimum fraction of page that must be taken % up by float page. -% \dblfloatpagefraction +% \dblfloatpagefraction % : Same as above, for double-column floats. % % The document style must define the following. % % \fps@TYPE : The default placement specifier for floats of type -% TYPE. +% TYPE. % % \ftype@TYPE : The type number for floats of type TYPE. % @@ -141,7 +141,7 @@ % \fnum@TYPE : A macro to generate the figure number for a caption. % For example, \fnum@TYPE == Figure \thefigure. % -% \@makecaption{NUM}{TEXT} : +% \@makecaption{NUM}{TEXT} : % A macro to make a caption, with NUM the value % produced by \fnum@... and TEXT the text of the caption. % It can assume it's in a \parbox of the appropriate width. @@ -161,7 +161,7 @@ % \@captype ==L TYPE % \@dblflset % \@fps ==L PLACEMENT -% \@onelevel@sanitize \@fps +% \@onelevel@sanitize \@fps % add default PLACEMENT if at most ! in PLACEMENT == \@fpsadddefault % if inner % then LaTeX Error: 'Not in outer paragraph mode.' @@ -169,7 +169,7 @@ % else if \@freelist nonempty % then \@currbox :=L head of \@freelist % \@freelist :=G tail of \@freelist -% \count\@currbox :=G 32*\ftype@TYPE + +% \count\@currbox :=G 32*\ftype@TYPE + % bits determined by PLACEMENT % else \@floatpenalty := 0 % LaTeX Error: 'Too many unprocessed floats' @@ -215,7 +215,7 @@ % a double-column float of type TYPE with PLACEMENT as the placement % specifier. The default value of PLACEMENT is 'tp' % The environment is ended by \end@dblfloat. -% E.g., \figure* == \@dblfloat{figure}, +% E.g., \figure* == \@dblfloat{figure}, % \endfigure* == \end@dblfloat. % % \@dblfloat{TYPE}[PLACEMENT] == @@ -232,7 +232,7 @@ % \begin{macro}{\caption} % % This is set to be an error message outside a float since no -% captype is defined there; this may need to be changed by some +% captype is defined there; this may need to be changed by some % classes. % \changes{v1.1u}{1999/04/19} % {Made caption an error oustside a float: latex/2815} @@ -246,7 +246,7 @@ \expandafter\@firstofone \fi {\@dblarg{\@caption\@captype}}% -} +} % \end{macrocode} % \end{macro} % @@ -273,7 +273,7 @@ % The intention is that this emulates \TeX's `top of page' behaviour. % The flag must be set false at the start of the first paragraph. This % is achieved by a redefinition of |\everypar|, but the call to -% |\@parboxrestore| removes that redefinition, so it is re-inserted +% |\@parboxrestore| removes that redefinition, so it is re-inserted % if needed. If the flag is already false then the |\caption| was not % the first entry in the float, and so some other paragraph has already % activated the special |\everypar|. In this case no further action is @@ -310,7 +310,7 @@ {\edef\reserved@a{\noexpand\@xfloat{#1}[\csname fps@#1\endcsname]}% \reserved@a}} % \end{macrocode} -% +% % \end{macro} % \end{macro} % @@ -326,13 +326,13 @@ % \end{macrocode} % \end{macro} % -% +% % \begin{macro}{\fps@dbl} % \changes{v1.1a}{1994/10/31}{Macro added} % \changes{v1.1g}{1994/12/10}{Macro removed temporarily} % Note that all double floats have default fps `tp'. % \end{macro} -% +% % \begin{macro}{\@setfps} % \changes{v1.1a}{1994/10/31}{Macro added} % \changes{v1.1c}{1994/11/05} @@ -340,7 +340,7 @@ % \changes{v1.1g}{1994/12/10}{Macro removed temporarily} % This sets the fps, dealing with error conditions by adding % the default. -% +% % \end{macro} % % \begin{macro}{\@xfloat} @@ -373,7 +373,7 @@ \@nodocument \def \@captype {#1}% \def \@fps {#2}% - \@onelevel@sanitize \@fps + \@onelevel@sanitize \@fps \def \reserved@b {!}% \ifx \reserved@b \@fps \@fpsadddefault @@ -395,7 +395,7 @@ {% \@tempcnta \sixt@@n \expandafter \@tfor \expandafter \reserved@a - \expandafter :\expandafter =\@fps + \expandafter :\expandafter =\@fps \do {% \if \reserved@a h% @@ -464,10 +464,10 @@ } % \end{macrocode} % \end{macro} -% +% % \begin{macro}{\@floatboxreset} % \changes{v1.1a}{1994/10/31}{Macro added} -% +% % The rational for allowing these normally global flags to be set % locally here, via |\@parboxrestore|, was stated originally by % Donald Arseneau and extended by Chris Rowley. @@ -478,7 +478,7 @@ % % If anyone is unhappy with this argument then both flags should be % treated as in |\set@nobreak|; otherwise this command will be -% redundant. +% redundant. % \changes{v1.1p}{1996/10/24} % {Added local settings of flags: dangerous!!} % \begin{macrocode} @@ -489,11 +489,11 @@ } % \end{macrocode} % \end{macro} -% +% % \begin{macro}{\@setnobreak} % \changes{v1.1f}{1994/11/21}{Macro added} % \changes{v1.1n}{1996/07/26}{remove unecessary \cs{global} before -% \cs{@nobreak...}} +% \cs{@nobreak...}} % \begin{macrocode} \def \@setnobreak{% \if@nobreak @@ -507,7 +507,7 @@ % \begin{macro}{\@setminipage} % \changes{v1.1f}{1994/11/21}{Macro added} % \changes{v1.1n}{1996/07/26}{remove unecessary \cs{global} before -% \cs{@minipage...}} +% \cs{@minipage...}} % \begin{macrocode} \def \@setminipage{% \@minipagetrue @@ -582,7 +582,7 @@ } % \end{macrocode} % \end{macro} -% +% % \begin{macro}{\@endfloatbox} % \changes{v1.1n}{1995/10/25}{(CAR) macro added: to unify code for % double and single versions} @@ -605,29 +605,29 @@ % \changes{v1.1f}{1994/11/21}{Corrected position of \cs{outer@nobreak}} % \changes{v1.1f}{1994/11/21}{Added reset of minipage flag} % \changes{v1.1n}{1996/07/26}{remove unecessary \cs{global} before -% \cs{@minipage...}} +% \cs{@minipage...}} % \begin{macrocode} - \@minipagefalse + \@minipagefalse \outer@nobreak \egroup %% end of vbox \color@endbox } -% +% % \begin{macro}{\outer@nobreak} % \changes{v1.0h}{1994/05/20}{Macro added: default is to do nothing.} % \begin{macrocode} \let\outer@nobreak\@empty % \end{macrocode} % \end{macro} -% +% % % \begin{macro}{\@largefloatcheck} % \changes{v1.0e}{1994/04/25}{Command added} -% +% % This calculates by how much a float is oversize for the page and % prints this in a warning message. -% -% \begin{macrocode} +% +% \begin{macrocode} \def \@largefloatcheck{% \ifdim \ht\@currbox>\textheight \@tempdima -\textheight @@ -648,7 +648,7 @@ % \changes{v1.1a}{1994/10/31} % {Macros removed: \cs{@dbflt}, \cs{@xdblfloat}} % \changes{v1.1g}{1994/12/10}{Macros reinserted temporarily} -% +% % % \begin{macrocode} \def\@dbflt#1{\@ifnextchar[{\@xdblfloat{#1}}{\@xdblfloat{#1}[tp]}} @@ -683,21 +683,21 @@ % % \begin{macro}{\@dblfloatplacement} % \changes{LaTeX2e}{1993/12/05}{Command changed} -% +% % This should be called only within a group. Now changed to % provide extra checks in |\@addtodblcol|, needed when processing a % BANG float. -% -% \begin{macrocode} +% +% \begin{macrocode} \def \@dblfloatplacement {% % \end{macrocode} % Textpage bit: global, but need not be. -% \begin{macrocode} +% \begin{macrocode} \global \@dbltopnum \c@dbltopnumber \global \@dbltoproom \dbltopfraction\@colht % \end{macrocode} % This new bit uses |\@textmin| to locally store the amount of extra -% room in the column. +% room in the column. % \begin{macrocode} \@textmin \@colht \advance \@textmin -\@dbltoproom @@ -766,7 +766,7 @@ % \@savemarbox\@marbox{RTEXT} % \box\@currbox :=G \box\@marbox % fi -% \@xympar +% \@xympar % END % % \reversemarginpar == BEGIN \@mparbottom :=G 0 @@ -818,7 +818,7 @@ \@xympar} % \end{macrocode} % \end{macro} -% +% % \begin{macro}{\@savemarbox} % \changes{v1.0b}{1994/03/12} % {(DPC) Extra group for colour} @@ -836,24 +836,24 @@ % \changes{v1.1f}{1994/11/21}{Added resetting of size and font} % \changes{v1.1m}{1995/05/25}{(CAR) Resettings moved to hook} % \changes{v1.1n}{1996/07/26}{remove unecessary \cs{global} before -% \cs{@minipage...}} +% \cs{@minipage...}} % \begin{macrocode} \long\def \@savemarbox #1#2{% \global\setbox #1% \color@vbox \vtop{% \hsize\marginparwidth - \@parboxrestore + \@parboxrestore \@marginparreset #2% - \@minipagefalse + \@minipagefalse \outer@nobreak }% \color@endbox } % \end{macrocode} % \end{macro} -% +% % \begin{macro}{\@marginparreset} % \changes{v1.1f}{1994/11/21}{Macro added} % @@ -867,7 +867,7 @@ % % If anyone is unhappy with this argument then both flags should be % treated as in |\set@nobreak|; otherwise this command will be -% redundant. +% redundant. % \changes{v1.1p}{1996/10/24} % {Added local settings of flags: dangerous!!} % \begin{macrocode} @@ -897,7 +897,7 @@ % {Use new \cs{color@hbox} concept.} % \changes{v1.1f}{1994/11/21}{Changed to \cs{color@vbox} } % Setting the box here is done only because the code -% uses \cs{end@float}; it will be empty and gets discarded. +% uses \cs{end@float}; it will be empty and gets discarded. % \changes{v1.1o}{1996/08/02}{Remove \cs{global} before \cs{@ignore...}} % \begin{macrocode} \def \@xympar{% @@ -948,7 +948,7 @@ % \footnotemark \footnotetext . % % As in PLAIN, footnotes use \insert\footins, and the following -% parameters: +% parameters: % % \footnotesize : Size-changing command for footnotes. % @@ -978,7 +978,7 @@ % page is footnote number one. % % \@thefnmark : Holds the current footnote's mark--e.g., \dag or '1' -% or 'a'. +% or 'a'. % % \@mpfnnumber : A macro that generates the numbers for \footnote % and \footnotemark commands. It == \thefootnote @@ -1113,7 +1113,7 @@ % % \begin{macro}{\thempfootnote} % \changes{v1.1j}{1995/05/18}{Added \cs{itshape}.} -% \changes{v1.1v}{2002/10/01}{Use braces around \cs{itshape} +% \changes{v1.1v}{2002/10/01}{Use braces around \cs{itshape} % to keep font change local (pr/3460).} % The default display for the footnote counter in minipages is to % use italic letters. We use |\itshape| not |\textit| as the latter @@ -1181,7 +1181,7 @@ % \cs{@xfootnote}, \cs{@xfootnotemark}, % and \cs{@xfootnotetext}} % \changes{LaTeX2.09}{1992/11/26} -% {(RmS) Changed all to +% {(RmS) Changed all to % `def`protect\string{`noexpand`protect`noexpand\string}} % \changes{v1.1b}{1994/11/26} % {(ASAJ) Added \cs{protected@xdef}.} @@ -1196,7 +1196,7 @@ % \begin{macro}{\@xfootnote} % \begin{macrocode} \def\@xfootnote[#1]{% - \begingroup + \begingroup \csname c@\@mpfn\endcsname #1\relax \unrestored@protected@xdef\@thefnmark{\thempfn}% \endgroup @@ -1236,7 +1236,7 @@ \hsize\columnwidth \@parboxrestore \protected@edef\@currentlabel{% \csname p@footnote\endcsname\@thefnmark - }% + }% \color@begingroup \@makefntext{% \rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}% @@ -1246,7 +1246,7 @@ % % \begin{macro}{\footnotemark} % \changes{v1.1b}{1994/11/04}{Added \cs{protected@xdef} to -% \cs{footnotemark}.} +% \cs{footnotemark}.} % \begin{macrocode} \def\footnotemark{% \@ifnextchar[\@xfootnotemark @@ -1259,7 +1259,7 @@ % \begin{macro}{\@xfootnotemark} % \begin{macrocode} \def\@xfootnotemark[#1]{% - \begingroup + \begingroup \c@footnote #1\relax \unrestored@protected@xdef\@thefnmark{\thefootnote}% \endgroup @@ -1292,7 +1292,7 @@ % \begin{macro}{\@xfootnotenext} % \begin{macrocode} \def\@xfootnotenext[#1]{% - \begingroup + \begingroup \csname c@\@mpfn\endcsname #1\relax \unrestored@protected@xdef\@thefnmark{\thempfn}% \endgroup |