| 1 |
% \iffalse meta-comment |
| 2 |
% |
| 3 |
% Copyright (C) 1993-2025 |
| 4 |
% The LaTeX Project and any individual authors listed elsewhere |
| 5 |
% in this file. |
| 6 |
% |
| 7 |
% This file is part of the LaTeX base system. |
| 8 |
% ------------------------------------------- |
| 9 |
% |
| 10 |
% It may be distributed and/or modified under the |
| 11 |
% conditions of the LaTeX Project Public License, either version 1.3c |
| 12 |
% of this license or (at your option) any later version. |
| 13 |
% The latest version of this license is in |
| 14 |
% https://www.latex-project.org/lppl.txt |
| 15 |
% and version 1.3c or later is part of all distributions of LaTeX |
| 16 |
% version 2008 or later. |
| 17 |
% |
| 18 |
% This file has the LPPL maintenance status "maintained". |
| 19 |
% |
| 20 |
% The list of all files belonging to the LaTeX base distribution is |
| 21 |
% given in the file `manifest.txt'. See also `legal.txt' for additional |
| 22 |
% information. |
| 23 |
% |
| 24 |
% The list of derived (unpacked) files belonging to the distribution |
| 25 |
% and covered by LPPL is defined by the unpacking scripts (with |
| 26 |
% extension .ins) which are part of the distribution. |
| 27 |
% |
| 28 |
% \fi |
| 29 |
% |
| 30 |
% \iffalse |
| 31 |
%%% From File: ltpictur.dtx |
| 32 |
%<*driver> |
| 33 |
% \fi |
| 34 |
\ProvidesFile{ltpictur.dtx} |
| 35 |
[2024/07/08 v1.2b LaTeX Kernel (Picture Mode)] |
| 36 |
% \iffalse |
| 37 |
\documentclass{ltxdoc} |
| 38 |
\GetFileInfo{ltpictur.dtx} |
| 39 |
\title{\filename} |
| 40 |
\date{\filedate} |
| 41 |
\author{% |
| 42 |
Johannes Braams\and |
| 43 |
David Carlisle\and |
| 44 |
Alan Jeffrey\and |
| 45 |
Leslie Lamport\and |
| 46 |
Frank Mittelbach\and |
| 47 |
Chris Rowley\and |
| 48 |
Rainer Sch\"opf} |
| 49 |
\begin{document} |
| 50 |
\MaintainedByLaTeXTeam{latex} |
| 51 |
\maketitle |
| 52 |
\DocInput{\filename} |
| 53 |
\end{document} |
| 54 |
%</driver> |
| 55 |
% \fi |
| 56 |
% |
| 57 |
% |
| 58 |
% \changes{v1.0g}{1995/05/07}{Use \cs{hb@xt@}} |
| 59 |
% \changes{v1.1a}{1995/05/19}{Support autoloading feature} |
| 60 |
% \changes{v1.1b}{1995/06/13}{Use \cs{ProvidesFile} in autoload} |
| 61 |
% \changes{v1.1d}{1995/07/12}{allow 2e commands in 209 mode. latex/1737} |
| 62 |
% \changes{v1.1e}{1995/10/03}{New autoload code} |
| 63 |
% \changes{v1.1h}{1999/04/15}{Replaced octal numbers, CAR} |
| 64 |
% \changes{v1.1k}{2015/02/21}{Removed autoload code} |
| 65 |
% |
| 66 |
% \section{Picture Mode} |
| 67 |
% Picture mode commands. In addition to the commands available in |
| 68 |
% \LaTeX2.09, This section adds the new |\qbezier| command for |
| 69 |
% drawing curves. |
| 70 |
% |
| 71 |
% \DescribeMacro{\qbezier} |
| 72 |
% |\qbezier|\oarg{N}\parg{AX,AY}\parg{BX,BY}\parg{CX,CY} |
| 73 |
% plots a quadratic Bezier curve from \parg{AX,AY} to \parg{CX,CY}, |
| 74 |
% with \parg{BX,BY} as the third Bezier point, using $N+1$ points |
| 75 |
% equally spaced parametrically. |
| 76 |
% If $N = 0$ (the default value), then a sufficient number of points |
| 77 |
% are used to draw a connected curve--except that at most |
| 78 |
% $|\qbeziermax| + 1$ points are drawn. A ``point'' is a square of |
| 79 |
% side |\@wholewidth|. |
| 80 |
% |
| 81 |
% \DescribeMacro{\bezier} |
| 82 |
% In addition, to be compatible with the old |bezier| package, a |
| 83 |
% variant of this command, |\bezier|, is defined, in which the first |
| 84 |
% argument is not optional. |
| 85 |
% |
| 86 |
% \MaybeStop{} |
| 87 |
% |
| 88 |
% |
| 89 |
% \changes{v0.1a}{1994/03/07}{Initial version, split from latex.dtx} |
| 90 |
% \changes{v0.1a}{1994/03/07}{Long lines wrapped to 72 columns} |
| 91 |
% \changes{v0.1b}{1994/04/24} |
| 92 |
% {Removed surplus spaces after \cs{hbox to } in several cases} |
| 93 |
% \changes{v0.1d}{1994/05/13} |
| 94 |
% {Removed surplus braces from \cs{@if..} constructions} |
| 95 |
% \changes{v0.1e}{1994/05/22}{Use new warning cmds} |
| 96 |
% \changes{v1.0f}{1994/11/17} |
| 97 |
% {\cs{@tempa} to \cs{reserved@a}} |
| 98 |
% \changes{v1.1m}{2019/08/27}{Remove several unnecessary \cs{gdef} definitions} |
| 99 |
% \changes{v1.1m}{2019/08/27}{Make various commands robust} |
| 100 |
% |
| 101 |
% \begin{oldcomments} |
| 102 |
% |
| 103 |
% \unitlength = value of dimension argument |
| 104 |
% \@wholewidth = current line width |
| 105 |
% \@halfwidth = half of current line width |
| 106 |
% \@linefnt = font for drawing lines |
| 107 |
% \@circlefnt = font for drawing circles |
| 108 |
% |
| 109 |
% \linethickness{DIM} : Sets the width of horizontal and vertical lines |
| 110 |
% in a picture to DIM. Does not change width of slanted lines |
| 111 |
% or circles. Width of all lines reset by \thinlines and |
| 112 |
% \thicklines |
| 113 |
% |
| 114 |
% \picture(XSIZE,YSIZE)(XORG,YORG) |
| 115 |
% BEGIN |
| 116 |
% \@picht :=L YSIZE * \unitlength |
| 117 |
% box \@picbox := |
| 118 |
% \hb@xt@ XSIZE * \unitlength |
| 119 |
% {\hskip -XORG * \unitlength |
| 120 |
% \lower YORG * \unitlength |
| 121 |
% \hbox{ |
| 122 |
% \ignorespaces %% added 13 June 89 |
| 123 |
% END |
| 124 |
% |
| 125 |
% \endpicture == |
| 126 |
% BEGIN |
| 127 |
% } \hss } |
| 128 |
% height of \@picbox := \@picht |
| 129 |
% depth of \@picbox := 0 |
| 130 |
% \mbox{\box\@picbox} %% change 26 Aug 91 |
| 131 |
% END |
| 132 |
% |
| 133 |
% \put(X, Y){OBJ} == |
| 134 |
% BEGIN |
| 135 |
% \@killglue |
| 136 |
% \raise Y * \unitlength \hb@xt@ 0pt { \hskip X * \unitlength |
| 137 |
% OBJ \hss } |
| 138 |
% \ignorespaces |
| 139 |
% END |
| 140 |
% |
| 141 |
% \multiput(X,Y)(DELX,DELY){N}{OBJ} == |
| 142 |
% BEGIN |
| 143 |
% \@killglue |
| 144 |
% \@multicnt := N |
| 145 |
% \@xdim := X * \unitlength |
| 146 |
% \@ydim := Y * \unitlength |
| 147 |
% while \@multicnt > 0 |
| 148 |
% do \raise \@ydim \hb@xt@ 0pt { \hskip \@xdim |
| 149 |
% OBJ \hss } |
| 150 |
% \@multicnt := \@multicnt - 1 |
| 151 |
% \@xdim := \@xdim + DELX * \unitlength |
| 152 |
% \@ydim := \@ydim + DELY * \unitlength |
| 153 |
% od |
| 154 |
% \ignorespaces |
| 155 |
% END |
| 156 |
% |
| 157 |
% \shortstack[POS]{TEXT} : Makes a \vbox containing TEXT stacked as |
| 158 |
% a one-column array, positioned l, r or c as indicated by POS. |
| 159 |
% |
| 160 |
% \end{oldcomments} |
| 161 |
% |
| 162 |
% The `2ekernel' code ensures that a |\usepackage{autopict}| is |
| 163 |
% essentially ignored if a `full' format is being used that has |
| 164 |
% picture mode already in the format. |
| 165 |
% \begin{macrocode} |
| 166 |
%<2ekernel>\expandafter\let\csname [email protected]\endcsname\fmtversion |
| 167 |
% \end{macrocode} |
| 168 |
% |
| 169 |
% \begin{macro}{\@wholewidth} |
| 170 |
% \begin{macro}{\@halfwidth} |
| 171 |
% \begin{macrocode} |
| 172 |
%<*2ekernel> |
| 173 |
\newdimen\@wholewidth |
| 174 |
\newdimen\@halfwidth |
| 175 |
% \end{macrocode} |
| 176 |
% \end{macro} |
| 177 |
% \end{macro} |
| 178 |
% |
| 179 |
% \begin{macro}{\unitlength} |
| 180 |
% \begin{macrocode} |
| 181 |
\newdimen\unitlength \unitlength =1pt |
| 182 |
% \end{macrocode} |
| 183 |
% \end{macro} |
| 184 |
% |
| 185 |
% \begin{macro}{\@picbox} |
| 186 |
% \begin{macro}{\@picht} |
| 187 |
% \begin{macrocode} |
| 188 |
\newbox\@picbox |
| 189 |
\newdimen\@picht |
| 190 |
% \end{macrocode} |
| 191 |
% \end{macro} |
| 192 |
% \end{macro} |
| 193 |
% |
| 194 |
% \begin{macro}{\@defaultunitsset} |
| 195 |
% \changes{v1.2a}{2020/08/15}{Macro added} |
| 196 |
% Set a length register, |#1|, |
| 197 |
% accepting number or an etex length expression, |#2|, |
| 198 |
% with default unit, |#3|. |
| 199 |
% |
| 200 |
% The register name in |#1| can be prefixed by |\advance| so that |
| 201 |
% the register is incremented by the supplied value. |
| 202 |
% |
| 203 |
% |\@defaultunitsset{\advance\@vxx}{\textwidth-15pt}\unitlength| |
| 204 |
% |
| 205 |
% |#3| can be a literal unit such as |cm| or a length register such |
| 206 |
% as |\unitlength|. |
| 207 |
% |
| 208 |
% This is used in all |picture| commands that take picture coordinates. |
| 209 |
% So |\put(2,2)| as previously but now |\put(\textwidth-5cm,0.4\texteight)| |
| 210 |
% Note that you can only use expressions with lengths, |\put(1+2,0)| is not |
| 211 |
% supported. |
| 212 |
% |
| 213 |
% \begin{macrocode} |
| 214 |
%</2ekernel> |
| 215 |
%<*2ekernel|latexrelease> |
| 216 |
%<latexrelease>\IncludeInRelease{2020/10/01}% |
| 217 |
%<latexrelease> {\@defaultunitsset}{default units}% |
| 218 |
\def\@defaultunitsset#1#2#3{% |
| 219 |
\@defaultunits#1\dimexpr#2#3\relax\relax\@nnil} |
| 220 |
%</2ekernel|latexrelease> |
| 221 |
% \end{macrocode} |
| 222 |
% |
| 223 |
% \begin{macrocode} |
| 224 |
%<latexrelease>\EndIncludeInRelease |
| 225 |
%<latexrelease>\IncludeInRelease{0000/00/00}% |
| 226 |
%<latexrelease> {\@defaultunitsset}{default units}% |
| 227 |
%<latexrelease>\let\@defaultunitsset\@undefined |
| 228 |
%<latexrelease>\EndIncludeInRelease |
| 229 |
%<*2ekernel> |
| 230 |
% \end{macrocode} |
| 231 |
% \end{macro} |
| 232 |
% |
| 233 |
% \begin{environment}{picture} |
| 234 |
% \begin{macro}{\picture} |
| 235 |
% \changes{v0.1c}{1994/04/28}{(DPC) Ignore spaces before (} |
| 236 |
% |#1| should be white space. |
| 237 |
% \begin{macro}{\pictur@} |
| 238 |
% \changes{v1.0h}{1995/05/12}{Macro added for latex/1355} |
| 239 |
% |#1| should be a |(| (eating any white space before the bracket), |
| 240 |
% \begin{macrocode} |
| 241 |
\long\def\picture#1{\pictur@#1} |
| 242 |
\def\pictur@(#1){% |
| 243 |
\@ifnextchar({\@picture(#1)}{\@picture(#1)(0,0)}} |
| 244 |
% \end{macrocode} |
| 245 |
% \end{macro} |
| 246 |
% \end{macro} |
| 247 |
% |
| 248 |
% \begin{macro}{\@picture} |
| 249 |
% \begin{macrocode} |
| 250 |
%</2ekernel> |
| 251 |
%<*2ekernel|latexrelease> |
| 252 |
%<latexrelease>\IncludeInRelease{2020/10/01}% |
| 253 |
%<latexrelease> {\@picture}{default units}% |
| 254 |
\def\@picture(#1,#2)(#3,#4){% |
| 255 |
\@defaultunitsset\@picht{#2}\unitlength |
| 256 |
\@defaultunitsset\@tempdimc{#1}\unitlength |
| 257 |
\setbox\@picbox\hb@xt@\@tempdimc\bgroup |
| 258 |
\@defaultunitsset\@tempdimc{#3}\unitlength |
| 259 |
\hskip -\@tempdimc |
| 260 |
\@defaultunitsset\@tempdimc{#4}\unitlength |
| 261 |
\lower\@tempdimc\hbox\bgroup |
| 262 |
\ignorespaces} |
| 263 |
%</2ekernel|latexrelease> |
| 264 |
% \end{macrocode} |
| 265 |
% |
| 266 |
% \begin{macrocode} |
| 267 |
%<latexrelease>\EndIncludeInRelease |
| 268 |
%<latexrelease>\IncludeInRelease{0000/00/00}% |
| 269 |
%<latexrelease> {\@picture}{default units}% |
| 270 |
%<latexrelease>\def\@picture(#1,#2)(#3,#4){% |
| 271 |
%<latexrelease> \@picht#2\unitlength |
| 272 |
%<latexrelease> \setbox\@picbox\hb@xt@#1\unitlength\bgroup |
| 273 |
%<latexrelease> \hskip -#3\unitlength |
| 274 |
%<latexrelease> \lower #4\unitlength\hbox\bgroup |
| 275 |
%<latexrelease> \ignorespaces} |
| 276 |
%<latexrelease>\EndIncludeInRelease |
| 277 |
%<*2ekernel> |
| 278 |
% \end{macrocode} |
| 279 |
% \end{macro} |
| 280 |
% |
| 281 |
% \begin{macro}{\endpicture} |
| 282 |
% \changes{LaTeX2.09}{1991/08/26} |
| 283 |
% {(RmS \& FMi) extra boxing level around \cs{@picbox} |
| 284 |
% to guard against unboxing in math mode |
| 285 |
% (proposed by John Hobby)} |
| 286 |
% |
| 287 |
% \begin{macrocode} |
| 288 |
\def\endpicture{% |
| 289 |
\egroup\hss\egroup |
| 290 |
\ht\@picbox\@picht\dp\@picbox\z@ |
| 291 |
\mbox{\box\@picbox}} |
| 292 |
% \end{macrocode} |
| 293 |
% \end{macro} |
| 294 |
% \end{environment} |
| 295 |
% |
| 296 |
% In the definitions of |\put| and |\multiput|, |\hskip| was replaced by |
| 297 |
% |\kern| just in case arg |#3| = ``plus''. (Bug detected by Don Knuth. |
| 298 |
% changed 20 Jul 87). |
| 299 |
% |
| 300 |
% \begin{macrocode} |
| 301 |
%</2ekernel> |
| 302 |
%<*2ekernel|latexrelease> |
| 303 |
%<latexrelease>\IncludeInRelease{2020/10/01}% |
| 304 |
%<latexrelease> {\put}{default units}% |
| 305 |
%<latexrelease>\expandafter\let\csname put \endcsname\@undefind |
| 306 |
\long\def\put(#1,#2)#3{% |
| 307 |
\@killglue |
| 308 |
\@defaultunitsset\@tempdimc{#2}\unitlength |
| 309 |
\raise\@tempdimc |
| 310 |
\hb@xt@\z@{% |
| 311 |
\@defaultunitsset\@tempdimc{#1}\unitlength |
| 312 |
\kern\@tempdimc |
| 313 |
#3\hss}% |
| 314 |
\ignorespaces} |
| 315 |
%</2ekernel|latexrelease> |
| 316 |
% \end{macrocode} |
| 317 |
% |
| 318 |
% \begin{macrocode} |
| 319 |
%<latexrelease>\EndIncludeInRelease |
| 320 |
%<latexrelease>\IncludeInRelease{0000/00/00}% |
| 321 |
%<latexrelease> {\put}{default units}% |
| 322 |
%<latexrelease>\expandafter\let\csname put \endcsname\@undefind |
| 323 |
%<latexrelease>\long\def\put(#1,#2)#3{% |
| 324 |
%<latexrelease> \@killglue\raise#2\unitlength |
| 325 |
%<latexrelease> \hb@xt@\z@{\kern#1\unitlength #3\hss}% |
| 326 |
%<latexrelease> \ignorespaces} |
| 327 |
%<latexrelease>\EndIncludeInRelease |
| 328 |
%<*2ekernel> |
| 329 |
% \end{macrocode} |
| 330 |
% |
| 331 |
% |
| 332 |
% \begin{macro}{\multiput} |
| 333 |
% \changes{v0.1c}{1994/04/28}{(DPC) Ignore spaces between )(} |
| 334 |
% |#3| had better be a |(|. |
| 335 |
% \begin{macrocode} |
| 336 |
%</2ekernel> |
| 337 |
%<*2ekernel|latexrelease> |
| 338 |
%<latexrelease>\IncludeInRelease{2020/10/01}% |
| 339 |
%<latexrelease> {\multiput}{default units}% |
| 340 |
%<latexrelease>\expandafter\let\csname multiput \endcsname\@undefind |
| 341 |
\def\multiput(#1,#2)#3{% |
| 342 |
\@defaultunitsset\@xdim{#1}\unitlength |
| 343 |
\@defaultunitsset\@ydim{#2}\unitlength |
| 344 |
\@multiput(} |
| 345 |
%</2ekernel|latexrelease> |
| 346 |
% \end{macrocode} |
| 347 |
% |
| 348 |
% \begin{macrocode} |
| 349 |
%<latexrelease>\EndIncludeInRelease |
| 350 |
%<latexrelease>\IncludeInRelease{0000/00/00}% |
| 351 |
%<latexrelease> {\multiput}{default units}% |
| 352 |
%<latexrelease>\expandafter\let\csname multiput \endcsname\@undefind |
| 353 |
%<latexrelease>\def\multiput(#1,#2)#3{% |
| 354 |
%<latexrelease> \@xdim #1\unitlength |
| 355 |
%<latexrelease> \@ydim #2\unitlength |
| 356 |
%<latexrelease> \@multiput(} |
| 357 |
%<latexrelease>\EndIncludeInRelease |
| 358 |
%<*2ekernel> |
| 359 |
% \end{macrocode} |
| 360 |
% \end{macro} |
| 361 |
% |
| 362 |
% \begin{macro}{\@multiput} |
| 363 |
% \changes{v0.1c}{1994/04/28}{(DPC) Macro added} |
| 364 |
% \begin{macrocode} |
| 365 |
%</2ekernel> |
| 366 |
%<*2ekernel|latexrelease> |
| 367 |
%<latexrelease>\IncludeInRelease{2020/10/01}% |
| 368 |
%<latexrelease> {\@multiput}{default units}% |
| 369 |
\long\def\@multiput(#1,#2)#3#4{% |
| 370 |
\@killglue\@multicnt #3\relax |
| 371 |
\@whilenum \@multicnt >\z@\do |
| 372 |
{\raise\@ydim\hb@xt@\z@{\kern\@xdim #4\hss}% |
| 373 |
\advance\@multicnt\m@ne |
| 374 |
\@defaultunitsset{\advance\@xdim}{#1}\unitlength |
| 375 |
\@defaultunitsset{\advance\@ydim}{#2}\unitlength}% |
| 376 |
\ignorespaces} |
| 377 |
%</2ekernel|latexrelease> |
| 378 |
% \end{macrocode} |
| 379 |
% |
| 380 |
% \begin{macrocode} |
| 381 |
%<latexrelease>\EndIncludeInRelease |
| 382 |
%<latexrelease>\IncludeInRelease{0000/00/00}% |
| 383 |
%<latexrelease> {\@multiput}{default units}% |
| 384 |
%<latexrelease>\long\def\@multiput(#1,#2)#3#4{% |
| 385 |
%<latexrelease> \@killglue\@multicnt #3\relax |
| 386 |
%<latexrelease> \@whilenum \@multicnt >\z@\do |
| 387 |
%<latexrelease> {\raise\@ydim\hb@xt@\z@{\kern\@xdim #4\hss}% |
| 388 |
%<latexrelease> \advance\@multicnt\m@ne |
| 389 |
%<latexrelease> \advance\@xdim#1\unitlength\advance\@ydim#2\unitlength}% |
| 390 |
%<latexrelease> \ignorespaces} |
| 391 |
%<latexrelease>\EndIncludeInRelease |
| 392 |
%<*2ekernel> |
| 393 |
% \end{macrocode} |
| 394 |
% \end{macro} |
| 395 |
% |
| 396 |
% \begin{macro}{\@killglue} |
| 397 |
% \begin{macrocode} |
| 398 |
\def\@killglue{\unskip\@whiledim \lastskip >\z@\do{\unskip}} |
| 399 |
% \end{macrocode} |
| 400 |
% \end{macro} |
| 401 |
% |
| 402 |
% \begin{macro}{\thinlines} |
| 403 |
% \begin{macro}{\thicklines} |
| 404 |
% \begin{macrocode} |
| 405 |
\DeclareRobustCommand\thinlines{\let\@linefnt\tenln |
| 406 |
\let\@circlefnt\tencirc |
| 407 |
\@wholewidth\fontdimen8\tenln \@halfwidth .5\@wholewidth} |
| 408 |
\DeclareRobustCommand\thicklines{\let\@linefnt\tenlnw |
| 409 |
\let\@circlefnt\tencircw |
| 410 |
\@wholewidth\fontdimen8\tenlnw \@halfwidth .5\@wholewidth} |
| 411 |
% \end{macrocode} |
| 412 |
% \end{macro} |
| 413 |
% \end{macro} |
| 414 |
% |
| 415 |
% \begin{macro}{\linethickness} |
| 416 |
% \changes{v1.1n}{2020/02/14}{Suppress spaces following the declaration (gh/274)} |
| 417 |
% \changes{v1.1p}{2020/07/27}{Don't make the command \cs{long} (gh/354)} |
| 418 |
% \begin{macrocode} |
| 419 |
\DeclareRobustCommand*\linethickness[1] |
| 420 |
{\@wholewidth #1\relax \@halfwidth .5\@wholewidth \ignorespaces} |
| 421 |
% \end{macrocode} |
| 422 |
% \end{macro} |
| 423 |
% |
| 424 |
% \begin{macro}{\ishortstack} |
| 425 |
% \begin{macrocode} |
| 426 |
\def\shortstack{\@ifnextchar[\@shortstack{\@shortstack[c]}} |
| 427 |
% \end{macrocode} |
| 428 |
% \end{macro} |
| 429 |
% |
| 430 |
% \begin{macro}{\@ishortstack} |
| 431 |
% \begin{macrocode} |
| 432 |
\def\@shortstack[#1]{% |
| 433 |
\leavevmode |
| 434 |
\vbox\bgroup |
| 435 |
\baselineskip-\p@\lineskip 3\p@ |
| 436 |
\let\mb@l\hss\let\mb@r\hss |
| 437 |
\expandafter\let\csname mb@#1\endcsname\relax |
| 438 |
\let\\\@stackcr |
| 439 |
\@ishortstack} |
| 440 |
% \end{macrocode} |
| 441 |
% \end{macro} |
| 442 |
% |
| 443 |
% |
| 444 |
% \changes{LaTeX2.09}{1991/08/14} |
| 445 |
% {(RmS) inserted extra braces around entry for NFSS} |
| 446 |
% \changes{LaTeX2.09}{1993/11/03} |
| 447 |
% {(RmS) changed \cs{halign} to \cs{ialign} to initialize |
| 448 |
% \cs{tabskip} and \cs{everycr}} |
| 449 |
% |
| 450 |
% \begin{macro}{\@ishortstack} |
| 451 |
% \begin{macrocode} |
| 452 |
\def\@ishortstack#1{\ialign{\mb@l {##}\unskip\mb@r\cr #1\crcr}\egroup} |
| 453 |
% \end{macrocode} |
| 454 |
% \end{macro} |
| 455 |
% |
| 456 |
% \begin{macro}{\@stackcr} |
| 457 |
% \changes{v1.2b}{2021/04/20}{Use \cs{protected} for \cs{\bslash} variant (gh/548)} |
| 458 |
% \begin{macro}{\@ixstackcr} |
| 459 |
% \begin{macrocode} |
| 460 |
\protected\def\@stackcr{\@ifstar\@ixstackcr\@ixstackcr} |
| 461 |
\def\@ixstackcr{\@ifnextchar[\@istackcr{\cr\ignorespaces}} |
| 462 |
% \end{macrocode} |
| 463 |
% \end{macro} |
| 464 |
% \end{macro} |
| 465 |
% |
| 466 |
% \begin{macro}{\@istackcr} |
| 467 |
% \changes{v1.1o}{2020/04/21}{Support calc syntax (gh/152)} |
| 468 |
% \begin{macrocode} |
| 469 |
%</2ekernel> |
| 470 |
%<*2ekernel|latexrelease> |
| 471 |
%<latexrelease>\IncludeInRelease{2020/10/01}% |
| 472 |
%<latexrelease> {\@istackcr}{\shortstack calc support}% |
| 473 |
\def\@istackcr[#1]{\cr\noalign{\@vspace@calcify{#1}}\ignorespaces} |
| 474 |
%</2ekernel|latexrelease> |
| 475 |
% \end{macrocode} |
| 476 |
% |
| 477 |
% \begin{macrocode} |
| 478 |
%<latexrelease>\EndIncludeInRelease |
| 479 |
%<latexrelease>\IncludeInRelease{0000/00/00}% |
| 480 |
%<latexrelease> {\@istackcr}{\shortstack calc support}% |
| 481 |
%<latexrelease> |
| 482 |
%<latexrelease>\def\@istackcr[#1]{\cr\noalign{\vskip #1}\ignorespaces} |
| 483 |
%<latexrelease>\EndIncludeInRelease |
| 484 |
%<*2ekernel> |
| 485 |
% \end{macrocode} |
| 486 |
% \end{macro} |
| 487 |
% |
| 488 |
% \begin{oldcomments} |
| 489 |
% \line(X,Y){LEN} == |
| 490 |
% BEGIN |
| 491 |
% \@xarg := X |
| 492 |
% \@yarg := Y |
| 493 |
% \@linelen := LEN * \unitlength |
| 494 |
% if \@xarg = 0 |
| 495 |
% then \@vline |
| 496 |
% else if \@yarg = 0 |
| 497 |
% then \@hline |
| 498 |
% else \@sline |
| 499 |
% if |
| 500 |
% if |
| 501 |
% END |
| 502 |
% |
| 503 |
% \@sline == |
| 504 |
% BEGIN |
| 505 |
% if \@xarg < 0 |
| 506 |
% then @negarg := T |
| 507 |
% \@xarg := -\@xarg |
| 508 |
% \@yyarg := -\@yarg |
| 509 |
% else @negarg := F |
| 510 |
% \@yyarg := \@yarg |
| 511 |
% fi |
| 512 |
% \@tempcnta := |\@yyarg| |
| 513 |
% if \@tempcnta > 6 |
| 514 |
% then error: 'LATEX ERROR: Illegal \line or \vector argument.' |
| 515 |
% \@tempcnta := 0 |
| 516 |
% fi |
| 517 |
% \box\@linechar := \hbox{\@linefnt \@getlinechar(\@xarg,\@yyarg) } |
| 518 |
% if \@yarg > 0 then \@upordown = \raise |
| 519 |
% \@clnht := 0 |
| 520 |
% else \@upordown = \lower |
| 521 |
% \@clnht := height of \box\@linechar |
| 522 |
% fi |
| 523 |
% \@clnwd := width of \box\@linechar |
| 524 |
% if @negarg |
| 525 |
% then \hskip - width of \box\@linechar |
| 526 |
% \reserved@a == \hskip - 2* width of box \@linechar |
| 527 |
% else \reserved@a == \relax |
| 528 |
% fi |
| 529 |
% %% Put out integral number of line segments |
| 530 |
% while \@clnwd < \@linelen |
| 531 |
% do \@upordown \@clnht \copy\@linechar |
| 532 |
% \reserved@a |
| 533 |
% \@clnht := \@clnht + ht of \box\@linechar |
| 534 |
% \@clnwd := \@clnwd + width of \box\@linechar |
| 535 |
% od |
| 536 |
% |
| 537 |
% %% Put out last segment |
| 538 |
% \@clnht := \@clnht - height of \box\@linechar |
| 539 |
% \@clnwd := \@clnwd - width of \box\@linechar |
| 540 |
% \@tempdima := \@linelen - \@clnwd |
| 541 |
% \@tempdimb := \@tempdima - width of \box\@linechar |
| 542 |
% if @negarg then \hskip -\@tempdimb |
| 543 |
% else \hskip \@tempdimb |
| 544 |
% fi |
| 545 |
% \@tempdima := 1000 * \@tempdima |
| 546 |
% \@tempcnta := \@tempdima / width of \box\@linechar |
| 547 |
% \@tempdima := (\@tempcnta * ht of \box\@linechar)/1000 |
| 548 |
% \@clnht := \@clnht + \@tempdima |
| 549 |
% if \@linelen < width of box\@linechar |
| 550 |
% then \hskip width of box\@linechar |
| 551 |
% else \hbox{\@upordown \@clnht \copy\@linechar} |
| 552 |
% fi |
| 553 |
% END |
| 554 |
% |
| 555 |
% \@hline == |
| 556 |
% BEGIN |
| 557 |
% if \@xarg < 0 then \hskip -\@linelen \fi |
| 558 |
% \vrule height \@halfwidth depth \@halfwidth width \@linelen |
| 559 |
% if \@xarg < 0 then \hskip -\@linelen \fi |
| 560 |
% END |
| 561 |
% |
| 562 |
% \@vline == if \@yarg < 0 \@downline else \@upline fi |
| 563 |
% |
| 564 |
% |
| 565 |
% \@getlinechar(X,Y) == |
| 566 |
% BEGIN |
| 567 |
% \@tempcnta := 8*X - 9 |
| 568 |
% if Y > 0 |
| 569 |
% then \@tempcnta := \@tempcnta + Y |
| 570 |
% else \@tempcnta := \@tempcnta - Y + 64 |
| 571 |
% fi |
| 572 |
% \char\@tempcnta |
| 573 |
% END |
| 574 |
% |
| 575 |
% \vector(X,Y){LEN} == |
| 576 |
% BEGIN |
| 577 |
% \@xarg := X |
| 578 |
% \@yarg := Y |
| 579 |
% \@linelen := LEN * \unitlength |
| 580 |
% if \@xarg = 0 |
| 581 |
% then \@vvector |
| 582 |
% else if \@yarg = 0 |
| 583 |
% then \@hvector |
| 584 |
% else \@svector |
| 585 |
% if |
| 586 |
% if |
| 587 |
% END |
| 588 |
% |
| 589 |
% \@hvector == |
| 590 |
% BEGIN |
| 591 |
% \@hline |
| 592 |
% {\@linefnt if \@xarg < 0 then \@getlarrow(1,0) |
| 593 |
% else \@getrarrow(1,0) |
| 594 |
% fi} |
| 595 |
% END |
| 596 |
% |
| 597 |
% \@vvector == if \@yarg < 0 \@downvector else \@upvector fi |
| 598 |
% |
| 599 |
% \@svector == |
| 600 |
% BEGIN |
| 601 |
% \@sline |
| 602 |
% \@tempcnta := |\@yarg| |
| 603 |
% if \@tempcnta < 5 |
| 604 |
% then \hskip - width of \box\@linechar |
| 605 |
% \@upordown \@clnht \hbox |
| 606 |
% {\@linefnt |
| 607 |
% if @negarg then \@getlarrow(\@xarg,\@yyarg) |
| 608 |
% else \@getrarrow(\@xarg,\@yyarg) |
| 609 |
% fi } |
| 610 |
% else error: 'LATEX ERROR: Illegal \line or \vector argument.' |
| 611 |
% fi |
| 612 |
% END |
| 613 |
% |
| 614 |
% \@getlarrow(X,Y) == |
| 615 |
% BEGIN |
| 616 |
% if Y = 0 |
| 617 |
% then \@tempcnta := '33 |
| 618 |
% else \@tempcnta := 16 * X - 9 |
| 619 |
% \@tempcntb := 2 * Y |
| 620 |
% if \@tempcntb > 0 |
| 621 |
% then \@tempcnta := \@tempcnta + \@tempcntb |
| 622 |
% else \@tempcnta := \@tempcnta - \@tempcntb + 64 |
| 623 |
% fi |
| 624 |
% fi |
| 625 |
% \char\@tempcnta |
| 626 |
% END |
| 627 |
% |
| 628 |
% \@getrarrow(X,Y) == |
| 629 |
% BEGIN |
| 630 |
% \@tempcntb := |Y| |
| 631 |
% case of \@tempcntb |
| 632 |
% 0 : \@tempcnta := '55 |
| 633 |
% 1 : if X < 3 |
| 634 |
% then \@tempcnta := 24*X - 6 |
| 635 |
% else if X = 3 |
| 636 |
% then \@tempcnta := 49 |
| 637 |
% else \@tempcnta := 58 fi |
| 638 |
% fi |
| 639 |
% 2 : if X < 3 |
| 640 |
% then \@tempcnta := 24*X - 3 |
| 641 |
% else \@tempcnta := 51 % X must = 3 |
| 642 |
% fi |
| 643 |
% 3 : \@tempcnta := 16*X - 2 |
| 644 |
% 4 : \@tempcnta := 16*X + 7 |
| 645 |
% endcase |
| 646 |
% if Y < 0 |
| 647 |
% then \@tempcnta := \@tempcnta + 64 |
| 648 |
% fi |
| 649 |
% \char\@tempcnta |
| 650 |
% END |
| 651 |
% \end{oldcomments} |
| 652 |
% |
| 653 |
% \begin{macro}{\if@negarg} |
| 654 |
% \begin{macrocode} |
| 655 |
\newif\if@negarg |
| 656 |
% \end{macrocode} |
| 657 |
% \end{macro} |
| 658 |
% |
| 659 |
% \begin{macro}{\line} |
| 660 |
% \begin{macrocode} |
| 661 |
%</2ekernel> |
| 662 |
%<*2ekernel|latexrelease> |
| 663 |
%<latexrelease>\IncludeInRelease{2020/10/01}% |
| 664 |
%<latexrelease> {\line}{default units}% |
| 665 |
%<latexrelease>\expandafter\let\csname line \endcsname\@undefind |
| 666 |
\def\line(#1,#2)#3{\@xarg #1\relax \@yarg #2\relax |
| 667 |
\@defaultunitsset\@linelen{#3}\unitlength |
| 668 |
\ifdim\@linelen<\z@\@badlinearg\else |
| 669 |
\ifnum\@xarg =\z@ \@vline |
| 670 |
\else \ifnum\@yarg =\z@ \@hline \else \@sline\fi |
| 671 |
\fi |
| 672 |
\fi} |
| 673 |
%</2ekernel|latexrelease> |
| 674 |
% \end{macrocode} |
| 675 |
% |
| 676 |
% \begin{macrocode} |
| 677 |
%<latexrelease>\EndIncludeInRelease |
| 678 |
%<latexrelease>\IncludeInRelease{0000/00/00}% |
| 679 |
%<latexrelease> {\line}{default units}% |
| 680 |
%<latexrelease>\expandafter\let\csname line \endcsname\@undefind |
| 681 |
%<latexrelease>\def\line(#1,#2)#3{\@xarg #1\relax \@yarg #2\relax |
| 682 |
%<latexrelease> \@linelen #3\unitlength |
| 683 |
%<latexrelease> \ifdim\@linelen<\z@\@badlinearg\else |
| 684 |
%<latexrelease> \ifnum\@xarg =\z@ \@vline |
| 685 |
%<latexrelease> \else \ifnum\@yarg =\z@ \@hline \else \@sline\fi |
| 686 |
%<latexrelease> \fi |
| 687 |
%<latexrelease> \fi} |
| 688 |
%<latexrelease>\EndIncludeInRelease |
| 689 |
%<*2ekernel> |
| 690 |
% \end{macrocode} |
| 691 |
% \end{macro} |
| 692 |
% |
| 693 |
% \begin{macro}{\@sline} |
| 694 |
% \begin{macrocode} |
| 695 |
\def\@sline{% |
| 696 |
\ifnum\@xarg<\z@ \@negargtrue \@xarg -\@xarg \@yyarg -\@yarg |
| 697 |
\else \@negargfalse \@yyarg \@yarg \fi |
| 698 |
\ifnum \@yyarg >\z@ \@tempcnta\@yyarg \else \@tempcnta -\@yyarg \fi |
| 699 |
\ifnum\@tempcnta>6 \@badlinearg\@tempcnta\z@ \fi |
| 700 |
\ifnum\@xarg>6 \@badlinearg\@xarg \@ne \fi |
| 701 |
\setbox\@linechar\hbox{\@linefnt\@getlinechar(\@xarg,\@yyarg)}% |
| 702 |
% \end{macrocode} |
| 703 |
% If we have something like |\line(5,5){30}| the |\@linechar| will |
| 704 |
% not contain a char and later on we will end in an infinite loop. |
| 705 |
% So we check the width of the box and put in something as an |
| 706 |
% emergency fix if necessary. |
| 707 |
% \changes{v1.1k}{2003/08/27}{check for \cs{@linechar} being empty pr/3570} |
| 708 |
% \begin{macrocode} |
| 709 |
\ifdim\wd\@linechar=\z@ |
| 710 |
\setbox\@linechar\hbox{.}% |
| 711 |
\@badlinearg |
| 712 |
\fi |
| 713 |
\ifnum \@yarg >\z@ \let\@upordown\raise \@clnht\z@ |
| 714 |
\else\let\@upordown\lower \@clnht \ht\@linechar\fi |
| 715 |
\@clnwd \wd\@linechar |
| 716 |
\if@negarg |
| 717 |
\hskip -\wd\@linechar \def\reserved@a{\hskip -2\wd\@linechar}% |
| 718 |
\else |
| 719 |
\let\reserved@a\relax |
| 720 |
\fi |
| 721 |
\@whiledim \@clnwd <\@linelen \do |
| 722 |
{\@upordown\@clnht\copy\@linechar |
| 723 |
\reserved@a |
| 724 |
\advance\@clnht \ht\@linechar |
| 725 |
\advance\@clnwd \wd\@linechar}% |
| 726 |
\advance\@clnht -\ht\@linechar |
| 727 |
\advance\@clnwd -\wd\@linechar |
| 728 |
\@tempdima\@linelen\advance\@tempdima -\@clnwd |
| 729 |
\@tempdimb\@tempdima\advance\@tempdimb -\wd\@linechar |
| 730 |
\if@negarg \hskip -\@tempdimb \else \hskip \@tempdimb \fi |
| 731 |
\multiply\@tempdima \@m |
| 732 |
\@tempcnta \@tempdima |
| 733 |
\@tempdima \wd\@linechar \divide\@tempcnta \@tempdima |
| 734 |
\@tempdima \ht\@linechar \multiply\@tempdima \@tempcnta |
| 735 |
\divide\@tempdima \@m |
| 736 |
\advance\@clnht \@tempdima |
| 737 |
\ifdim \@linelen <\wd\@linechar |
| 738 |
\hskip \wd\@linechar |
| 739 |
% \end{macrocode} |
| 740 |
% Warn if line gets so short that it can't be printed. |
| 741 |
% \changes{v1.1g}{1997/09/15}{Warn if lines become invisible pr/2524} |
| 742 |
% But don't warn if it is exactly zero since that was probably |
| 743 |
% deliberate (e.g., to get a vector head only). |
| 744 |
% \changes{v1.1j}{2001/06/04}{Don't warn for exactly zero pr/3318} |
| 745 |
% \begin{macrocode} |
| 746 |
\ifdim \@linelen = \z@ |
| 747 |
\else |
| 748 |
\@picture@warn |
| 749 |
\fi |
| 750 |
\else\@upordown\@clnht\copy\@linechar\fi} |
| 751 |
% \end{macrocode} |
| 752 |
% \end{macro} |
| 753 |
% |
| 754 |
% \begin{macro}{\@hline} |
| 755 |
% \begin{macrocode} |
| 756 |
\def\@hline{\ifnum \@xarg <\z@ \hskip -\@linelen \fi |
| 757 |
\vrule \@height \@halfwidth \@depth \@halfwidth \@width \@linelen |
| 758 |
\ifnum \@xarg <\z@ \hskip -\@linelen \fi} |
| 759 |
% \end{macrocode} |
| 760 |
% \end{macro} |
| 761 |
% |
| 762 |
% \begin{macro}{\@getlinechar} |
| 763 |
% \begin{macrocode} |
| 764 |
\def\@getlinechar(#1,#2){\@tempcnta#1\relax\multiply\@tempcnta 8% |
| 765 |
\advance\@tempcnta -9\ifnum #2>\z@ \advance\@tempcnta #2\relax\else |
| 766 |
\advance\@tempcnta -#2\relax\advance\@tempcnta 64 \fi |
| 767 |
\char\@tempcnta} |
| 768 |
% \end{macrocode} |
| 769 |
% \end{macro} |
| 770 |
% |
| 771 |
% \begin{macro}{\vector} |
| 772 |
% \begin{macrocode} |
| 773 |
%</2ekernel> |
| 774 |
%<*2ekernel|latexrelease> |
| 775 |
%<latexrelease>\IncludeInRelease{2020/10/01}% |
| 776 |
%<latexrelease> {\vector}{default units}% |
| 777 |
%<latexrelease>\expandafter\let\csname vector \endcsname\@undefind |
| 778 |
\def\vector(#1,#2)#3{\@xarg #1\relax \@yarg #2\relax |
| 779 |
\@tempcnta \ifnum\@xarg<\z@ -\@xarg\else\@xarg\fi |
| 780 |
\ifnum\@tempcnta<5\relax |
| 781 |
\@defaultunitsset\@linelen{#3}\unitlength |
| 782 |
\ifdim\@linelen<\z@\@badlinearg\else |
| 783 |
\ifnum\@xarg =\z@ \@vvector |
| 784 |
\else \ifnum\@yarg =\z@ \@hvector \else \@svector\fi |
| 785 |
\fi |
| 786 |
\fi |
| 787 |
\else\@badlinearg\fi} |
| 788 |
%</2ekernel|latexrelease> |
| 789 |
% \end{macrocode} |
| 790 |
% |
| 791 |
% \begin{macrocode} |
| 792 |
%<latexrelease>\EndIncludeInRelease |
| 793 |
%<latexrelease>\IncludeInRelease{0000/00/00}% |
| 794 |
%<latexrelease> {\vector}{default units}% |
| 795 |
%<latexrelease>\expandafter\let\csname vector \endcsname\@undefind |
| 796 |
%<latexrelease>\def\vector(#1,#2)#3{\@xarg #1\relax \@yarg #2\relax |
| 797 |
%<latexrelease> \@tempcnta \ifnum\@xarg<\z@ -\@xarg\else\@xarg\fi |
| 798 |
%<latexrelease> \ifnum\@tempcnta<5\relax |
| 799 |
%<latexrelease> \@linelen #3\unitlength |
| 800 |
%<latexrelease> \ifdim\@linelen<\z@\@badlinearg\else |
| 801 |
%<latexrelease> \ifnum\@xarg =\z@ \@vvector |
| 802 |
%<latexrelease> \else \ifnum\@yarg =\z@ \@hvector \else \@svector\fi |
| 803 |
%<latexrelease> \fi |
| 804 |
%<latexrelease> \fi |
| 805 |
%<latexrelease> \else\@badlinearg\fi} |
| 806 |
%<latexrelease>\EndIncludeInRelease |
| 807 |
%<*2ekernel> |
| 808 |
% \end{macrocode} |
| 809 |
% \end{macro} |
| 810 |
% |
| 811 |
% \begin{macro}{\@hvector} |
| 812 |
% \begin{macrocode} |
| 813 |
\def\@hvector{\@hline\hb@xt@\z@{\@linefnt |
| 814 |
\ifnum \@xarg <\z@ \@getlarrow(1,0)\hss\else |
| 815 |
\hss\@getrarrow(1,0)\fi}} |
| 816 |
% \end{macrocode} |
| 817 |
% \end{macro} |
| 818 |
% |
| 819 |
% \begin{macro}{\@vvector} |
| 820 |
% \begin{macrocode} |
| 821 |
\def\@vvector{\ifnum \@yarg <\z@ \@downvector \else \@upvector \fi} |
| 822 |
% \end{macrocode} |
| 823 |
% \end{macro} |
| 824 |
% |
| 825 |
% \begin{macro}{\@svector} |
| 826 |
% \begin{macrocode} |
| 827 |
\def\@svector{\@sline |
| 828 |
\@tempcnta\@yarg \ifnum\@tempcnta <\z@ \@tempcnta -\@tempcnta\fi |
| 829 |
\ifnum\@tempcnta <5% |
| 830 |
\hskip -\wd\@linechar |
| 831 |
\@upordown\@clnht \hbox{\@linefnt \if@negarg |
| 832 |
\@getlarrow(\@xarg,\@yyarg)\else \@getrarrow(\@xarg,\@yyarg)\fi}% |
| 833 |
\else\@badlinearg\fi} |
| 834 |
% \end{macrocode} |
| 835 |
% \end{macro} |
| 836 |
% |
| 837 |
% \begin{macro}{\@getlarrow} |
| 838 |
% \changes{v1.1h}{1999/04/15}{Replaced octal number, CAR} |
| 839 |
% \begin{macrocode} |
| 840 |
\def\@getlarrow(#1,#2){\ifnum #2=\z@ \@tempcnta 27 % '33 |
| 841 |
\else |
| 842 |
\@tempcnta #1\relax\multiply\@tempcnta \sixt@@n |
| 843 |
\advance\@tempcnta -9 \@tempcntb #2\relax\multiply\@tempcntb \tw@ |
| 844 |
\ifnum \@tempcntb >\z@ \advance\@tempcnta \@tempcntb |
| 845 |
\else\advance\@tempcnta -\@tempcntb\advance\@tempcnta 64 |
| 846 |
\fi\fi\char\@tempcnta} |
| 847 |
% \end{macrocode} |
| 848 |
% \end{macro} |
| 849 |
% |
| 850 |
% \changes{v1.1h}{1999/04/15}{Replaced octal number, CAR} |
| 851 |
% \begin{macro}{\@getrarrow} |
| 852 |
% \begin{macrocode} |
| 853 |
\def\@getrarrow(#1,#2){\@tempcntb #2\relax |
| 854 |
\ifnum\@tempcntb <\z@ \@tempcntb -\@tempcntb\relax\fi |
| 855 |
\ifcase \@tempcntb\relax \@tempcnta 45 % '55 |
| 856 |
\or |
| 857 |
\ifnum #1<\thr@@ \@tempcnta #1\relax\multiply\@tempcnta |
| 858 |
24\advance\@tempcnta -6 \else \ifnum #1=\thr@@ \@tempcnta 49 |
| 859 |
\else\@tempcnta 58 \fi\fi\or |
| 860 |
\ifnum #1<\thr@@ \@tempcnta=#1\relax\multiply\@tempcnta |
| 861 |
24\advance\@tempcnta -\thr@@ \else \@tempcnta 51 \fi\or |
| 862 |
\@tempcnta #1\relax\multiply\@tempcnta |
| 863 |
\sixt@@n \advance\@tempcnta -\tw@ \else |
| 864 |
\@tempcnta #1\relax\multiply\@tempcnta |
| 865 |
\sixt@@n \advance\@tempcnta 7 \fi\ifnum #2<\z@ \advance\@tempcnta 64 \fi |
| 866 |
\char\@tempcnta} |
| 867 |
% \end{macrocode} |
| 868 |
% \end{macro} |
| 869 |
% |
| 870 |
% \begin{macro}{\@vline} |
| 871 |
% \begin{macrocode} |
| 872 |
\def\@vline{\ifnum \@yarg <\z@ \@downline \else \@upline\fi} |
| 873 |
% \end{macrocode} |
| 874 |
% \end{macro} |
| 875 |
% |
| 876 |
% \begin{macro}{\@upline} |
| 877 |
% \begin{macrocode} |
| 878 |
\def\@upline{% |
| 879 |
\hb@xt@\z@{\hskip -\@halfwidth \vrule \@width \@wholewidth |
| 880 |
\@height \@linelen \@depth \z@\hss}} |
| 881 |
% \end{macrocode} |
| 882 |
% \end{macro} |
| 883 |
% |
| 884 |
% \begin{macro}{\@downline} |
| 885 |
% \begin{macrocode} |
| 886 |
\def\@downline{% |
| 887 |
\hb@xt@\z@{\hskip -\@halfwidth \vrule \@width \@wholewidth |
| 888 |
\@height \z@ \@depth \@linelen \hss}} |
| 889 |
% \end{macrocode} |
| 890 |
% \end{macro} |
| 891 |
% |
| 892 |
% \begin{macro}{\@upvector} |
| 893 |
% \changes{v1.1h}{1999/04/15}{Replaced octal number, CAR} |
| 894 |
% \changes{v1.1i}{2000/01/15}{Removed space at end-of-line, CAR} |
| 895 |
% \begin{macrocode} |
| 896 |
\def\@upvector{\@upline\setbox\@tempboxa\hbox{\@linefnt\char 54}% '66 |
| 897 |
\raise \@linelen \hb@xt@\z@{\lower \ht\@tempboxa\box\@tempboxa\hss}} |
| 898 |
% \end{macrocode} |
| 899 |
% \end{macro} |
| 900 |
% |
| 901 |
% \changes{v1.1h}{1999/04/15}{Replaced octal number, CAR} |
| 902 |
% \begin{macro}{\@downvector} |
| 903 |
% \begin{macrocode} |
| 904 |
\def\@downvector{\@downline\lower \@linelen |
| 905 |
\hb@xt@\z@{\@linefnt\char 63 % '77 |
| 906 |
\hss}} |
| 907 |
% \end{macrocode} |
| 908 |
% \end{macro} |
| 909 |
% |
| 910 |
% \begin{oldcomments} |
| 911 |
% \dashbox{D}(X,Y) == |
| 912 |
% BEGIN |
| 913 |
% leave vertical mode |
| 914 |
% \hb@xt@ 0pt { |
| 915 |
% \baselineskip := 0pt |
| 916 |
% \lineskip := 0pt |
| 917 |
% %% HORIZONTAL DASHES |
| 918 |
% \@dashdim := X * \unitlength |
| 919 |
% \@dashcnt := \@dashdim + 200 % to prevent roundoff error |
| 920 |
% \@dashdim := D * \unitlength |
| 921 |
% \@dashcnt := \@dashcnt / \@dashdim |
| 922 |
% if \@dashcnt is odd |
| 923 |
% then \@dashdim := 0pt |
| 924 |
% \@dashcnt := (\@dashcnt + 1) / 2 |
| 925 |
% else \@dashdim := \@dashdim / 2 |
| 926 |
% \@dashcnt := \@dashcnt / 2 - 1 |
| 927 |
% \box\@dashbox := \hbox{\vrule height \@halfwidth |
| 928 |
% depth \@halfwidth width \@dashdim} |
| 929 |
% \put(0,0){\copy\@dashbox} |
| 930 |
% \put(0,Y){\copy\@dashbox} |
| 931 |
% \put(X,0){\hskip -\@dashdim\copy\@dashbox} |
| 932 |
% \put(X,Y){\hskip -\@dashdim\box\@dashbox} |
| 933 |
% \@dashdim := 3 * \@dashdim |
| 934 |
% fi |
| 935 |
% \box\@dashbox := \hbox{\vrule height \@halfwidth |
| 936 |
% depth \@halfwidth width D * \unitlength |
| 937 |
% \hskip D * \unitlength} |
| 938 |
% \@tempcnta := 0 |
| 939 |
% \put(0,0){\hskip \@dashdim |
| 940 |
% while \@tempcnta < \@dascnt |
| 941 |
% do \copy\@dashbox |
| 942 |
% \@tempcnta := \@tempcnta + 1 |
| 943 |
% od |
| 944 |
% } |
| 945 |
% \@tempcnta := 0 |
| 946 |
% put(0,Y){\hskip \@dashdim |
| 947 |
% while \@tempcnta < \@dascnt |
| 948 |
% do \copy\@dashbox |
| 949 |
% \@tempcnta := \@tempcnta + 1 |
| 950 |
% od |
| 951 |
% } |
| 952 |
% |
| 953 |
% %% vertical dashes |
| 954 |
% \@dashdim := Y * \unitlength |
| 955 |
% \@dashcnt := \@dashdim + 200 % to prevent roundoff error |
| 956 |
% \@dashdim := D * \unitlength |
| 957 |
% \@dashcnt := \@dashcnt / \@dashdim |
| 958 |
% if \@dashcnt is odd |
| 959 |
% then \@dashdim := 0pt |
| 960 |
% \@dashcnt := (\@dashcnt + 1) / 2 |
| 961 |
% else \@dashdim := \@dashdim / 2 |
| 962 |
% \@dashcnt := \@dashcnt / 2 - 1 |
| 963 |
% \box\@dashbox := \hbox{\hskip -\@halfwidth |
| 964 |
% \vrule width \@wholewidth |
| 965 |
% height \@dashdim } |
| 966 |
% \put(0,0){\copy\@dashbox} |
| 967 |
% \put(X,0){\copy\@dashbox} |
| 968 |
% \put(0,Y){\lower\@dashdim\copy\@dashbox} |
| 969 |
% \put(X,Y){\lower\@dashdim\copy\@dashbox} |
| 970 |
% \@dashdim := 3 * \@dashdim |
| 971 |
% fi |
| 972 |
% \box\@dashbox := \hbox{\vrule width \@wholewidth |
| 973 |
% height D * \unitlength } |
| 974 |
% \@tempcnta := 0 |
| 975 |
% put(0,0){\hskip -\halfwidth |
| 976 |
% \vbox{while \@tempcnta < \@dashcnt |
| 977 |
% do \vskip D*\unitlength |
| 978 |
% \copy\@dashbox |
| 979 |
% \@tempcnta := \@tempcnta + 1 |
| 980 |
% od |
| 981 |
% \vskip \@dashdim |
| 982 |
% } } |
| 983 |
% \@tempcnta := 0 |
| 984 |
% put(X,0){\hskip -\halfwidth |
| 985 |
% \vbox{while \@tempcnta < \@dashcnt |
| 986 |
% do \vskip D*\unitlength |
| 987 |
% \copy\@dashbox |
| 988 |
% \@tempcnta := \@tempcnta + 1 |
| 989 |
% od |
| 990 |
% \vskip \@dashdim |
| 991 |
% } |
| 992 |
% } |
| 993 |
% } % END DASHES |
| 994 |
% |
| 995 |
% \@imakepicbox(X,Y) |
| 996 |
% END |
| 997 |
% \end{oldcomments} |
| 998 |
% |
| 999 |
% \begin{macro}{\dashbox} |
| 1000 |
% \begin{macrocode} |
| 1001 |
%</2ekernel> |
| 1002 |
%<*2ekernel|latexrelease> |
| 1003 |
%<latexrelease>\IncludeInRelease{2020/10/01}% |
| 1004 |
%<latexrelease> {\dashbox}{default units}% |
| 1005 |
%<latexrelease>\expandafter\let\csname dashbox \endcsname\@undefind |
| 1006 |
\def\dashbox#1(#2,#3){\leavevmode\hb@xt@\z@{\baselineskip \z@skip |
| 1007 |
\lineskip \z@skip |
| 1008 |
\@defaultunitsset\@dashdim{#2}\unitlength |
| 1009 |
\@dashcnt \@dashdim \advance\@dashcnt 200 |
| 1010 |
\@defaultunitsset\@dashdim{#1}\unitlength |
| 1011 |
\divide\@dashcnt \@dashdim |
| 1012 |
\ifodd\@dashcnt\@dashdim \z@ |
| 1013 |
\advance\@dashcnt \@ne \divide\@dashcnt \tw@ |
| 1014 |
\else \divide\@dashdim \tw@ \divide\@dashcnt \tw@ |
| 1015 |
\advance\@dashcnt \m@ne |
| 1016 |
\setbox\@dashbox \hbox{\vrule \@height \@halfwidth \@depth \@halfwidth |
| 1017 |
\@width \@dashdim}\put(0,0){\copy\@dashbox}% |
| 1018 |
\put(0,#3){\copy\@dashbox}% |
| 1019 |
\put(#2,0){\hskip-\@dashdim\copy\@dashbox}% |
| 1020 |
\put(#2,#3){\hskip-\@dashdim\box\@dashbox}% |
| 1021 |
\multiply\@dashdim \thr@@ |
| 1022 |
\fi |
| 1023 |
\setbox\@dashbox \hbox{% |
| 1024 |
\@defaultunitsset\@tempdimc{#1}\unitlength |
| 1025 |
\vrule \@height \@halfwidth \@depth \@halfwidth \@width \@tempdimc |
| 1026 |
\hskip\@tempdimc}% |
| 1027 |
\@tempcnta\z@ |
| 1028 |
\put(0,0){\hskip\@dashdim \@whilenum \@tempcnta <\@dashcnt |
| 1029 |
\do{\copy\@dashbox\advance\@tempcnta \@ne }}\@tempcnta\z@ |
| 1030 |
\put(0,#3){\hskip\@dashdim \@whilenum \@tempcnta <\@dashcnt |
| 1031 |
\do{\copy\@dashbox\advance\@tempcnta \@ne }}% |
| 1032 |
\@defaultunitsset\@dashdim{#3}\unitlength |
| 1033 |
\@dashcnt \@dashdim \advance\@dashcnt 200 |
| 1034 |
\@defaultunitsset\@dashdim{#1}\unitlength |
| 1035 |
\divide\@dashcnt \@dashdim |
| 1036 |
\ifodd\@dashcnt \@dashdim \z@ |
| 1037 |
\advance\@dashcnt \@ne \divide\@dashcnt \tw@ |
| 1038 |
\else |
| 1039 |
\divide\@dashdim \tw@ \divide\@dashcnt \tw@ |
| 1040 |
\advance\@dashcnt \m@ne |
| 1041 |
\setbox\@dashbox\hbox{\hskip -\@halfwidth |
| 1042 |
\vrule \@width \@wholewidth |
| 1043 |
\@height \@dashdim}\put(0,0){\copy\@dashbox}% |
| 1044 |
\put(#2,0){\copy\@dashbox}% |
| 1045 |
\put(0,#3){\lower\@dashdim\copy\@dashbox}% |
| 1046 |
\put(#2,#3){\lower\@dashdim\copy\@dashbox}% |
| 1047 |
\multiply\@dashdim \thr@@ |
| 1048 |
\fi |
| 1049 |
\@defaultunitsset\@tempdimb{#1}\unitlength |
| 1050 |
\setbox\@dashbox\hbox{% |
| 1051 |
\vrule \@width \@wholewidth \@height\@tempdimb}% |
| 1052 |
\@tempcnta\z@ |
| 1053 |
\put(0,0){\hskip -\@halfwidth \vbox{\@whilenum \@tempcnta <\@dashcnt |
| 1054 |
\do{\vskip\@tempdimb\copy\@dashbox\advance\@tempcnta \@ne }% |
| 1055 |
\vskip\@dashdim}}\@tempcnta\z@ |
| 1056 |
\put(#2,0){\hskip -\@halfwidth \vbox{\@whilenum \@tempcnta<\@dashcnt |
| 1057 |
\do{\vskip\@tempdimb\copy\@dashbox\advance\@tempcnta \@ne }% |
| 1058 |
\vskip\@dashdim}}}\@makepicbox(#2,#3)} |
| 1059 |
%</2ekernel|latexrelease> |
| 1060 |
% \end{macrocode} |
| 1061 |
% |
| 1062 |
% \begin{macrocode} |
| 1063 |
%<latexrelease>\EndIncludeInRelease |
| 1064 |
%<latexrelease>\IncludeInRelease{0000/00/00}% |
| 1065 |
%<latexrelease> {\dashbox}{default units}% |
| 1066 |
%<latexrelease>\expandafter\let\csname dashbox \endcsname\@undefind |
| 1067 |
%<latexrelease>\def\dashbox#1(#2,#3){% |
| 1068 |
%<latexrelease>\leavevmode\hb@xt@\z@{\baselineskip \z@skip |
| 1069 |
%<latexrelease>\lineskip \z@skip |
| 1070 |
%<latexrelease>\@dashdim #2\unitlength |
| 1071 |
%<latexrelease>\@dashcnt \@dashdim \advance\@dashcnt 200 |
| 1072 |
%<latexrelease>\@dashdim #1\unitlength\divide\@dashcnt \@dashdim |
| 1073 |
%<latexrelease>\ifodd\@dashcnt\@dashdim \z@ |
| 1074 |
%<latexrelease>\advance\@dashcnt \@ne \divide\@dashcnt \tw@ |
| 1075 |
%<latexrelease>\else \divide\@dashdim \tw@ \divide\@dashcnt \tw@ |
| 1076 |
%<latexrelease>\advance\@dashcnt \m@ne |
| 1077 |
%<latexrelease>\setbox\@dashbox \hbox{% |
| 1078 |
%<latexrelease> \vrule \@height \@halfwidth \@depth \@halfwidth |
| 1079 |
%<latexrelease> \@width \@dashdim}\put(0,0){\copy\@dashbox}% |
| 1080 |
%<latexrelease>\put(0,#3){\copy\@dashbox}% |
| 1081 |
%<latexrelease>\put(#2,0){\hskip-\@dashdim\copy\@dashbox}% |
| 1082 |
%<latexrelease>\put(#2,#3){\hskip-\@dashdim\box\@dashbox}% |
| 1083 |
%<latexrelease>\multiply\@dashdim \thr@@ |
| 1084 |
%<latexrelease>\fi |
| 1085 |
%<latexrelease>\setbox\@dashbox \hbox{% |
| 1086 |
%<latexrelease> \vrule \@height \@halfwidth \@depth \@halfwidth |
| 1087 |
%<latexrelease> \@width #1\unitlength\hskip #1\unitlength}\@tempcnta\z@ |
| 1088 |
%<latexrelease>\put(0,0){\hskip\@dashdim \@whilenum \@tempcnta <\@dashcnt |
| 1089 |
%<latexrelease>\do{\copy\@dashbox\advance\@tempcnta \@ne }}\@tempcnta\z@ |
| 1090 |
%<latexrelease>\put(0,#3){\hskip\@dashdim \@whilenum \@tempcnta <\@dashcnt |
| 1091 |
%<latexrelease>\do{\copy\@dashbox\advance\@tempcnta \@ne }}% |
| 1092 |
%<latexrelease>\@dashdim #3\unitlength |
| 1093 |
%<latexrelease>\@dashcnt \@dashdim \advance\@dashcnt 200 |
| 1094 |
%<latexrelease>\@dashdim #1\unitlength\divide\@dashcnt \@dashdim |
| 1095 |
%<latexrelease>\ifodd\@dashcnt \@dashdim \z@ |
| 1096 |
%<latexrelease>\advance\@dashcnt \@ne \divide\@dashcnt \tw@ |
| 1097 |
%<latexrelease>\else |
| 1098 |
%<latexrelease>\divide\@dashdim \tw@ \divide\@dashcnt \tw@ |
| 1099 |
%<latexrelease>\advance\@dashcnt \m@ne |
| 1100 |
%<latexrelease>\setbox\@dashbox\hbox{\hskip -\@halfwidth |
| 1101 |
%<latexrelease>\vrule \@width \@wholewidth |
| 1102 |
%<latexrelease>\@height \@dashdim}\put(0,0){\copy\@dashbox}% |
| 1103 |
%<latexrelease>\put(#2,0){\copy\@dashbox}% |
| 1104 |
%<latexrelease>\put(0,#3){\lower\@dashdim\copy\@dashbox}% |
| 1105 |
%<latexrelease>\put(#2,#3){\lower\@dashdim\copy\@dashbox}% |
| 1106 |
%<latexrelease>\multiply\@dashdim \thr@@ |
| 1107 |
%<latexrelease>\fi |
| 1108 |
%<latexrelease>\setbox\@dashbox\hbox{\vrule \@width \@wholewidth |
| 1109 |
%<latexrelease>\@height #1\unitlength}\@tempcnta\z@ |
| 1110 |
%<latexrelease>\put(0,0){% |
| 1111 |
%<latexrelease> \hskip -\@halfwidth \vbox{\@whilenum \@tempcnta <\@dashcnt |
| 1112 |
%<latexrelease> \do{\vskip #1\unitlength\copy\@dashbox |
| 1113 |
%<latexrelease> \advance\@tempcnta\@ne }% |
| 1114 |
%<latexrelease> \vskip\@dashdim}}\@tempcnta\z@ |
| 1115 |
%<latexrelease>\put(#2,0){% |
| 1116 |
%<latexrelease> \hskip -\@halfwidth \vbox{\@whilenum \@tempcnta<\@dashcnt |
| 1117 |
%<latexrelease> \do{\vskip #1\unitlength\copy\@dashbox |
| 1118 |
%<latexrelease> \advance\@tempcnta \@ne }% |
| 1119 |
%<latexrelease> \vskip\@dashdim}}}\@makepicbox(#2,#3)} |
| 1120 |
%<latexrelease>\EndIncludeInRelease |
| 1121 |
%<*2ekernel> |
| 1122 |
% \end{macrocode} |
| 1123 |
% \end{macro} |
| 1124 |
% |
| 1125 |
% \begin{oldcomments} |
| 1126 |
% CIRCLES AND OVALS |
| 1127 |
% |
| 1128 |
% USER COMMANDS: |
| 1129 |
% |
| 1130 |
% \circle{D} : Produces the circle with the diameter as close as |
| 1131 |
% possible to D * \unitlength. \put(X,Y){\circle{D}} |
| 1132 |
% puts the circle with its center at (X,Y). |
| 1133 |
% |
| 1134 |
% \oval(X,Y) : Makes an oval as round as possible that fits in the |
| 1135 |
% rectangle of width X * \unitlength and height |
| 1136 |
% Y * \unitlength. The reference point is the center. |
| 1137 |
% |
| 1138 |
% \oval(X,Y)[POS] : Save as \oval(X,Y) except it draws only the |
| 1139 |
% half or quadrant of the oval indicated by POS. |
| 1140 |
% E.G., \oval(X,Y)[t] draws just the top half |
| 1141 |
% and \oval(X,Y)[br] draws just the bottom right |
| 1142 |
% quadrant. In all cases, the reference point is |
| 1143 |
% the same as the unqualified \oval(X,Y) command. |
| 1144 |
% |
| 1145 |
% \@ovvert {DELTA1} {DELTA2} : Makes a vbox containing either the left |
| 1146 |
% side or the right side of the oval being constructed. The baseline |
| 1147 |
% will coincide with the outside bottom edge of the oval; the left |
| 1148 |
% side of the box will coincide with the left edge of the vertical |
| 1149 |
% rule. The width of the box will be \@tempdima. |
| 1150 |
% DELTA1 and DELTA2 are added to the character number in \@tempcnta |
| 1151 |
% to get the characters for the top and bottom quarter circle pieces. |
| 1152 |
% |
| 1153 |
% \@ovhorz : Makes an hbox containing the straight rule for either the |
| 1154 |
% top or the bottom of the oval being constructed. The baseline |
| 1155 |
% will coincide with bottom edge of the rule; the left side of |
| 1156 |
% the box will coincide with the left side of the oval. |
| 1157 |
% The width of the box will be \@ovxx. |
| 1158 |
% |
| 1159 |
% \@getcirc {DIAM} : Sets \@tempcnta to the character number |
| 1160 |
% of the top-right quarter circle with the largest |
| 1161 |
% diameter less than or equal to DIAM. |
| 1162 |
% Sets \@tempboxa to an hbox containing that character. |
| 1163 |
% Sets \@tempdima to \wd \@tempboxa, which is the distance |
| 1164 |
% from the circle's left outside edge to its right |
| 1165 |
% inside edge. |
| 1166 |
% (These characters are like those described in the |
| 1167 |
% TeXbook, pp. 389-90.) |
| 1168 |
% |
| 1169 |
% \@getcirc {DIAM} == |
| 1170 |
% BEGIN |
| 1171 |
% \@tempcnta := integer coercion of (DIAM + 2pt) |
| 1172 |
% + 2pt added 1 Nov 88 |
| 1173 |
% \@tempcnta := \@tempcnta / integer coercion of 4pt |
| 1174 |
% if \@tempcnta > 10 |
| 1175 |
% then \@tempcnta := 10 fi |
| 1176 |
% if \@tempcnta > 0 |
| 1177 |
% then \@tempcnta := \@tempcnta-1 |
| 1178 |
% else LaTeX Warning: Oval too small. |
| 1179 |
% fi |
| 1180 |
% \@tempcnta := 4 * \@tempcnta |
| 1181 |
% \@tempboxa := \hbox{\@circlefnt \char \@tempcnta} |
| 1182 |
% \@tempdima := \wd \@tempboxa |
| 1183 |
% END |
| 1184 |
% |
| 1185 |
% \@put{X}{Y}{OBJ} == |
| 1186 |
% BEGIN |
| 1187 |
% \raise Y \hb@xt@ 0pt{\hskip X OBJ \hss} |
| 1188 |
% END |
| 1189 |
% |
| 1190 |
% \@oval(X,Y)[POS] == |
| 1191 |
% BEGIN |
| 1192 |
% \begingroup |
| 1193 |
% \boxmaxdepth := \maxdimen |
| 1194 |
% @ovt := @ovb := @ovl := @ovr := true |
| 1195 |
% for all E in POS |
| 1196 |
% do @ovE := false od |
| 1197 |
% \@ovxx := X * \unitlength |
| 1198 |
% \@ovyy := Y * \unitlength |
| 1199 |
% \@tempdimb := min(\@ovxx,\@ovyy) |
| 1200 |
% \@getcirc{\@tempdimb-2pt} %% "-2pt" added 7 Dec 89 |
| 1201 |
% \@ovro := \ht \@tempboxa |
| 1202 |
% \@ovri := \dp \@tempboxa |
| 1203 |
% \@ovdx := \@ovxx - \@tempdima |
| 1204 |
% \@ovdx := \@ovdx/2 |
| 1205 |
% \@ovdy := \@ovyy - \@tempdima |
| 1206 |
% \@ovdy := \@ovyy/2 |
| 1207 |
% \@circlefnt |
| 1208 |
% \@tempboxa := |
| 1209 |
% \hbox{ |
| 1210 |
% if @ovr |
| 1211 |
% then \@ovvert{3}{2} \kern -\@tempdima |
| 1212 |
% fi |
| 1213 |
% if @ovl |
| 1214 |
% then \kern \@ovxx \@ovvert{0}{1} \kern -\@tempdima |
| 1215 |
% \kern -\@ovxx |
| 1216 |
% fi |
| 1217 |
% if @ovt |
| 1218 |
% then \@ovhorz \kern -\@ovxx |
| 1219 |
% fi |
| 1220 |
% if @ovb |
| 1221 |
% then \raise \@ovyy \@ovhorz |
| 1222 |
% fi |
| 1223 |
% } |
| 1224 |
% \@ovdx := \@ovdx + \@ovro |
| 1225 |
% \@ovdy := \@ovdy + \@ovro |
| 1226 |
% \ht\@tempboxa := \dp\@tempboxa := 0 |
| 1227 |
% \@put{-\@ovdx}{-\@ovdy}{\box\@tempboxa} |
| 1228 |
% \endgroup |
| 1229 |
% END |
| 1230 |
% |
| 1231 |
% \@ovvert {DELTA1} {DELTA2} == |
| 1232 |
% BEGIN |
| 1233 |
% \vbox to \@ovyy { |
| 1234 |
% if @ovb |
| 1235 |
% then \@tempcntb := \@tempcnta + DELTA1 |
| 1236 |
% \kern -\@ovro |
| 1237 |
% \hbox { \char \@tempcntb } |
| 1238 |
% \nointerlineskip |
| 1239 |
% else \kern \@ovri \kern \@ovdy |
| 1240 |
% fi |
| 1241 |
% \leaders \vrule width \@wholewidth \vfil |
| 1242 |
% \nointerlineskip |
| 1243 |
% if @ovt |
| 1244 |
% then \@tempcntb := \@tempcnta + DELTA2 |
| 1245 |
% \hbox { \char \@tempcntb } |
| 1246 |
% else \kern \@ovdy \kern \@ovro |
| 1247 |
% fi |
| 1248 |
% } |
| 1249 |
% END |
| 1250 |
% |
| 1251 |
% \@ovhorz == |
| 1252 |
% BEGIN |
| 1253 |
% \hb@xt@ \@ovxx{ |
| 1254 |
% \kern \@ovro |
| 1255 |
% if @ovr |
| 1256 |
% then |
| 1257 |
% else \kern \@ovdx |
| 1258 |
% fi |
| 1259 |
% \leaders \hrule height \@wholewidth \hfil |
| 1260 |
% if @ovl |
| 1261 |
% then |
| 1262 |
% else \kern \@ovdx |
| 1263 |
% fi |
| 1264 |
% \kern \@ovri |
| 1265 |
% } |
| 1266 |
% END |
| 1267 |
% |
| 1268 |
% \circle{DIAM} == |
| 1269 |
% BEGIN |
| 1270 |
% \begingroup |
| 1271 |
% \boxmaxdepth := maxdimen |
| 1272 |
% \@tempdimb := DIAM *\unitlength |
| 1273 |
% if \@tempdimb > 15.5pt |
| 1274 |
% then \@getcirc{\@tempdimb} |
| 1275 |
% \@ovro := \ht \@tempboxa |
| 1276 |
% \@tempboxa := \hbox{ |
| 1277 |
% \@circlefnt |
| 1278 |
% \@tempcnta := \@tempcnta + 2 |
| 1279 |
% \char \@tempcnta |
| 1280 |
% \@tempcnta := \@tempcnta - 1 |
| 1281 |
% \char \@tempcnta |
| 1282 |
% \kern -2\@tempdima |
| 1283 |
% \@tempcnta := \@tempcnta + 2 |
| 1284 |
% \raise \@tempdima \hbox { \char \@tempcnta } |
| 1285 |
% \raise \@tempdima \box\@tempboxa |
| 1286 |
% } |
| 1287 |
% \ht\@tempboxa := \dp\@tempboxa := 0 |
| 1288 |
% \@put{-\@ovro}{-\@ovro}{\@tempboxa} |
| 1289 |
% else |
| 1290 |
% \@circ{\@tempdimb}{96} |
| 1291 |
% fi |
| 1292 |
% \endgroup |
| 1293 |
% END |
| 1294 |
% |
| 1295 |
% \circle*{DIAM} == \@dot{DIAM} == \@circ{DIAM*\unitlength}{112} |
| 1296 |
% |
| 1297 |
% \@circ{DIAM}{CHAR} == |
| 1298 |
% BEGIN |
| 1299 |
% \@tempcnta := integer coercion of (DIAM + .5pt)/1pt. |
| 1300 |
% if \@tempcnta > 15 then \@tempcnta := 15 fi |
| 1301 |
% if \@tempcnta > 1 then \@tempcnta := \@tempcnta - 1 fi |
| 1302 |
% \@tempcnta := \@tempcnta + CHAR |
| 1303 |
% \@circlefnt |
| 1304 |
% \char \@tempcnta |
| 1305 |
% END |
| 1306 |
% \end{oldcomments} |
| 1307 |
% |
| 1308 |
% |
| 1309 |
% \begin{macro}{\if@ovt} |
| 1310 |
% \begin{macro}{\if@ovb} |
| 1311 |
% \begin{macro}{\if@ovl} |
| 1312 |
% \begin{macro}{\if@ovr} |
| 1313 |
% If producing the Top Bottom Left or Right of an oval. |
| 1314 |
% \begin{macrocode} |
| 1315 |
\newif\if@ovt |
| 1316 |
\newif\if@ovb |
| 1317 |
\newif\if@ovl |
| 1318 |
\newif\if@ovr |
| 1319 |
% \end{macrocode} |
| 1320 |
% \end{macro} |
| 1321 |
% \end{macro} |
| 1322 |
% \end{macro} |
| 1323 |
% \end{macro} |
| 1324 |
% |
| 1325 |
% |
| 1326 |
% \begin{macro}{\@ovxx} |
| 1327 |
% \begin{macro}{\@ovyy} |
| 1328 |
% \begin{macro}{\@ovdx} |
| 1329 |
% \begin{macro}{\@ovdy} |
| 1330 |
% \begin{macro}{\@ovro} |
| 1331 |
% \begin{macro}{\@ovri} |
| 1332 |
% \begin{macrocode} |
| 1333 |
\newdimen\@ovxx |
| 1334 |
\newdimen\@ovyy |
| 1335 |
\newdimen\@ovdx |
| 1336 |
\newdimen\@ovdy |
| 1337 |
\newdimen\@ovro |
| 1338 |
\newdimen\@ovri |
| 1339 |
% \end{macrocode} |
| 1340 |
% \end{macro} |
| 1341 |
% \end{macro} |
| 1342 |
% \end{macro} |
| 1343 |
% \end{macro} |
| 1344 |
% \end{macro} |
| 1345 |
% \end{macro} |
| 1346 |
% |
| 1347 |
% |
| 1348 |
% |\advance\@tempdima 2pt\relax| added 1 Nov 88 to fix bug in which |
| 1349 |
% size of drawn circle not monotonic function of argument of |\circle|, |
| 1350 |
% caused by different rounding for dimensions of large and small |
| 1351 |
% circles. |
| 1352 |
% |
| 1353 |
% |
| 1354 |
% \begin{macro}{\@getcirc} |
| 1355 |
% \changes{v1.1j}{2003/12/30}{issue warning if circle size can't be met pr/3473} |
| 1356 |
% \begin{macrocode} |
| 1357 |
\def\@getcirc#1{\@tempdima #1\relax \advance\@tempdima 2\p@ |
| 1358 |
\@tempcnta\@tempdima |
| 1359 |
\@tempdima 4\p@ \divide\@tempcnta\@tempdima |
| 1360 |
\ifnum \@tempcnta >10\relax |
| 1361 |
\@picture@warn |
| 1362 |
\@tempcnta 10\relax |
| 1363 |
\fi |
| 1364 |
\ifnum \@tempcnta >\z@ \advance\@tempcnta\m@ne |
| 1365 |
% \end{macrocode} |
| 1366 |
% Warn if requirements for oval or circle can't be met. |
| 1367 |
% \changes{v1.1g}{1997/09/15}{Warn if lines become invisible pr/2524} |
| 1368 |
% \begin{macrocode} |
| 1369 |
\else \@picture@warn \fi |
| 1370 |
\multiply\@tempcnta 4\relax |
| 1371 |
\setbox \@tempboxa \hbox{\@circlefnt |
| 1372 |
\char \@tempcnta}\@tempdima \wd \@tempboxa} |
| 1373 |
% \end{macrocode} |
| 1374 |
% \end{macro} |
| 1375 |
% |
| 1376 |
% \begin{macro}{\@picture@warn} |
| 1377 |
% Generic warning for lines, vectors (used in |\@sline|) and |
| 1378 |
% oval or circle (used in |\@getcirc|) are not available at |
| 1379 |
% right size. |
| 1380 |
% \changes{v1.1g}{1997/09/15}{Macro added pr/2524} |
| 1381 |
% \begin{macrocode} |
| 1382 |
\def\@picture@warn{\@latex@warning{% |
| 1383 |
\string\oval, \string\circle, or \string\line\space |
| 1384 |
size unavailable}} |
| 1385 |
% \end{macrocode} |
| 1386 |
% \end{macro} |
| 1387 |
% |
| 1388 |
% \begin{macro}{\@put} |
| 1389 |
% \begin{macrocode} |
| 1390 |
\def\@put#1#2#3{\raise #2\hb@xt@\z@{\hskip #1#3\hss}} |
| 1391 |
% \end{macrocode} |
| 1392 |
% \end{macro} |
| 1393 |
% |
| 1394 |
% \begin{macro}{\oval} |
| 1395 |
% \begin{macrocode} |
| 1396 |
\def\oval(#1,#2){\@ifnextchar[{\@oval(#1,#2)}{\@oval(#1,#2)[]}} |
| 1397 |
% \end{macrocode} |
| 1398 |
% \end{macro} |
| 1399 |
% |
| 1400 |
% \begin{macrocode} |
| 1401 |
%</2ekernel> |
| 1402 |
%<latexrelease>\IncludeInRelease{2016/03/31}% |
| 1403 |
%<latexrelease> {\@ovhlinetrue}% |
| 1404 |
%<latexrelease> {Avoid almost zero length leaders}% |
| 1405 |
%<*2ekernel|latexrelease> |
| 1406 |
% \end{macrocode} |
| 1407 |
% |
| 1408 |
% \begin{macro}{\if@ovvline} |
| 1409 |
% \changes{v1.1l}{2016/03/29}{macro added (latex/4452)} |
| 1410 |
% \begin{macro}{\if@ovhline} |
| 1411 |
% \changes{v1.1l}{2016/03/29}{macro added (latex/4452)} |
| 1412 |
% Tests whether horizontal or vertical lines are needed. |
| 1413 |
% \begin{macrocode} |
| 1414 |
\newif\if@ovvline \@ovvlinetrue |
| 1415 |
\newif\if@ovhline \@ovhlinetrue |
| 1416 |
%</2ekernel|latexrelease> |
| 1417 |
%<latexrelease>\EndIncludeInRelease |
| 1418 |
%<latexrelease>\IncludeInRelease{0000/00/00}% |
| 1419 |
%<latexrelease> {\@ovhlinetrue}% |
| 1420 |
%<latexrelease> {Avoid almost zero length leaders}% |
| 1421 |
%<latexrelease>\let\if@ovvline\@undefined |
| 1422 |
%<latexrelease>\let\if@ovhline\@undefined |
| 1423 |
%<latexrelease>\EndIncludeInRelease |
| 1424 |
%<*2ekernel> |
| 1425 |
% \end{macrocode} |
| 1426 |
% \end{macro} |
| 1427 |
% \end{macro} |
| 1428 |
% |
| 1429 |
% \begin{macro}{\@oval} |
| 1430 |
% \begin{macrocode} |
| 1431 |
%</2ekernel> |
| 1432 |
%<*2ekernel|latexrelease> |
| 1433 |
%<latexrelease>\IncludeInRelease{2020/10/01}% |
| 1434 |
%<latexrelease> {\@oval}{default units}% |
| 1435 |
\def\@oval(#1,#2)[#3]{\begingroup\boxmaxdepth \maxdimen |
| 1436 |
\@ovttrue \@ovbtrue \@ovltrue \@ovrtrue |
| 1437 |
% \end{macrocode} |
| 1438 |
% \changes{v1.1l}{2016/03/29}{initialise tests} |
| 1439 |
% \begin{macrocode} |
| 1440 |
\@ovvlinefalse \@ovhlinefalse |
| 1441 |
% \end{macrocode} |
| 1442 |
% \begin{macrocode} |
| 1443 |
\@tfor\reserved@a :=#3\do{% |
| 1444 |
\csname @ov\reserved@a false\endcsname}% |
| 1445 |
\@defaultunitsset\@ovxx{#1}\unitlength |
| 1446 |
\@defaultunitsset\@ovyy{#2}\unitlength |
| 1447 |
% \end{macrocode} |
| 1448 |
% \changes{v1.1l}{2016/03/29}{add setting of line tests} |
| 1449 |
% \begin{macrocode} |
| 1450 |
\@tempdimb \ifdim \@ovyy >\@ovxx \@ovxx \@ovvlinetrue |
| 1451 |
\else \@ovyy \ifdim \@ovyy =\@ovxx \else \@ovhlinetrue \fi\fi |
| 1452 |
% \end{macrocode} |
| 1453 |
% \begin{macrocode} |
| 1454 |
\advance \@tempdimb -2\p@ |
| 1455 |
\@getcirc \@tempdimb |
| 1456 |
\@ovro \ht\@tempboxa \@ovri \dp\@tempboxa |
| 1457 |
\@ovdx\@ovxx \advance\@ovdx -\@tempdima \divide\@ovdx \tw@ |
| 1458 |
\@ovdy\@ovyy \advance\@ovdy -\@tempdima \divide\@ovdy \tw@ |
| 1459 |
% \end{macrocode} |
| 1460 |
% \changes{v1.1l}{2016/03/29}{add setting of line tests} |
| 1461 |
% \begin{macrocode} |
| 1462 |
\ifdim \@ovdx >\z@ \@ovhlinetrue \fi |
| 1463 |
\ifdim \@ovdy >\z@ \@ovvlinetrue \fi |
| 1464 |
% \end{macrocode} |
| 1465 |
% \begin{macrocode} |
| 1466 |
\@circlefnt \setbox\@tempboxa |
| 1467 |
\hbox{\if@ovr \@ovvert32\kern -\@tempdima \fi |
| 1468 |
\if@ovl \kern \@ovxx \@ovvert01\kern -\@tempdima \kern -\@ovxx \fi |
| 1469 |
\if@ovt \@ovhorz \kern -\@ovxx \fi |
| 1470 |
\if@ovb \raise \@ovyy \@ovhorz \fi}\advance\@ovdx\@ovro |
| 1471 |
\advance\@ovdy\@ovro \ht\@tempboxa\z@ \dp\@tempboxa\z@ |
| 1472 |
\@put{-\@ovdx}{-\@ovdy}{\box\@tempboxa}% |
| 1473 |
\endgroup} |
| 1474 |
%</2ekernel|latexrelease> |
| 1475 |
% \end{macrocode} |
| 1476 |
% |
| 1477 |
% \begin{macrocode} |
| 1478 |
%<latexrelease>\EndIncludeInRelease |
| 1479 |
%<latexrelease>\IncludeInRelease{2016/03/31}% |
| 1480 |
%<latexrelease> {\@oval}{default units}% |
| 1481 |
%<latexrelease>\def\@oval(#1,#2)[#3]{\begingroup\boxmaxdepth \maxdimen |
| 1482 |
%<latexrelease> \@ovttrue \@ovbtrue \@ovltrue \@ovrtrue |
| 1483 |
%<latexrelease> \@ovvlinefalse \@ovhlinefalse |
| 1484 |
%<latexrelease> \@tfor\reserved@a :=#3\do{% |
| 1485 |
%<latexrelease> \csname @ov\reserved@a false\endcsname}% |
| 1486 |
%<latexrelease> \@ovxx #1\unitlength |
| 1487 |
%<latexrelease> \@ovyy #2\unitlength |
| 1488 |
%<latexrelease> \@tempdimb \ifdim \@ovyy >\@ovxx \@ovxx \@ovvlinetrue |
| 1489 |
%<latexrelease> \else \@ovyy \ifdim \@ovyy =\@ovxx \else \@ovhlinetrue |
| 1490 |
%<latexrelease> \fi\fi |
| 1491 |
%<latexrelease> \advance \@tempdimb -2\p@ |
| 1492 |
%<latexrelease> \@getcirc \@tempdimb |
| 1493 |
%<latexrelease> \@ovro \ht\@tempboxa \@ovri \dp\@tempboxa |
| 1494 |
%<latexrelease> \@ovdx\@ovxx \advance\@ovdx -\@tempdima \divide\@ovdx \tw@ |
| 1495 |
%<latexrelease> \@ovdy\@ovyy \advance\@ovdy -\@tempdima \divide\@ovdy \tw@ |
| 1496 |
%<latexrelease> \ifdim \@ovdx >\z@ \@ovhlinetrue \fi |
| 1497 |
%<latexrelease> \ifdim \@ovdy >\z@ \@ovvlinetrue \fi |
| 1498 |
%<latexrelease> \@circlefnt \setbox\@tempboxa |
| 1499 |
%<latexrelease> \hbox{\if@ovr \@ovvert32\kern -\@tempdima \fi |
| 1500 |
%<latexrelease> \if@ovl |
| 1501 |
%<latexrelease> \kern \@ovxx \@ovvert01\kern -\@tempdima \kern -\@ovxx |
| 1502 |
%<latexrelease> \fi |
| 1503 |
%<latexrelease> \if@ovt \@ovhorz \kern -\@ovxx \fi |
| 1504 |
%<latexrelease> \if@ovb \raise \@ovyy \@ovhorz \fi}\advance\@ovdx\@ovro |
| 1505 |
%<latexrelease> \advance\@ovdy\@ovro \ht\@tempboxa\z@ \dp\@tempboxa\z@ |
| 1506 |
%<latexrelease> \@put{-\@ovdx}{-\@ovdy}{\box\@tempboxa}% |
| 1507 |
%<latexrelease> \endgroup} |
| 1508 |
%<latexrelease>\EndIncludeInRelease |
| 1509 |
% \end{macrocode} |
| 1510 |
% |
| 1511 |
% \begin{macrocode} |
| 1512 |
%<latexrelease>\IncludeInRelease{0000/00/00}% |
| 1513 |
%<latexrelease> {\@oval}{default units}% |
| 1514 |
%<latexrelease>\def\@oval(#1,#2)[#3]{\begingroup\boxmaxdepth \maxdimen |
| 1515 |
%<latexrelease> \@ovttrue \@ovbtrue \@ovltrue \@ovrtrue |
| 1516 |
%<latexrelease> \@tfor\reserved@a :=#3\do |
| 1517 |
%<latexrelease> {\csname @ov\reserved@a false\endcsname}% |
| 1518 |
%<latexrelease> \@ovxx #1\unitlength |
| 1519 |
%<latexrelease> \@ovyy #2\unitlength |
| 1520 |
%<latexrelease> \@tempdimb \ifdim \@ovyy >\@ovxx \@ovxx\else \@ovyy \fi |
| 1521 |
%<latexrelease> \advance \@tempdimb -2\p@ |
| 1522 |
%<latexrelease> \@getcirc \@tempdimb |
| 1523 |
%<latexrelease> \@ovro \ht\@tempboxa \@ovri \dp\@tempboxa |
| 1524 |
%<latexrelease> \@ovdx\@ovxx \advance\@ovdx -\@tempdima \divide\@ovdx \tw@ |
| 1525 |
%<latexrelease> \@ovdy\@ovyy \advance\@ovdy -\@tempdima \divide\@ovdy \tw@ |
| 1526 |
%<latexrelease> \@circlefnt \setbox\@tempboxa |
| 1527 |
%<latexrelease> \hbox{\if@ovr \@ovvert32\kern -\@tempdima \fi |
| 1528 |
%<latexrelease> \if@ovl |
| 1529 |
%<latexrelease> \kern \@ovxx \@ovvert01\kern -\@tempdima \kern -\@ovxx |
| 1530 |
%<latexrelease> \fi |
| 1531 |
%<latexrelease> \if@ovt \@ovhorz \kern -\@ovxx \fi |
| 1532 |
%<latexrelease> \if@ovb \raise \@ovyy \@ovhorz \fi}\advance\@ovdx\@ovro |
| 1533 |
%<latexrelease> \advance\@ovdy\@ovro \ht\@tempboxa\z@ \dp\@tempboxa\z@ |
| 1534 |
%<latexrelease> \@put{-\@ovdx}{-\@ovdy}{\box\@tempboxa}% |
| 1535 |
%<latexrelease> \endgroup} |
| 1536 |
%<latexrelease>\EndIncludeInRelease |
| 1537 |
%<*2ekernel> |
| 1538 |
% \end{macrocode} |
| 1539 |
% \end{macro} |
| 1540 |
% |
| 1541 |
% \begin{macro}{\@ovvert} |
| 1542 |
% \begin{macrocode} |
| 1543 |
%</2ekernel> |
| 1544 |
%<latexrelease>\IncludeInRelease{2016/03/31}% |
| 1545 |
%<latexrelease> {\@ovvert}{Avoid almost zero length leaders}% |
| 1546 |
%<*2ekernel|latexrelease> |
| 1547 |
\def\@ovvert#1#2{\vbox to\@ovyy{% |
| 1548 |
\if@ovb \@tempcntb \@tempcnta \advance \@tempcntb #1\relax |
| 1549 |
\kern -\@ovro \hbox{\char \@tempcntb}\nointerlineskip |
| 1550 |
\else \kern \@ovri \kern \@ovdy \fi |
| 1551 |
% \end{macrocode} |
| 1552 |
% \changes{v1.1l}{2016/03/29} |
| 1553 |
% {use glue not leaders if vertical line not required} |
| 1554 |
% \begin{macrocode} |
| 1555 |
\if@ovvline \leaders\vrule \@width \@wholewidth \fi |
| 1556 |
% \end{macrocode} |
| 1557 |
% \begin{macrocode} |
| 1558 |
\vfil \nointerlineskip |
| 1559 |
\if@ovt \@tempcntb \@tempcnta \advance \@tempcntb #2\relax |
| 1560 |
\hbox{\char \@tempcntb}% |
| 1561 |
\else \kern \@ovdy \kern \@ovro \fi}} |
| 1562 |
%</2ekernel|latexrelease> |
| 1563 |
% \end{macrocode} |
| 1564 |
% |
| 1565 |
% \begin{macrocode} |
| 1566 |
%<latexrelease>\EndIncludeInRelease |
| 1567 |
%<latexrelease>\IncludeInRelease{0000/00/00}% |
| 1568 |
%<latexrelease> {\@ovvert}{Avoid almost zero length leaders}% |
| 1569 |
%<latexrelease>\def\@ovvert#1#2{\vbox to\@ovyy{% |
| 1570 |
%<latexrelease> \if@ovb \@tempcntb \@tempcnta \advance \@tempcntb #1\relax |
| 1571 |
%<latexrelease> \kern -\@ovro \hbox{\char \@tempcntb}\nointerlineskip |
| 1572 |
%<latexrelease> \else \kern \@ovri \kern \@ovdy \fi |
| 1573 |
%<latexrelease> \leaders\vrule \@width \@wholewidth\vfil \nointerlineskip |
| 1574 |
%<latexrelease> \if@ovt \@tempcntb \@tempcnta \advance \@tempcntb #2\relax |
| 1575 |
%<latexrelease> \hbox{\char \@tempcntb}% |
| 1576 |
%<latexrelease> \else \kern \@ovdy \kern \@ovro \fi}} |
| 1577 |
%<latexrelease>\EndIncludeInRelease |
| 1578 |
%<*2ekernel> |
| 1579 |
% \end{macrocode} |
| 1580 |
% \end{macro} |
| 1581 |
% |
| 1582 |
% \begin{macro}{\@ovhorz} |
| 1583 |
% \begin{macrocode} |
| 1584 |
%</2ekernel> |
| 1585 |
%<latexrelease>\IncludeInRelease{2016/03/31}% |
| 1586 |
%<latexrelease> {\@ovhorz}{Avoid almost zero length leaders}% |
| 1587 |
%<*2ekernel|latexrelease> |
| 1588 |
\def\@ovhorz{\hb@xt@\@ovxx{\kern \@ovro |
| 1589 |
\if@ovr \else \kern \@ovdx \fi |
| 1590 |
% \end{macrocode} |
| 1591 |
% \changes{v1.1l}{2016/03/29} |
| 1592 |
% {use glue not leaders if horizontal line not required} |
| 1593 |
% \begin{macrocode} |
| 1594 |
\if@ovhline \leaders \hrule \@height \@wholewidth \fi |
| 1595 |
% \end{macrocode} |
| 1596 |
% |
| 1597 |
% \begin{macrocode} |
| 1598 |
\hfil |
| 1599 |
\if@ovl \else \kern \@ovdx \fi |
| 1600 |
\kern \@ovri}} |
| 1601 |
%</2ekernel|latexrelease> |
| 1602 |
% \end{macrocode} |
| 1603 |
% |
| 1604 |
% \begin{macrocode} |
| 1605 |
%<latexrelease>\EndIncludeInRelease |
| 1606 |
%<latexrelease>\IncludeInRelease{0000/00/00}% |
| 1607 |
%<latexrelease> {\@ovhorz}{Avoid almost zero length leaders}% |
| 1608 |
%<latexrelease>\def\@ovhorz{\hb@xt@\@ovxx{\kern \@ovro |
| 1609 |
%<latexrelease> \if@ovr \else \kern \@ovdx \fi |
| 1610 |
%<latexrelease> \leaders \hrule \@height \@wholewidth \hfil |
| 1611 |
%<latexrelease> \if@ovl \else \kern \@ovdx \fi |
| 1612 |
%<latexrelease> \kern \@ovri}} |
| 1613 |
%<latexrelease>\EndIncludeInRelease |
| 1614 |
%<*2ekernel> |
| 1615 |
% \end{macrocode} |
| 1616 |
% \end{macro} |
| 1617 |
% |
| 1618 |
% \begin{macro}{\circle} |
| 1619 |
% \changes{LaTeX2.09}{1993/08/05} |
| 1620 |
% {(RMS) Added error message if \cs{circle} is used in math mode.} |
| 1621 |
% \begin{macrocode} |
| 1622 |
\def\circle{\@inmatherr\circle\@ifstar\@dot\@circle} |
| 1623 |
% \end{macrocode} |
| 1624 |
% \end{macro} |
| 1625 |
% |
| 1626 |
% \begin{macro}{\@circle} |
| 1627 |
% \begin{macrocode} |
| 1628 |
%</2ekernel> |
| 1629 |
%<*2ekernel|latexrelease> |
| 1630 |
%<latexrelease>\IncludeInRelease{2020/10/01}% |
| 1631 |
%<latexrelease> {\@circle}{default units}% |
| 1632 |
\def\@circle#1{% |
| 1633 |
\begingroup \boxmaxdepth \maxdimen |
| 1634 |
\@defaultunitsset\@tempdimb{#1}\unitlength |
| 1635 |
\ifdim \@tempdimb >15.5\p@ \@getcirc\@tempdimb |
| 1636 |
\@ovro\ht\@tempboxa |
| 1637 |
\setbox\@tempboxa\hbox{\@circlefnt |
| 1638 |
\advance\@tempcnta\tw@ \char \@tempcnta |
| 1639 |
\advance\@tempcnta\m@ne \char \@tempcnta \kern -2\@tempdima |
| 1640 |
\advance\@tempcnta\tw@ |
| 1641 |
\raise \@tempdima \hbox{\char\@tempcnta}\raise \@tempdima |
| 1642 |
\box\@tempboxa}\ht\@tempboxa\z@ \dp\@tempboxa\z@ |
| 1643 |
\@put{-\@ovro}{-\@ovro}{\box\@tempboxa}% |
| 1644 |
\else \@circ\@tempdimb{96}\fi\endgroup} |
| 1645 |
%</2ekernel|latexrelease> |
| 1646 |
% \end{macrocode} |
| 1647 |
% |
| 1648 |
% \begin{macrocode} |
| 1649 |
%<latexrelease>\EndIncludeInRelease |
| 1650 |
%<latexrelease>\IncludeInRelease{0000/00/00}% |
| 1651 |
%<latexrelease> {\@circle}{default units}% |
| 1652 |
%<latexrelease>\def\@circle#1{% |
| 1653 |
%<latexrelease> \begingroup \boxmaxdepth \maxdimen \@tempdimb #1\unitlength |
| 1654 |
%<latexrelease> \ifdim \@tempdimb >15.5\p@ \@getcirc\@tempdimb |
| 1655 |
%<latexrelease> \@ovro\ht\@tempboxa |
| 1656 |
%<latexrelease> \setbox\@tempboxa\hbox{\@circlefnt |
| 1657 |
%<latexrelease> \advance\@tempcnta\tw@ \char \@tempcnta |
| 1658 |
%<latexrelease> \advance\@tempcnta\m@ne \char \@tempcnta |
| 1659 |
%<latexrelease> \kern -2\@tempdima |
| 1660 |
%<latexrelease> \advance\@tempcnta\tw@ |
| 1661 |
%<latexrelease> \raise \@tempdima \hbox{\char\@tempcnta}% |
| 1662 |
%<latexrelease> \raise \@tempdima |
| 1663 |
%<latexrelease> \box\@tempboxa}\ht\@tempboxa\z@ \dp\@tempboxa\z@ |
| 1664 |
%<latexrelease> \@put{-\@ovro}{-\@ovro}{\box\@tempboxa}% |
| 1665 |
%<latexrelease> \else \@circ\@tempdimb{96}\fi\endgroup} |
| 1666 |
%<latexrelease>\EndIncludeInRelease |
| 1667 |
%<*2ekernel> |
| 1668 |
% \end{macrocode} |
| 1669 |
% \end{macro} |
| 1670 |
% |
| 1671 |
% \begin{macro}{\@dot} |
| 1672 |
% Internal form of |\circle*|. |
| 1673 |
% \begin{macrocode} |
| 1674 |
%</2ekernel> |
| 1675 |
%<*2ekernel|latexrelease> |
| 1676 |
%<latexrelease>\IncludeInRelease{2020/10/01}% |
| 1677 |
%<latexrelease> {\@dot}{default units}% |
| 1678 |
\def\@dot#1{% |
| 1679 |
\@defaultunitsset\@tempdimb{#1}\unitlength |
| 1680 |
\@circ\@tempdimb{112}} |
| 1681 |
%</2ekernel|latexrelease> |
| 1682 |
% \end{macrocode} |
| 1683 |
% |
| 1684 |
% \begin{macrocode} |
| 1685 |
%<latexrelease>\EndIncludeInRelease |
| 1686 |
%<latexrelease>\IncludeInRelease{0000/00/00}% |
| 1687 |
%<latexrelease> {\@dot}{default units}% |
| 1688 |
%<latexrelease>\def\@dot#1{\@tempdimb #1\unitlength \@circ\@tempdimb{112}} |
| 1689 |
%<latexrelease>\EndIncludeInRelease |
| 1690 |
%<*2ekernel> |
| 1691 |
% \end{macrocode} |
| 1692 |
% \end{macro} |
| 1693 |
% |
| 1694 |
% \begin{macro}{\@circ} |
| 1695 |
% \begin{macrocode} |
| 1696 |
\def\@circ#1#2{\@tempdima #1\relax \advance\@tempdima .5\p@ |
| 1697 |
\@tempcnta\@tempdima \@tempdima \p@ |
| 1698 |
\divide\@tempcnta\@tempdima |
| 1699 |
\ifnum\@tempcnta >15\relax \@tempcnta 15\relax \fi |
| 1700 |
\ifnum \@tempcnta >\z@ \advance\@tempcnta\m@ne\fi |
| 1701 |
\advance\@tempcnta #2\relax |
| 1702 |
\@circlefnt \char\@tempcnta} |
| 1703 |
% \end{macrocode} |
| 1704 |
% \end{macro} |
| 1705 |
% |
| 1706 |
% |
| 1707 |
% \begin{macro}{\@xarg} |
| 1708 |
% \begin{macro}{\@yarg} |
| 1709 |
% \begin{macro}{\@yyarg} |
| 1710 |
% Counters used for manipulating the `slope' arguments. |
| 1711 |
% \begin{macrocode} |
| 1712 |
\newcount\@xarg |
| 1713 |
\newcount\@yarg |
| 1714 |
\newcount\@yyarg |
| 1715 |
% \end{macrocode} |
| 1716 |
% \end{macro} |
| 1717 |
% \end{macro} |
| 1718 |
% \end{macro} |
| 1719 |
% |
| 1720 |
% \begin{macro}{\@multicnt} |
| 1721 |
% Counter used in |\multiput|, and also |\multicolumn|. |
| 1722 |
% \begin{macrocode} |
| 1723 |
\newcount\@multicnt |
| 1724 |
% \end{macrocode} |
| 1725 |
% \end{macro} |
| 1726 |
% |
| 1727 |
% \begin{macro}{\@xdim} |
| 1728 |
% \begin{macro}{\@ydim} |
| 1729 |
% Length registers. |
| 1730 |
% \begin{macrocode} |
| 1731 |
\newdimen\@xdim |
| 1732 |
\newdimen\@ydim |
| 1733 |
% \end{macrocode} |
| 1734 |
% \end{macro} |
| 1735 |
% \end{macro} |
| 1736 |
% |
| 1737 |
% \begin{macro}{\@linechar} |
| 1738 |
% Box for holding a line segment character, for sloping lines. |
| 1739 |
% \begin{macrocode} |
| 1740 |
\newbox\@linechar |
| 1741 |
% \end{macrocode} |
| 1742 |
% \end{macro} |
| 1743 |
% |
| 1744 |
% \begin{macro}{\@linelen} |
| 1745 |
% Length of the line currently being built. |
| 1746 |
% \begin{macrocode} |
| 1747 |
\newdimen\@linelen |
| 1748 |
% \end{macrocode} |
| 1749 |
% \end{macro} |
| 1750 |
% |
| 1751 |
% \begin{macro}{\@clnwd} |
| 1752 |
% \begin{macro}{\@clnht} |
| 1753 |
% Height and width of current line segment. |
| 1754 |
% \begin{macrocode} |
| 1755 |
\newdimen\@clnwd |
| 1756 |
\newdimen\@clnht |
| 1757 |
% \end{macrocode} |
| 1758 |
% \end{macro} |
| 1759 |
% \end{macro} |
| 1760 |
% |
| 1761 |
% \begin{macro}{\@dashdim} |
| 1762 |
% \begin{macro}{\@dashbox} |
| 1763 |
% \begin{macro}{\@dashcnt} |
| 1764 |
% |\dashbox| internal registers. |
| 1765 |
% \begin{macrocode} |
| 1766 |
\newdimen\@dashdim |
| 1767 |
\newbox\@dashbox |
| 1768 |
\newcount\@dashcnt |
| 1769 |
% \end{macrocode} |
| 1770 |
% \end{macro} |
| 1771 |
% \end{macro} |
| 1772 |
% \end{macro} |
| 1773 |
% |
| 1774 |
% Initialization: ``|\thinlines|'' |
| 1775 |
% \changes{v1.1f}{1995/10/27} |
| 1776 |
% {Move initialization to kernel from autoload file} |
| 1777 |
% \begin{macrocode} |
| 1778 |
\let\@linefnt\tenln |
| 1779 |
\let\@circlefnt\tencirc |
| 1780 |
\@wholewidth\fontdimen8\tenln |
| 1781 |
\@halfwidth .5\@wholewidth |
| 1782 |
% \end{macrocode} |
| 1783 |
% |
| 1784 |
% |
| 1785 |
% |
| 1786 |
% \subsection{Curves} |
| 1787 |
% The new |\qbezier| command, based on the old |\bezier| defined in |
| 1788 |
% |bezier.sty|. |
| 1789 |
% \changes{v0.1c}{1994/04/28}{bezier curves added} |
| 1790 |
% |
| 1791 |
% \begin{oldcomments} |
| 1792 |
% |
| 1793 |
% \qbezier[N] == \bezier{N} |
| 1794 |
% |
| 1795 |
% \bezier{N}(AX,AY)(BX,BY)(CX,CY) == |
| 1796 |
% BEGIN |
| 1797 |
% IF N = 0 |
| 1798 |
% THEN \@xdima := |BX - AX| |
| 1799 |
% \@xb := |CX - BX| |
| 1800 |
% \@xa := Max(\@xa, \@xb) |
| 1801 |
% \@ya := |BY - AY| |
| 1802 |
% \@yb := |CY - BY| |
| 1803 |
% \@ya := Max(\@ya, \@yb) |
| 1804 |
% @sc := Max(\@xa, \@ya) |
| 1805 |
% %% The coefficient .5 below is the degree of overlap of |
| 1806 |
% %% successive points, where 1 is no overlap and 0 is |
| 1807 |
% %% complete overlap. A coefficient of C multiplies |
| 1808 |
% %% the number of points plotted by 1/C. |
| 1809 |
% %% |
| 1810 |
% \@xa := .5 * \@halfwidth |
| 1811 |
% @sc := @sc / \@halfwidth |
| 1812 |
% @sc := Max(@sc, qbeziermax) |
| 1813 |
% ELSE @sc := N |
| 1814 |
% @scp := @sc+1 |
| 1815 |
% \@xb := 2 * (BX - AX) * \unitlength |
| 1816 |
% \@xa := ((CX-AX)*\unitlength - \@xb)/@sc |
| 1817 |
% \@yb := 2 * (BY - AY) * \unitlength |
| 1818 |
% \@ya := ((CY-AY)*\unitlength - \@yb)/@sc |
| 1819 |
% \@pictdot := square rule of width \@wholewidth |
| 1820 |
% \count@ := 0 |
| 1821 |
% WHILE \count@ < @scp |
| 1822 |
% DO \@xdim := ((\count@*\@xa + @xb) / @sc) * \count@ |
| 1823 |
% \@ydim := ((\count@*\@ya + @yb) / @sc) * \count@ |
| 1824 |
% plot pt with relative coords (\@xdim,\@ydim) |
| 1825 |
% \count@ := \count@+1 |
| 1826 |
% OD |
| 1827 |
% |
| 1828 |
% \end{oldcomments} |
| 1829 |
% |
| 1830 |
% \begin{macro}{\qbeziermax} |
| 1831 |
% The maximum number of points to plot. |
| 1832 |
% \begin{macrocode} |
| 1833 |
\def\qbeziermax{500} |
| 1834 |
% \end{macrocode} |
| 1835 |
% \end{macro} |
| 1836 |
% |
| 1837 |
% |
| 1838 |
% In the code below, to save registers |\@a| \ldots\ are not used. |
| 1839 |
% Instead other registers are reused. |
| 1840 |
% |
| 1841 |
% |\newcounter{@sc} -> \c@multicnt|\par |
| 1842 |
% |\newcounter{@scp} -> \@tempcnta|\par |
| 1843 |
% |\newdimen\@xa -> \@ovxx|\par |
| 1844 |
% |
| 1845 |
% |\newdimen\@xb -> \@ovdx| |
| 1846 |
% |
| 1847 |
% |\newdimen\@ya -> \@ovyy|\par |
| 1848 |
% |\newdimen\@yb -> \@ovdy| |
| 1849 |
% |
| 1850 |
% |\newsavebox{\@pictdot} -> \@tempboxa| |
| 1851 |
% |
| 1852 |
% \begin{macro}{\qbezier} |
| 1853 |
% Main user-level command to plot quadratic bezier curves. |
| 1854 |
% |#2| should be |(|. |
| 1855 |
% \begin{macrocode} |
| 1856 |
\newcommand\qbezier[2][0]{\bezier{#1}#2} |
| 1857 |
% \end{macrocode} |
| 1858 |
% \end{macro} |
| 1859 |
% |
| 1860 |
% \begin{macro}{\bezier} |
| 1861 |
% Form of |\bezier| compatible with 2.09 |bezier.sty|, but modified to |
| 1862 |
% ignore spaces between its arguments. |
| 1863 |
% |#2| should be white space, and |#4| should be |(|. |
| 1864 |
% \begin{macrocode} |
| 1865 |
\def\bezier#1)#2(#3)#4({\@bezier#1)(#3)(} |
| 1866 |
% \end{macrocode} |
| 1867 |
% |
| 1868 |
% \begin{macro}{\@bezier} |
| 1869 |
% \begin{macrocode} |
| 1870 |
%</2ekernel> |
| 1871 |
%<*2ekernel|latexrelease> |
| 1872 |
%<latexrelease>\IncludeInRelease{2020/10/01}% |
| 1873 |
%<latexrelease> {\@bezier}{default units}% |
| 1874 |
\def\@bezier#1(#2,#3)(#4,#5)(#6,#7){% |
| 1875 |
\ifnum #1=\z@ |
| 1876 |
\@defaultunitsset\@ovxx{#4}\unitlength |
| 1877 |
\@defaultunitsset{\advance\@ovxx}{-#2}\unitlength |
| 1878 |
\ifdim \@ovxx<\z@ \@ovxx -\@ovxx \fi |
| 1879 |
\@defaultunitsset\@ovdx{#6}\unitlength |
| 1880 |
\@defaultunitsset{\advance\@ovdx}{-#4}\unitlength |
| 1881 |
\ifdim \@ovdx<\z@ \@ovdx -\@ovdx \fi |
| 1882 |
\ifdim \@ovxx<\@ovdx \@ovxx \@ovdx \fi |
| 1883 |
\@defaultunitsset\@ovyy{#5}\unitlength |
| 1884 |
\@defaultunitsset{\advance\@ovyy}{-#3}\unitlength |
| 1885 |
\ifdim \@ovyy<\z@ \@ovyy -\@ovyy \fi |
| 1886 |
\@defaultunitsset\@ovdy{#7}\unitlength |
| 1887 |
\@defaultunitsset{\advance\@ovdy}{-#5}\unitlength |
| 1888 |
\ifdim \@ovdy<\z@ \@ovdy -\@ovdy \fi |
| 1889 |
\ifdim \@ovyy<\@ovdy \@ovyy \@ovdy \fi |
| 1890 |
\@multicnt |
| 1891 |
\ifdim \@ovxx>\@ovyy \@ovxx \else \@ovyy \fi |
| 1892 |
\@ovxx .5\@halfwidth \divide\@multicnt\@ovxx |
| 1893 |
\ifnum \qbeziermax<\@multicnt |
| 1894 |
\@multicnt\qbeziermax\relax |
| 1895 |
\fi |
| 1896 |
\else \@multicnt#1\relax \fi |
| 1897 |
\@tempcnta\@multicnt \advance\@tempcnta\@ne |
| 1898 |
\@defaultunitsset\@ovdx{#4}\unitlength |
| 1899 |
\@defaultunitsset{\advance\@ovdx}{-#2}\unitlength |
| 1900 |
\multiply\@ovdx \tw@ |
| 1901 |
\@defaultunitsset\@ovxx{#6}\unitlength |
| 1902 |
\@defaultunitsset{\advance\@ovxx}{-#2}\unitlength |
| 1903 |
\advance\@ovxx -\@ovdx \divide\@ovxx\@multicnt |
| 1904 |
\@defaultunitsset\@ovdy{#5}\unitlength |
| 1905 |
\@defaultunitsset{\advance\@ovdy}{-#3}\unitlength |
| 1906 |
\multiply\@ovdy \tw@ |
| 1907 |
\@defaultunitsset\@ovyy{#7}\unitlength |
| 1908 |
\@defaultunitsset{\advance\@ovyy}{-#3}\unitlength |
| 1909 |
\advance\@ovyy -\@ovdy \divide\@ovyy\@multicnt |
| 1910 |
% \end{macrocode} |
| 1911 |
% |
| 1912 |
% \changes{v1.1k}{2003/08/27}{added missing displacement pr/3566} |
| 1913 |
% \begin{macrocode} |
| 1914 |
\setbox\@tempboxa\hbox{% |
| 1915 |
\hskip -\@halfwidth |
| 1916 |
\vrule \@height\@halfwidth |
| 1917 |
\@depth \@halfwidth |
| 1918 |
\@width \@wholewidth}% |
| 1919 |
\put(#2,#3){% |
| 1920 |
\count@\z@ |
| 1921 |
\@whilenum{\count@<\@tempcnta}\do |
| 1922 |
{\@xdim\count@\@ovxx |
| 1923 |
\advance\@xdim\@ovdx |
| 1924 |
\divide\@xdim\@multicnt |
| 1925 |
\multiply\@xdim\count@ |
| 1926 |
\@ydim\count@\@ovyy |
| 1927 |
\advance\@ydim\@ovdy |
| 1928 |
\divide\@ydim\@multicnt |
| 1929 |
\multiply\@ydim\count@ |
| 1930 |
\raise \@ydim |
| 1931 |
\hb@xt@\z@{\kern\@xdim |
| 1932 |
\unhcopy\@tempboxa\hss}% |
| 1933 |
\advance\count@\@ne}}} |
| 1934 |
%</2ekernel|latexrelease> |
| 1935 |
% \end{macrocode} |
| 1936 |
% |
| 1937 |
% \begin{macrocode} |
| 1938 |
%<latexrelease>\EndIncludeInRelease |
| 1939 |
%<latexrelease>\IncludeInRelease{0000/00/00}% |
| 1940 |
%<latexrelease> {\@bezier}{default units}% |
| 1941 |
%<latexrelease>\def\@bezier#1(#2,#3)(#4,#5)(#6,#7){% |
| 1942 |
%<latexrelease> \ifnum #1=\z@ |
| 1943 |
%<latexrelease> \@ovxx #4\unitlength |
| 1944 |
%<latexrelease> \advance\@ovxx -#2\unitlength |
| 1945 |
%<latexrelease> \ifdim \@ovxx<\z@ \@ovxx -\@ovxx \fi |
| 1946 |
%<latexrelease> \@ovdx #6\unitlength |
| 1947 |
%<latexrelease> \advance\@ovdx -#4\unitlength |
| 1948 |
%<latexrelease> \ifdim \@ovdx<\z@ \@ovdx -\@ovdx \fi |
| 1949 |
%<latexrelease> \ifdim \@ovxx<\@ovdx \@ovxx \@ovdx \fi |
| 1950 |
%<latexrelease> \@ovyy #5\unitlength |
| 1951 |
%<latexrelease> \advance\@ovyy -#3\unitlength |
| 1952 |
%<latexrelease> \ifdim \@ovyy<\z@ \@ovyy -\@ovyy \fi |
| 1953 |
%<latexrelease> \@ovdy #7\unitlength |
| 1954 |
%<latexrelease> \advance\@ovdy -#5\unitlength |
| 1955 |
%<latexrelease> \ifdim \@ovdy<\z@ \@ovdy -\@ovdy \fi |
| 1956 |
%<latexrelease> \ifdim \@ovyy<\@ovdy \@ovyy \@ovdy \fi |
| 1957 |
%<latexrelease> \@multicnt |
| 1958 |
%<latexrelease> \ifdim \@ovxx>\@ovyy \@ovxx \else \@ovyy \fi |
| 1959 |
%<latexrelease> \@ovxx .5\@halfwidth \divide\@multicnt\@ovxx |
| 1960 |
%<latexrelease> \ifnum |
| 1961 |
%<latexrelease> \qbeziermax<\@multicnt \@multicnt\qbeziermax\relax |
| 1962 |
%<latexrelease> \fi |
| 1963 |
%<latexrelease> \else \@multicnt#1\relax \fi |
| 1964 |
%<latexrelease> \@tempcnta\@multicnt \advance\@tempcnta\@ne |
| 1965 |
%<latexrelease> \@ovdx #4\unitlength \advance\@ovdx -#2\unitlength |
| 1966 |
%<latexrelease> \multiply\@ovdx \tw@ |
| 1967 |
%<latexrelease> \@ovxx #6\unitlength \advance\@ovxx -#2\unitlength |
| 1968 |
%<latexrelease> \advance\@ovxx -\@ovdx \divide\@ovxx\@multicnt |
| 1969 |
%<latexrelease> \@ovdy #5\unitlength \advance\@ovdy -#3\unitlength |
| 1970 |
%<latexrelease> \multiply\@ovdy \tw@ |
| 1971 |
%<latexrelease> \@ovyy #7\unitlength \advance\@ovyy -#3\unitlength |
| 1972 |
%<latexrelease> \advance\@ovyy -\@ovdy \divide\@ovyy\@multicnt |
| 1973 |
%<latexrelease> \setbox\@tempboxa\hbox{% |
| 1974 |
%<latexrelease> \hskip -\@halfwidth |
| 1975 |
%<latexrelease> \vrule \@height\@halfwidth |
| 1976 |
%<latexrelease> \@depth \@halfwidth |
| 1977 |
%<latexrelease> \@width \@wholewidth}% |
| 1978 |
%<latexrelease> \put(#2,#3){% |
| 1979 |
%<latexrelease> \count@\z@ |
| 1980 |
%<latexrelease> \@whilenum{\count@<\@tempcnta}\do |
| 1981 |
%<latexrelease> {\@xdim\count@\@ovxx |
| 1982 |
%<latexrelease> \advance\@xdim\@ovdx |
| 1983 |
%<latexrelease> \divide\@xdim\@multicnt |
| 1984 |
%<latexrelease> \multiply\@xdim\count@ |
| 1985 |
%<latexrelease> \@ydim\count@\@ovyy |
| 1986 |
%<latexrelease> \advance\@ydim\@ovdy |
| 1987 |
%<latexrelease> \divide\@ydim\@multicnt |
| 1988 |
%<latexrelease> \multiply\@ydim\count@ |
| 1989 |
%<latexrelease> \raise \@ydim |
| 1990 |
%<latexrelease> \hb@xt@\z@{\kern\@xdim |
| 1991 |
%<latexrelease> \unhcopy\@tempboxa\hss}% |
| 1992 |
%<latexrelease> \advance\count@\@ne}}} |
| 1993 |
%<latexrelease>\EndIncludeInRelease |
| 1994 |
%<*2ekernel> |
| 1995 |
% \end{macrocode} |
| 1996 |
% \end{macro} |
| 1997 |
% \end{macro} |
| 1998 |
% |
| 1999 |
% As the commands above all use ``picture'' interface we couldn't define them with |
| 2000 |
% |\DeclareRobustCommand| so we do that now. |
| 2001 |
% \begin{macrocode} |
| 2002 |
%</2ekernel> |
| 2003 |
%<*2ekernel|latexrelease> |
| 2004 |
%<latexrelease>\IncludeInRelease{2019/10/01}% |
| 2005 |
%<latexrelease> {\bezier}{Make commands robust}% |
| 2006 |
\MakeRobust\bezier |
| 2007 |
\MakeRobust\circle |
| 2008 |
\MakeRobust\dashbox |
| 2009 |
\MakeRobust\line |
| 2010 |
\MakeRobust\linethickness |
| 2011 |
\MakeRobust\multiput |
| 2012 |
\MakeRobust\oval |
| 2013 |
\MakeRobust\put |
| 2014 |
\MakeRobust\qbezier |
| 2015 |
\MakeRobust\shortstack |
| 2016 |
\MakeRobust\thinlines |
| 2017 |
\MakeRobust\vector |
| 2018 |
%</2ekernel|latexrelease> |
| 2019 |
%<latexrelease>\EndIncludeInRelease |
| 2020 |
%<latexrelease>\IncludeInRelease{0000/00/00}% |
| 2021 |
%<latexrelease> {\bezier}{Make commands robust}% |
| 2022 |
%<latexrelease> |
| 2023 |
%<latexrelease>\kernel@make@fragile\bezier |
| 2024 |
%<latexrelease>\kernel@make@fragile\circle |
| 2025 |
%<latexrelease>\kernel@make@fragile\dashbox |
| 2026 |
%<latexrelease>\kernel@make@fragile\line |
| 2027 |
%<latexrelease>\kernel@make@fragile\linethickness |
| 2028 |
%<latexrelease>\kernel@make@fragile\multiput |
| 2029 |
%<latexrelease>\kernel@make@fragile\oval |
| 2030 |
%<latexrelease>\kernel@make@fragile\put |
| 2031 |
%<latexrelease>\kernel@make@fragile\qbezier |
| 2032 |
%<latexrelease>\kernel@make@fragile\shortstack |
| 2033 |
%<latexrelease>\kernel@make@fragile\thinlines |
| 2034 |
%<latexrelease>\kernel@make@fragile\vector |
| 2035 |
%<latexrelease> |
| 2036 |
%<latexrelease>\EndIncludeInRelease |
| 2037 |
%<*2ekernel> |
| 2038 |
% \end{macrocode} |
| 2039 |
% |
| 2040 |
% |
| 2041 |
% \begin{macrocode} |
| 2042 |
%</2ekernel> |
| 2043 |
% \end{macrocode} |
| 2044 |
% |
| 2045 |
% \Finale |
| 2046 |
% |