summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/base/slides.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-02 22:19:48 +0000
committerKarl Berry <karl@freefriends.org>2016-04-02 22:19:48 +0000
commit54aa09d5d6925008eb25609ce953c1b99fd2d2c7 (patch)
treed8e052725306f427e156556aeb2bec689f8245cc /Master/texmf-dist/source/latex/base/slides.dtx
parent54e58adfc76118f03b1bd2f7dedfb2140dce7696 (diff)
latex2e (1apr16), now including amsmath
git-svn-id: svn://tug.org/texlive/trunk@40218 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/base/slides.dtx')
-rw-r--r--Master/texmf-dist/source/latex/base/slides.dtx50
1 files changed, 29 insertions, 21 deletions
diff --git a/Master/texmf-dist/source/latex/base/slides.dtx b/Master/texmf-dist/source/latex/base/slides.dtx
index 463e86352c1..f56da0e13b6 100644
--- a/Master/texmf-dist/source/latex/base/slides.dtx
+++ b/Master/texmf-dist/source/latex/base/slides.dtx
@@ -26,22 +26,6 @@
% extension .ins) which are part of the distribution.
%
% \fi
-% \CheckSum{2704}
-%% \CharacterTable
-%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
%
% \iffalse
% Copyright (C) 1994-97 LaTeX3 project, Frank Mittelbach
@@ -69,7 +53,7 @@
%<*driver>
\ProvidesFile{slides.drv}
%</driver>
- [2014/09/29 v2.3z
+ [2016/03/29 v2.4a
%<+class> Standard LaTeX document class]
%<+cmd> SLiTeX definitions]
% \end{macrocode}
@@ -2358,6 +2342,7 @@ COLOR LAYER\\[.75in]%
% any output when the |@visible| switch is false.
%
% \changes{v2.2j}{1994/03/11}{Corrected \cs{@oval}, like previous
+% \changes{v2.4a}{2016/03/29}{initialise in \cs{@oval}tests added for latex/4452}
% change to \file{latex.dtx}.}
% \begin{macrocode}
\def\line(#1,#2)#3{\if@visible\@xarg #1\relax \@yarg #2\relax
@@ -2419,18 +2404,41 @@ COLOR LAYER\\[.75in]%
\put(#2,0){\hskip -\@halfwidth \vbox{\@whilenum \@tempcnta <\@dashcnt
\relax\do{\vskip #1\unitlength\copy\@dashbox\advance\@tempcnta \@ne }%
\vskip\@dashdim}}}\fi\@makepicbox(#2,#3)}
-
+% \end{macrocode}
+% (re)declare these booleans as they not defined in old format
+% (or with latexrelease package)
+% \begin{macrocode}
+\newif\if@ovvline \@ovvlinetrue
+\newif\if@ovhline \@ovhlinetrue
+% \end{macrocode}
+% \begin{macrocode}
\def\@oval(#1,#2)[#3]{\if@visible\begingroup \boxmaxdepth \maxdimen
\@ovttrue \@ovbtrue \@ovltrue \@ovrtrue
+% \end{macrocode}
+% \begin{macrocode}
+ \@ovvlinefalse \@ovhlinefalse
+% \end{macrocode}
+% \begin{macrocode}
\@tfor\reserved@a :=#3\do
- {\csname @ov\reserved@a false\endcsname}\@ovxx
- #1\unitlength \@ovyy #2\unitlength
- \@tempdimb \ifdim \@ovyy >\@ovxx \@ovxx\else \@ovyy \fi
+ {\csname @ov\reserved@a false\endcsname}%
+ \@ovxx#1\unitlength \@ovyy #2\unitlength
+% \end{macrocode}
+% \begin{macrocode}
+ \@tempdimb \ifdim \@ovyy >\@ovxx \@ovxx \@ovvlinetrue
+ \else \@ovyy \ifdim \@ovyy =\@ovxx \else \@ovhlinetrue \fi\fi
+% \end{macrocode}
+% \begin{macrocode}
\advance \@tempdimb -2\p@
\@getcirc \@tempdimb
\@ovro \ht\@tempboxa \@ovri \dp\@tempboxa
\@ovdx\@ovxx \advance\@ovdx -\@tempdima \divide\@ovdx \tw@
\@ovdy\@ovyy \advance\@ovdy -\@tempdima \divide\@ovdy \tw@
+% \end{macrocode}
+% \begin{macrocode}
+ \ifdim \@ovdx >\z@ \@ovhlinetrue \fi
+ \ifdim \@ovdy >\z@ \@ovvlinetrue \fi
+% \end{macrocode}
+% \begin{macrocode}
\@circlefnt \setbox\@tempboxa
\hbox{\if@ovr \@ovvert32\kern -\@tempdima \fi
\if@ovl \kern \@ovxx \@ovvert01\kern -\@tempdima \kern -\@ovxx \fi