diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:46:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:46:03 +0000 |
commit | 873660d1a83ece926fe7206288dda9c36b349c1b (patch) | |
tree | a48f77125c309a355b5d0eb58d6b24446abe9d62 /Master/texmf-dist/tex/generic/pictex/prepictex.tex | |
parent | 2939242967231097459df0fc3150fabc2f639111 (diff) |
generic 1
git-svn-id: svn://tug.org/texlive/trunk@613 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pictex/prepictex.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pictex/prepictex.tex | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/pictex/prepictex.tex b/Master/texmf-dist/tex/generic/pictex/prepictex.tex new file mode 100644 index 00000000000..cd7f92e2fe0 --- /dev/null +++ b/Master/texmf-dist/tex/generic/pictex/prepictex.tex @@ -0,0 +1,33 @@ +% This is prepictex.tex Version 1.1 9/10/87 + +% To use the PiCTeX macros under LaTeX, you first need to \input this +% file, then the main corpus of PiCTeX macros (pictex.tex), and then +% the file postpictex.tex. Do not \input the file latexpicobjs.tex. + +\catcode`@=11 \catcode`!=11 + +% First of all, see if \fiverm is defined. If so do nothing; +% if not, let \fiverm take on meaning of LaTeX's \fivrm. +\expandafter\ifx\csname fiverm\endcsname\relax + \let\fiverm\fivrm +\fi + +% Save meanings of LaTeX keywords that duplicate PiCTeX keywords +\let\!latexendpicture=\endpicture +\let\!latexframe=\frame +\let\!latexlinethickness=\linethickness +\let\!latexmultiput=\multiput +\let\!latexput=\put + +% Redefine the LaTeX \@picture macro +\def\@picture(#1,#2)(#3,#4){% + \@picht #2\unitlength + \setbox\@picbox\hbox to #1\unitlength\bgroup + \let\endpicture=\!latexendpicture + \let\frame=\!latexframe + \let\linethickness=\!latexlinethickness + \let\multiput=\!latexmultiput + \let\put=\!latexput + \hskip -#3\unitlength \lower #4\unitlength \hbox\bgroup} + +\catcode`@=12 \catcode`!=12 |