diff options
author | Karl Berry <karl@freefriends.org> | 2006-08-14 23:05:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-08-14 23:05:57 +0000 |
commit | cd8fe62e6f3f71e53915c87321518f8fb0753de5 (patch) | |
tree | a3ba735854a4c21584c1925ee411a7a595b42ed8 /Master/texmf-dist/tex/latex/t-angles | |
parent | 27faeceacd441677a049a895ea70fd4691c8c6e0 (diff) |
t-angles update (15aug06)
git-svn-id: svn://tug.org/texlive/trunk@1962 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/t-angles')
-rw-r--r-- | Master/texmf-dist/tex/latex/t-angles/t-angles.sty | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/t-angles/t-angles.sty b/Master/texmf-dist/tex/latex/t-angles/t-angles.sty index 241ed198066..d12f988a233 100644 --- a/Master/texmf-dist/tex/latex/t-angles/t-angles.sty +++ b/Master/texmf-dist/tex/latex/t-angles/t-angles.sty @@ -7,7 +7,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % - % This is file t-angles.sty ( version 22.04.2006 ) % + % This is file t-angles.sty ( version 14.08.2006 ) % % % % Diagram macros for tangles and braided Hopf algebras % % % @@ -15,6 +15,13 @@ % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Copyright (C) 2006 Yu. Bespalov, V. Lyubashenko +% This program is free software; you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation. + +\RequirePackage{ifpdf} + \newcount{\hstretch} \hstretch 100 \newcount{\vstretch} \vstretch 100 \newlength{\unitlens} \unitlens 10pt @@ -90,7 +97,9 @@ } % \DeclareOption{emtex}{% -\ifx\pdfoutput\undefined +\ifpdf +\ExecuteOptions{pdflatex} + \else \gdef\thinlines{\let\@linefnt\tenln \let\@circlefnt\tencirc \@wholewidth\fontdimen8\tenln \@halfwidth .5\@wholewidth \special{em:linewidth \the\@wholewidth}} %\@wholewidth=0.4pt @@ -101,14 +110,14 @@ \put(#1,#2){\special{em:moveto}}% \put(#4,#5){\special{em:lineto}}}% \def\drawpath#1#2#3#4{\emline{#1}{#2}1{#3}{#4}2} % graphics for *.lp - \else -\ExecuteOptions{pdflatex} \fi} % \newcount\@gphlinewidth % \DeclareOption{TPIC}{% -\ifx\pdfoutput\undefined +\ifpdf +\ExecuteOptions{pdflatex} + \else \@gphlinewidth\@wholewidth \divide\@gphlinewidth 4736 \advance\@gphlinewidth\@ne %\@gphlinewidth=6 \gdef\thinlines{\let\@linefnt\tenln \let\@circlefnt\tencirc @@ -133,8 +142,6 @@ \@ifnextchar ({\@path}{\special{fp}}} \providecommand{\drawpath}[4]{\path(#1,#2)(#3,#4)} % TPIC graphics for *.lp \providecommand{\emline}[6]{\path(#1,#2)(#4,#5)} % TPIC graphics for *.pic - \else -\ExecuteOptions{pdflatex} \fi} % \DeclareOption{kluwer}{% @@ -144,7 +151,6 @@ \def\tangles{\begingroup\let\hline\savehline\t@ngle\array} } % -\ifx\pdfoutput\relax\let\pdfoutput\undefined\fi \ExecuteOptions{TPIC} \newcount{\h@r} @@ -495,8 +501,7 @@ \def\tangles{\t@ngle\array} \let\endtangles\endtangle % \ProcessOptions -\ifx\pdfoutput\undefined - \else +\ifpdf \startEMspecials \let\EMenddocument\enddocument \def\enddocument{\stopEMspecials\EMenddocument} |