summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/base/ltboxes.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltboxes.dtx')
-rw-r--r--Master/texmf-dist/source/latex/base/ltboxes.dtx114
1 files changed, 100 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/latex/base/ltboxes.dtx b/Master/texmf-dist/source/latex/base/ltboxes.dtx
index e60716bd856..5f17cc31df7 100644
--- a/Master/texmf-dist/source/latex/base/ltboxes.dtx
+++ b/Master/texmf-dist/source/latex/base/ltboxes.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2014
+% Copyright 1993-2015
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
@@ -33,7 +33,7 @@
%<*driver>
% \fi
\ProvidesFile{ltboxes.dtx}
- [2014/09/29 v1.1g LaTeX Kernel (Box Commands)]
+ [2015/01/08 v1.1h LaTeX Kernel (Box Commands)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltboxes.dtx}
@@ -44,13 +44,14 @@
Frank Mittelbach\and
Chris Rowley}
\begin{document}
-\maketitle
+ \MaintainedByLaTeXTeam{latex}
+ \maketitle
\DocInput{\filename}
\end{document}
%</driver>
% \fi
%
-% \CheckSum{758}
+% \CheckSum{846}
%
% \changes{v1.1e}{1998/08/17}{(RmS) Minor Documentation fixes.}
% \section{\LaTeX\ Box commands}
@@ -232,12 +233,28 @@
% \changes{v0.1a}{1993/12/03}
% {modified}
% |\makebox| User level command just looks for optional |[| or |(|.
+% \changes{v1.1h}{2015/01/08}{Make Robust (latexrelease)}
% \begin{macrocode}
-\def\makebox{%
+%</2ekernel>
+%<latexrelease>\IncludeInRelease{2015/01/01}%
+%<latexrelease> {\makebox}{Make \makebox robust}%
+%<*2ekernel|latexrelease>
+\DeclareRobustCommand\makebox{%
\leavevmode
\@ifnextchar(%)
\@makepicbox
- {\@ifnextchar[\@makebox\mbox}}
+ {\@ifnextchar[\@makebox\mbox}}%
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000/00/00}%
+%<latexrelease> {\makebox}{Make \makebox robust}%
+%<latexrelease>\def\makebox{%
+%<latexrelease> \leavevmode
+%<latexrelease> \@ifnextchar(%)
+%<latexrelease> \@makepicbox
+%<latexrelease> {\@ifnextchar[\@makebox\mbox}}%
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
% \end{macrocode}
% \end{macro}
%
@@ -433,10 +450,24 @@
%
% \begin{macro}{\savebox}
% Save |#1| in a box register.
+% \changes{v1.1h}{2015/01/08}{Make Robust (latexrelease)}
% \begin{macrocode}
-\def\savebox#1{%
+%</2ekernel>
+%<latexrelease>\IncludeInRelease{2015/01/01}%
+%<latexrelease> {\savebox}{Make \savebox robust}%
+%<*2ekernel|latexrelease>
+\DeclareRobustCommand\savebox[1]{%
\@ifnextchar(%)
- {\@savepicbox#1}{\@ifnextchar[{\@savebox#1}{\sbox#1}}}
+ {\@savepicbox#1}{\@ifnextchar[{\@savebox#1}{\sbox#1}}}%
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000/00/00}%
+%<latexrelease> {\savebox}{Make \savebox robust}%
+%<latexrelease>\def\savebox#1{%
+%<latexrelease> \@ifnextchar(%)
+%<latexrelease> {\@savepicbox#1}{\@ifnextchar[{\@savebox#1}{\sbox#1}}}%
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
% \end{macrocode}
% \end{macro}
%
@@ -615,10 +646,24 @@
% {Merged \cs{fbox} and \cs{framebox}}
% \changes{v1.0i}{1994/06/01}
% {New version, so \cs{width} is correct in \cs{framebox}}
+% \changes{v1.1h}{2015/01/08}{Make Robust (latexrelease)}
% \begin{macrocode}
-\def\framebox{%
+%</2ekernel>
+%<latexrelease>\IncludeInRelease{2015/01/01}%
+%<latexrelease> {\framebox}{Make \framebox robust}%
+%<*2ekernel|latexrelease>
+\DeclareRobustCommand\framebox{%
\@ifnextchar(%)
- \@framepicbox{\@ifnextchar[\@framebox\fbox}}
+ \@framepicbox{\@ifnextchar[\@framebox\fbox}}%
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000/00/00}%
+%<latexrelease> {\framebox}{Make \framebox robust}%
+%<latexrelease>\def\framebox{%
+%<latexrelease> \@ifnextchar(%)
+%<latexrelease> \@framepicbox{\@ifnextchar[\@framebox\fbox}}%
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
% \end{macrocode}
% \end{macro}
%
@@ -713,11 +758,26 @@
% \changes{v0.1d}{1993/12/15}
% {Changed default from `c' to `s'}
% The main vertical-box command for \LaTeX.
+% \changes{v1.1h}{2015/01/08}{Make Robust (latexrelease)}
% \begin{macrocode}
-\def\parbox{%
+%</2ekernel>
+%<latexrelease>\IncludeInRelease{2015/01/01}%
+%<latexrelease> {\parbox}{Make \parbox robust}%
+%<*2ekernel|latexrelease>
+\DeclareRobustCommand\parbox{%
\@ifnextchar[%]
\@iparbox
- {\@iiiparbox c\relax[s]}}
+ {\@iiiparbox c\relax[s]}}%
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000/00/00}%
+%<latexrelease> {\parbox}{Make \parbox robust}%
+%<latexrelease>\def\parbox{%
+%<latexrelease> \@ifnextchar[%]
+%<latexrelease> \@iparbox
+%<latexrelease> {\@iiiparbox c\relax[s]}}%
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
% \end{macrocode}
% \end{macro}
%
@@ -995,8 +1055,20 @@
%
% \begin{macro}{\rule}
% Draw a rule of the specified size.
+% \changes{v1.1h}{2015/01/08}{Make Robust (latexrelease)}
% \begin{macrocode}
-\def\rule{\@ifnextchar[\@rule{\@rule[\z@]}}
+%</2ekernel>
+%<latexrelease>\IncludeInRelease{2015/01/01}%
+%<latexrelease> {\rule}{Make \rule robust}%
+%<*2ekernel|latexrelease>
+\DeclareRobustCommand\rule{\@ifnextchar[\@rule{\@rule[\z@]}}%
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000/00/00}%
+%<latexrelease> {\rule}{Make \rule robust}%
+%<latexrelease>\def\rule{\@ifnextchar[\@rule{\@rule[\z@]}}%
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
% \end{macrocode}
% \end{macro}
%
@@ -1039,10 +1111,24 @@
% \changes{v1.0s}{1995/04/27}
% {Move \cs{leavevmode} for graphics/1512}
% Raise a box, and change its vertical dimensions.
+% \changes{v1.1h}{2015/01/08}{Make Robust (latexrelease)}
% \begin{macrocode}
-\def\raisebox#1{%
+%</2ekernel>
+%<latexrelease>\IncludeInRelease{2015/01/01}%
+%<latexrelease> {\raisebox}{Make \raisebox robust}%
+%<*2ekernel|latexrelease>
+\DeclareRobustCommand\raisebox[1]{%
\leavevmode
\@ifnextchar[{\@rsbox{#1}}{\@irsbox{#1}[]}}
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000/00/00}%
+%<latexrelease> {\raisebox}{Make \raisebox robust}%
+%<latexrelease>\def\raisebox#1{%
+%<latexrelease> \leavevmode
+%<latexrelease> \@ifnextchar[{\@rsbox{#1}}{\@irsbox{#1}[]}}
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
% \end{macrocode}
% \end{macro}
%