From 9c24cb202c44f730c2bb9288121de7cf243bc711 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 20 Jul 2006 18:48:05 +0000 Subject: pict2e update git-svn-id: svn://tug.org/texlive/trunk@1886 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/pict2e/pict2e.dtx | 39 +++++++++++++++--------- 1 file changed, 24 insertions(+), 15 deletions(-) (limited to 'Master/texmf-dist/source/latex/pict2e') diff --git a/Master/texmf-dist/source/latex/pict2e/pict2e.dtx b/Master/texmf-dist/source/latex/pict2e/pict2e.dtx index 19d15341143..3f5c87ccb80 100644 --- a/Master/texmf-dist/source/latex/pict2e/pict2e.dtx +++ b/Master/texmf-dist/source/latex/pict2e/pict2e.dtx @@ -1,11 +1,10 @@ % \iffalse meta-comment % -% Time-stamp: "pict2e.dtx 2004-08-06 15:01:38 CEST Tuesday hubertjg" % % -% Copyright (C) 2003, 2004 +% Copyright (C) 2003-2006 % Rolf Niepraschk, Rolf.Niepraschk@ptb.de -% Hubert Gaesslein, HubertJG@open.mind.de +% Hubert Gaesslein % % % This work may be distributed and/or modified under the @@ -21,9 +20,9 @@ % This work consists of all files listed in manifest.txt. % % -%\NeedsTeXFormat{LaTeX2e}[1999/12/01] % ??? +%\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{pict2e} -% [2004/08/06 v0.2q Improved picture commands (HjG,RN)] +% [2006/03/05 v0.2s Improved picture commands (HjG,RN)] % %<*driver> \listfiles @@ -43,7 +42,7 @@ top=20mm,bottom=30mm]{geometry}}{} \IfFileExists{url.sty}{\usepackage{url}} {\newcommand*\url[1]{\texttt{#1}}} -%%\OnlyDescription +\OnlyDescription %%\AlsoImplementation \EnableCrossrefs \CodelineIndex @@ -61,7 +60,7 @@ % \GetFileInfo{pict2e.sty} % \def\docdate{2004/08/06} % -% \CheckSum{1499} +% \CheckSum{1502} % % ^^A ======== % @@ -172,7 +171,7 @@ % \changes{v0.2o}{2004/06/25}{Fix two bugs (HjG)} % \changes{v0.2o}{2004/06/25}{Numerous small fixes in documentation (HjG)} % \changes{v0.2p}{2004/07/06}{Small fixes in documentation (HjG)} -% +% \changes{v0.2s}{2006/03/05}{Wrong PSTricks-like arrows corrected (RN)} % \fi % % \changes{v0.1a}{2003/07/18}{First version. (RN)} @@ -1413,10 +1412,17 @@ }} \DeclareOption{pstarrows}{\AtEndOfPackage{% \let\pIIe@vector=\pIIe@vector@pst - \def\pIIe@FAL{1.4}% - \def\pIIe@FAW{2}% - \def\pIIe@CAW{1.5pt}% - \def\pIIe@FAI{0.4}% + \iffalse + \def\pIIe@FAL{1.4}% + \def\pIIe@FAW{2}% + \def\pIIe@CAW{1.5pt}% + \def\pIIe@FAI{0.4}% + \else % These are the ltxarrows values, which looks better. (RN) + \def\pIIe@FAL{1.52}% + \def\pIIe@FAW{3.2}% + \def\pIIe@CAW{1.5pt}% + \def\pIIe@FAI{0.25}% + \fi }} % \end{macrocode} % @@ -1972,6 +1978,7 @@ % \] % and $t = x/s$ and $\tau = 2(t-1/2)$. % \end{quote} +% \changes{v0.2r}{2005/07/15}{Two wrong global assignment changed. (RN)} % \begin{macrocode} \newcommand*\pIIe@pyth[3]{% \begingroup @@ -1993,7 +2000,7 @@ % \end{macrocode} % $\cmd{\@tempdimc} = z = \sqrt{(x^2+y^2)}$ % \begin{macrocode} - \global\@tempdimc=\z@ + \@tempdimc=\z@ \else % \end{macrocode} % $\cmd{\@tempdima} = 8 \times\mathrm{abs}(x)$ @@ -2033,8 +2040,8 @@ % \begin{macrocode} \global\divide\@tempdimc 8 \fi - \endgroup - #3=\@tempdimc} + \edef\x{\endgroup#3=\the\@tempdimc}% + \x} % \end{macrocode} % \end{macro} % @@ -2240,6 +2247,7 @@ \newcommand*\pIIe@FAL{}\newcommand*\pIIe@FAW{}\newcommand*\pIIe@CAW{} \newcommand*\pIIe@FAI{} \newcommand*\pIIe@@firstnum{}\newcommand*\pIIe@@secondnum{} + \iffalse% the pstricks values gives too small arrows. (RN) \AtBeginDocument{% \@ifpackageloaded{pstricks}{% \def\pIIe@FAL{\psk@arrowlength}% @@ -2250,6 +2258,7 @@ \def\pIIe@@secondnum#1 #2 {#2}% }{}% } + \fi % \end{macrocode} % \end{macro} % \end{macro} -- cgit v1.2.3