diff options
author | Karl Berry <karl@freefriends.org> | 2010-04-27 00:59:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-04-27 00:59:14 +0000 |
commit | fd1452933a9c61590892c397e0a4217d9ada1dee (patch) | |
tree | 90f88b93edb70522d7f81604ed6fc33b988fbac8 /Master/texmf-dist/doc/generic | |
parent | fc9af029ad8683806201fc8c5e8daced875f73ed (diff) |
pstricks 2.04 (26apr10)
git-svn-id: svn://tug.org/texlive/trunk@18015 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/Changes.generic | 12 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/Changes.latex | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/pst-doc.cls | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/pst-news10.pdf | bin | 258906 -> 275762 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/pst-news10.tex | 60 |
5 files changed, 76 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/Changes.generic b/Master/texmf-dist/doc/generic/pstricks/Changes.generic index e1b7ebf1df8..3c4c5c81a28 100644 --- a/Master/texmf-dist/doc/generic/pstricks/Changes.generic +++ b/Master/texmf-dist/doc/generic/pstricks/Changes.generic @@ -1,4 +1,9 @@ pstricks.tex -------- +2.05 2010-04-26 - fix bug with missing \psk@rot for Ellipse +2.04 2010-04-24 - take \psk@rot into account for \psellipse (hv) + - new version of \pst@divide (ms) +2.03 2010-04-12 - add keyword correctAngle=true to get an + elliptic arc with correct bow length 2.02 2010-02-23 - fix a spurious blank in \NormalCoor 2.01 2010-02-15 - fix problem with nonlinear angles for \psellipticarc @@ -84,6 +89,13 @@ pstricks.tex -------- orientation (hv) 1.06 2005-02-24 fix spurious blank in doublestroke (hv) +pst-fp.tex ----------- (hv) + v 0.05 2010-01-17 add \pst@Int + add \pst@int + v 0.04 2009-11-24 add \pstFPadd + v 0.03 2009-11-14 add \pstFPmul + v 0.02 2009-04-02 initial version + xdvipdfmx.con ------ 0.01 2007-03-11 - first CTAN version, must be renamed to pstricks.con diff --git a/Master/texmf-dist/doc/generic/pstricks/Changes.latex b/Master/texmf-dist/doc/generic/pstricks/Changes.latex index 53adc28b400..5c2ab69dec0 100644 --- a/Master/texmf-dist/doc/generic/pstricks/Changes.latex +++ b/Master/texmf-dist/doc/generic/pstricks/Changes.latex @@ -1,4 +1,5 @@ pstricks.sty -------- +0.44 2010-04-24 - change version number of pstricks.pro 0.43 2010-03-20 - rename \pst@tempa to \pat@sty@tempa to prevent problems with pst-fill 0.42 2010-03-16 - load pst-fp only once by pstricks-tex diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls b/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls index 553a6901711..7092709bab3 100644 --- a/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls +++ b/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls @@ -1,4 +1,4 @@ -% $Id: pst-doc.cls 282 2010-02-09 21:05:55Z herbert $ +% $Id: pst-doc.cls 298 2010-03-13 08:46:53Z herbert $ % %% %% The PSTricks Project @@ -111,13 +111,13 @@ \definecolor{colIdentifier}{rgb}{0,0,0} \definecolor{colComments}{rgb}{1,0,0} \definecolor{colString}{rgb}{0,0.5,0} -\newcommand\ON{% +\providecommand\ON{% \gdef\lst@alloverstyle##1{% \fboxrule=0pt \fboxsep=0pt \fcolorbox{Black!15}{Black!15}{\bfseries\strut##1}% }} -\newcommand\OFF{% +\providecommand\OFF{% \xdef\lst@alloverstyle##1{##1}% } \lstset{% diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news10.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-news10.pdf Binary files differindex a98d282b185..f46de193fc9 100644 --- a/Master/texmf-dist/doc/generic/pstricks/pst-news10.pdf +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news10.pdf diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news10.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news10.tex index 30d3493ce24..aaec792c227 100644 --- a/Master/texmf-dist/doc/generic/pstricks/pst-news10.tex +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news10.tex @@ -55,6 +55,35 @@ No changes \section{\texttt{pstricks.tex} (\pstricksFV -- \pstricksFD)} %-------------------------------------------------------------------------------------- +\subsection{Macro \nxLcs{psellipse}} + +To rotate an ellipse the already existing keyword \Lkeyword{rot} can be +used. This is easier than using the \Lcs{rput} command and its optional +argument for rotating. + +\begin{LTXexample}[width=6cm,wide=true] +\psset{unit=0.25} +\begin{pspicture}(-1,5)(20,18) +\psclip{\psellipse[linecolor=red, + rot=-12.606](5.821,10.04)(6.633,5.103)} + \psellipse[linecolor=blue,fillstyle=vlines, + rot=39.29](13.141,11.721)(6.8,5.4) +\endpsclip +\psellipse[linecolor=blue,rot=39.29](13.1,11.7)(6.8,5.4) +\end{pspicture} + +\begin{pspicture}(-1,5)(20,18) +\psellipse[linecolor=blue,rot=-39.29, + fillstyle=vlines](13.1,11.7)(6.8,5.4) +\psclip{\psellipse[linecolor=red,rot=12.6, + fillstyle=vlines](5.8,10)(6.6,5.1)} + \psellipse*[linecolor=white,rot=-39.29](13.1,11.7)(6.8,5.4) +\endpsclip +\psellipse[linecolor=blue,rot=-39.29](13.1,11.7)(6.8,5.4) +\psellipse[linecolor=red,rot=12.6](5.8,10)(6.6,5.1) +\end{pspicture} +\end{LTXexample} + \subsection{Macro \nxLcs{psellipticarc}} In a circle the angle is proportional to the bow: $b=r\alpha$. In an elliptic arc this is no more the case, which is the reason why angles are @@ -98,6 +127,37 @@ different radii: \psset{unit=1cm} +If you do not want the angle correction, then use the keyword setting \Lkeyword{correctAngle}=\false: + +\begin{LTXexample}[width=6cm] +\psset{unit=0.5cm} +\begin{pspicture}(-5.5,-5.5)(5.5,5.5)% +\psset{linewidth=0.4pt,linejoin=1, + correctAngle=false} +\psline(5,0)(0,0)(5,-5) +\psellipticarc(0,0)(1,3){0}{315}% +\psset{linecolor=red} +\psellipticarc(0,0)(3,1){22}{222}% +\psline(3;22)\psline(3;222) +\end{pspicture}% +\end{LTXexample} + +\begin{LTXexample}[width=6cm] +\psset{unit=0.5cm} +\begin{pspicture}(-5.5,-5.5)(5.5,5.5)% +\psset{linewidth=0.4pt,linejoin=1, + correctAngle=false} +\psline(5,0)(0,0)(5,-5) +\psellipticarc*(0,0)(1,3){0}{315}% +\psset{linecolor=red} +\psellipticarc*(0,0)(3,1){22}{222}% +\psline(3;22)\psline(3;222) +\end{pspicture}% +\end{LTXexample} + + + + \subsection{Option \nxLkeyword{algebraic}} The option \Lkeyword{algebraic} moved from the other packages into the main package \LPack{pstricks} to get rid of the dependencies. |