summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pict2e
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-01-14 00:01:29 +0000
committerKarl Berry <karl@freefriends.org>2014-01-14 00:01:29 +0000
commit6a1eca2ec87e69d7762d98299002759559b146c6 (patch)
tree8245335c71224e689a09fdf4c49576b695f5bc06 /Master/texmf-dist/tex/latex/pict2e
parent1c08941501b1f859fb7042142be8cd9eae3fe656 (diff)
pict2e (13jan14)
git-svn-id: svn://tug.org/texlive/trunk@32658 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pict2e')
-rw-r--r--Master/texmf-dist/tex/latex/pict2e/pict2e.sty14
1 files changed, 10 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/pict2e/pict2e.sty b/Master/texmf-dist/tex/latex/pict2e/pict2e.sty
index 2f764d3d90a..e4f8a364182 100644
--- a/Master/texmf-dist/tex/latex/pict2e/pict2e.sty
+++ b/Master/texmf-dist/tex/latex/pict2e/pict2e.sty
@@ -25,7 +25,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{pict2e}
- [2011/04/05 v0.2y Improved picture commands (HjG,RN,JT)]
+ [2014/01/12 v0.2z Improved picture commands (HjG,RN,JT)]
\edef\Gin@codes{%
\catcode`\noexpand\^^A\the\catcode`\^^A\relax
\catcode`\noexpand\"\the\catcode`\"\relax
@@ -662,9 +662,10 @@
\pIIe@addtoGraph\pIIe@curveto@op
\fi
\endgroup}
- \newcommand*\arc{\@ifstar{\@tempswatrue\@arc}{\@tempswafalse\@arc}}
- \newcommand*\@arc[2][0,360]{\@@arc(#1){#2}}
- \def\@@arc(#1,#2)#3{%
+ \newcommand*\pIIearc
+ {\@ifstar{\@tempswatrue\pIIe@arc@}{\@tempswafalse\pIIe@arc@}}
+ \newcommand*\pIIe@arc@[2][0,360]{\pIIe@arc@@(#1){#2}}
+ \def\pIIe@arc@@(#1,#2)#3{%
\if@tempswa
\pIIe@moveto\z@\z@
\pIIe@arc{\z@}{\z@}{#3\unitlength}{#1}{#2}%
@@ -673,6 +674,11 @@
\pIIe@arc[1]{\z@}{\z@}{#3\unitlength}{#1}{#2}%
\pIIe@strokeGraph
\fi}
+ \ifx\undefined\arc
+ \else
+ \PackageWarning{pict2e}{\protect\arc\space redefined}%
+ \fi
+ \let\arc\pIIearc
\let\lp@r( \let\rp@r)
\def\Line(#1,#2)(#3,#4){\polyline(#1,#2)(#3,#4)}
\def\polyline(#1,#2){%