summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-01-19 00:48:23 +0000
committerKarl Berry <karl@freefriends.org>2011-01-19 00:48:23 +0000
commit253a576fcd7a1b4f2e531719e79f7f8c98be2791 (patch)
treecec21c35ee091036c654c84e126fa54799297892 /Master/texmf-dist/doc/generic
parent3ecf59827473ef50811e6d2ca409aa7838d9f23d (diff)
pstricks-add 3.49 (18jan11)
git-svn-id: svn://tug.org/texlive/trunk@21119 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic')
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/Changes4
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdfbin1787845 -> 1780776 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex47
3 files changed, 47 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/Changes b/Master/texmf-dist/doc/generic/pstricks-add/Changes
index ea4a67a0325..e9a470d06ba 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/Changes
+++ b/Master/texmf-dist/doc/generic/pstricks-add/Changes
@@ -1,4 +1,4 @@
-%% $Id: Changes 439 2010-12-18 18:45:23Z herbert $
+%% $Id: Changes 445 2011-01-18 18:43:16Z herbert $
%%
pstricks-add.pro -----------
0.23 2009-12-20 - add RGBtoGRAY and WavelengthToGRAY
@@ -39,6 +39,8 @@ pstricks-add.sty ----------- (hv)
pstricks-add.tex ----------- (Dominik Rodriguez/hv)
+ v 3.49 2011-01-18 - add macro \psEllipseTangents for drawing tangent
+ lines of a point and an ellipse.
v 3.48 2010-12-18 - add macro \psCircleTangents for drawing tangent
lines of a point and a circle or two circles.
v 3.47 2010-12-14 - save the absolute coordinates of \psVector in node names
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
index b2947990e5a..ba27a113b54 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
+++ b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
index 8cdd5d020d9..88c43ec9e10 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
+++ b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
@@ -1,4 +1,4 @@
-%% $Id: pstricks-add-doc.tex 439 2010-12-18 18:45:23Z herbert $
+%% $Id: pstricks-add-doc.tex 445 2011-01-18 18:43:16Z herbert $
\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
headexclude,footexclude,oneside]{pst-doc}
\listfiles
@@ -336,12 +336,12 @@ and \verb=CircleT2=.
\end{lstlisting}
\bigskip
-When using the other variant of the macro two circles must be given. THe macro then defines
+When using the other variant of the macro two circles must be given. The macro then defines
ten nodes, named \verb=CircleTC1= and \verb=CircleTC2= for the two intersection points,
\verb=CircleTO1=, \verb=CircleTO2=, \verb=CircleTO3=, and \verb=CircleTO4= for the four
nodes of the outer tangent lines and
\verb=CircleTI1=, \verb=CircleTI2=, \verb=CircleTI3=, and \verb=CircleTI4= for the
- four nodes of the inenr tangent lines.
+ four nodes of the inner tangent lines.
\bigskip
\begin{pspicture}[showgrid](-2,-2)(10,10)
@@ -383,6 +383,47 @@ ten nodes, named \verb=CircleTC1= and \verb=CircleTC2= for the two intersection
\clearpage
+
+%--------------------------------------------------------------------------------------
+\section{\nxLcs{psEllipseTangents}: Calculating tangent lines of an ellipse}
+%--------------------------------------------------------------------------------------
+
+The macro calculates the two points on an ellipse where tangent lines from an outside point
+ are drawn.
+
+\begin{BDef}
+\Lcs{psEllipseTangents}\Largr{$x_0,y_0$}\Largr{$a,b$}\Largr{$x_p,y_p$}\\
+\end{BDef}
+
+The first two pairs of coordinates are the same as the ones for the default ellipse.
+The names of the calculates node names are \verb=EllipseT1=
+and \verb=EllipseT2=.
+
+\bigskip
+\begin{pspicture}[showgrid](0,3)(10,10)
+\psdot(2,4)\psellipse(7,7)(3,1.5)
+\psEllipseTangents(7,7)(3,1.5)(2,4)
+\pcline[nodesep=-1cm,linecolor=blue](2,4)(EllipseT1)
+\pcline[nodesep=-1cm,linecolor=blue](2,4)(EllipseT2)
+\psdots(EllipseT1)(EllipseT2)
+\uput[-80](EllipseT1){T1}\uput[115](EllipseT2){T2}
+\end{pspicture}
+
+
+\begin{lstlisting}
+\begin{pspicture}[showgrid](0,3)(10,10)
+\psdot(2,4)\psellipse(7,7)(3,1.5)
+\psEllipseTangents(7,7)(3,1.5)(2,4)
+\pcline[nodesep=-1cm,linecolor=blue](2,4)(EllipseT1)
+\pcline[nodesep=-1cm,linecolor=blue](2,4)(EllipseT2)
+\psdots(EllipseT1)(EllipseT2)
+\uput[-80](EllipseT1){T1}\uput[115](EllipseT2){T2}
+\end{pspicture}
+\end{lstlisting}
+
+
+\clearpage
+
%--------------------------------------------------------------------------------------
\section{\nxLcs{psrotate}: Rotating objects}
%--------------------------------------------------------------------------------------