Debian Codegraph @

texmf-dist/tex/generic/pictex/prepictex.tex

raw
1 % This is prepictex.tex
2 % Version 1.1 9/10/87. See section 10 of the PiCTeX manual.
3 % Version 1.1b 2021-06-08 extended LaTeX support for picture environment
4 % LaTeX Project (with Michael Wichura's permission for the update)
5 % Support lengths in LaTeX picture mode coordinates in recent LaTeX.
6
7 % To use the PiCTeX macros under LaTeX, you first need to \input this
8 % file, then the main corpus of PiCTeX macros (pictex.tex), and then
9 % the file postpictex.tex. Do not \input the file latexpicobjs.tex.
10
11 \catcode`@=11 \catcode`!=11
12
13 % First of all, see if \fiverm is defined. If so do nothing;
14 % if not, let \fiverm take on meaning of LaTeX's \fivrm.
15 \expandafter\ifx\csname fiverm\endcsname\relax
16 \let\fiverm\fivrm
17 \fi
18
19 % Save meanings of LaTeX keywords that duplicate PiCTeX keywords
20 \let\!latexendpicture=\endpicture
21 \let\!latexframe=\frame
22 \let\!latexlinethickness=\linethickness
23 \let\!latexmultiput=\multiput
24 \let\!latexput=\put
25
26 % Redefine the LaTeX \@picture macro
27 % 2021-06-08 Adjust so working for old and new LaTeX releases
28 \let\!latex@picture\@picture
29 \def\@picture(#1,#2)(#3,#4){%
30 \!latex@picture(#1,#2)(#3,#4)%
31 \let\endpicture=\!latexendpicture
32 \let\frame=\!latexframe
33 \let\linethickness=\!latexlinethickness
34 \let\multiput=\!latexmultiput
35 \let\put=\!latexput
36 \ignorespaces}
37
38
39 \catcode`@=12 \catcode`!=12