summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-10 22:17:50 +0000
committerKarl Berry <karl@freefriends.org>2019-01-10 22:17:50 +0000
commitebd9d263a09dd6264a8a4e48ce10150789f048af (patch)
tree9d0dce00aeb5f7535b79ccab8846821d3821e7b9 /Master/texmf-dist/doc/generic
parent8d656f7b22badc7a1e4e48811521048ef3df7101 (diff)
pstricks (10jan19)
git-svn-id: svn://tug.org/texlive/trunk@49659 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic')
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/pst-news19.pdfbin42448 -> 55849 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/pst-news19.tex37
2 files changed, 35 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news19.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-news19.pdf
index 03d85c029d7..2c05374dc6e 100644
--- a/Master/texmf-dist/doc/generic/pstricks/pst-news19.pdf
+++ b/Master/texmf-dist/doc/generic/pstricks/pst-news19.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news19.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news19.tex
index 9c7112d81cd..7b9315b2cef 100644
--- a/Master/texmf-dist/doc/generic/pstricks/pst-news19.tex
+++ b/Master/texmf-dist/doc/generic/pstricks/pst-news19.tex
@@ -1,4 +1,4 @@
-%% $Id: pst-news17.tex 699 2017-12-31 10:27:45Z herbert $
+%% $Id: pst-news19.tex 900 2019-01-10 11:11:13Z herbert $
\documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small,
headinclude=false,footinclude=false,twoside]{pst-doc}
\listfiles
@@ -52,9 +52,42 @@ this new file.
%--------------------------------------------------------------------------------------
-\section{\texttt{pstricks.tex} (v. 2.93 -- 2019/01/07)}
+\section{\texttt{pstricks.tex} (v. 2.94 -- 2019/01/07)}
%--------------------------------------------------------------------------------------
+There is a new macro called \Lcs{psLine} (uppercase L!) which can have
+only one or two pairs of coordinates. Remember that \Lcs{psline} can have more.
+With \Lcs{psLine} and an defined arrow you'll get nothing for something
+like \verb|\psLine{->}{1,1)(1,1)|, whereas \Lcs{psline} will output the arrowtip!
+This behaviour of \Lcs{psLine} maybe helpful for animations where a speedvector
+or a vector
+is shown with its components and one do not really knows the coordinates.
+
+\begin{BDef}
+\Lcs{psLine}\OptArgs\OptArg{\Largb{$x_0,y_0$}}\Largb{$x_1,y_1$}
+\end{BDef}
+
+If $P_0$ is missing, then $(0,0)$ as first point is assumed.
+
+
+
+\begin{LTXexample}[width=7cm]
+\psset{unit=2.5cm}
+\begin{pspicture}(-1,-1)(1,1)
+\degrees[12]
+ \pscircle{1}
+ \multido{\iA=0+1,\iB=3+1}{12}{%
+ \pnode(1;\iA){R}
+ \psLine[linecolor=gray,linestyle=dashed,
+ linewidth=0.4pt](R)
+ \psset{arrows=->,arrowscale=1.5,linewidth=1.5pt}
+ \rput(R){%
+ \psLine[linecolor=blue]({1;\iB}|0,0)
+ \psLine[linecolor=red](0,0|{1;\iB})
+ \psLine(1;\iB)}%
+}
+\end{pspicture}
+\end{LTXexample}
\subsection{Error message}