diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks/pst-news19.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/pst-news19.tex | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news19.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news19.tex index 7b9315b2cef..e4a2c117c07 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-news19.tex 900 2019-01-10 11:11:13Z herbert $ +%% $Id: pst-news19.tex 905 2019-01-13 13:15:30Z herbert $ \documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small, headinclude=false,footinclude=false,twoside]{pst-doc} \listfiles @@ -64,15 +64,16 @@ 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$} +\Lcs{psLine}\OptArgs\OptArg{\Largr{$x_0,y_0$}}\Largr{$x_1,y_1$}\\ +\Lcs{psLineSegments}\OptArgs\Largr{$x_0,y_0$}\Largr{$x_1,y_1$}\ldots\Largr{$x_{n-1},y_{n-1}$}\Largr{$x_n,y_n$} \end{BDef} -If $P_0$ is missing, then $(0,0)$ as first point is assumed. - +If $P_0$ is missing for \Lcs{psLine} then $(0,0)$ as first point is assumed. \Lcs{psLineSegments} expects always +pairwise coordinates. \begin{LTXexample}[width=7cm] -\psset{unit=2.5cm} +\psset{unit=2cm} \begin{pspicture}(-1,-1)(1,1) \degrees[12] \pscircle{1} @@ -89,6 +90,17 @@ If $P_0$ is missing, then $(0,0)$ as first point is assumed. \end{pspicture} \end{LTXexample} + +\begin{LTXexample}[width=4cm] +\psset{unit=0.5cm} +\begin{pspicture}(6,6) +\psLineSegments[linecolor=blue]{->}(0,0)(0,1)(0,2)(0,3)(0,4)(1,4)% + (3,4)(4,4)(4,3)(4,1)(4,0)(2,0) +\end{pspicture} +\end{LTXexample} + + + \subsection{Error message} Using PSTricks with \Lprog{pdflatex} will work only when using package |