summaryrefslogtreecommitdiff
path: root/graphics/pstricks/base/doc/pst-news19.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pstricks/base/doc/pst-news19.tex')
-rw-r--r--graphics/pstricks/base/doc/pst-news19.tex36
1 files changed, 34 insertions, 2 deletions
diff --git a/graphics/pstricks/base/doc/pst-news19.tex b/graphics/pstricks/base/doc/pst-news19.tex
index 9db696bc29..c670a6697d 100644
--- a/graphics/pstricks/base/doc/pst-news19.tex
+++ b/graphics/pstricks/base/doc/pst-news19.tex
@@ -1,4 +1,4 @@
-%% $Id: pst-news19.tex 934 2019-02-23 14:07:34Z herbert $
+%% $Id: pst-news19.tex 4 2020-06-09 08:32:19Z herbert $
\PassOptionsToPackage{useCalc}{pstricks}
\documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small,
headinclude=false,footinclude=false,twoside]{pst-doc}
@@ -54,9 +54,11 @@ this new file.
%--------------------------------------------------------------------------------------
-\section{\texttt{pstricks.tex} (v. 2.94 -- 2019/01/07)}
+\section{\texttt{pstricks.tex} (v. 2.98 -- 2019/05/16)}
%--------------------------------------------------------------------------------------
+\subsection{Plotting multilines}
+
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
@@ -118,6 +120,36 @@ coordinates. It needs
\end{LTXexample}
\fi
+%$
+
+\subsection{Relative coordinates -- experimental}
+
+All objects which can have at least two pairs of coordinates
+can use the »+«-operator to mark relative coordinates:
+
+\begin{BDef}
+\Lcs{psline}\OptArgs\OptArg{\Largr{$x_0,y_0$}}\Largr{$x_1,y_1$}+\Largr{$x_2,y_2$}\ldots\\
+\end{BDef}
+
+\begin{LTXexample}[width=5.5cm]
+\begin{pspicture}[showgrid](5,5)
+\psline[linecolor=blue]{->}%
+ (1,1)+(3,4)+(-2,-3)
+\end{pspicture}
+\end{LTXexample}
+
+
+\begin{LTXexample}[width=5.5cm]
+\begin{pspicture}[showgrid](-1,-2)(4,3)
+\psaxes[labels=none]{->}(0,0)(-1,-2)(4,3)
+\psbezier%
+ (!0.8 -95 PtoC 1 sub)+(8.5;85)+(5;-100)(2,1)%
+ +(1;-70)+(0.5;-110)(3,2)%
+ +(1;-80)+(0.5;95)(3.4,-0.8)
+\end{pspicture}
+\end{LTXexample}
+
+
\subsection{Error message}