summaryrefslogtreecommitdiff
path: root/graphics/pstricks/contrib/pst-arrow/doc/pst-arrow-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pstricks/contrib/pst-arrow/doc/pst-arrow-doc.tex')
-rw-r--r--graphics/pstricks/contrib/pst-arrow/doc/pst-arrow-doc.tex44
1 files changed, 41 insertions, 3 deletions
diff --git a/graphics/pstricks/contrib/pst-arrow/doc/pst-arrow-doc.tex b/graphics/pstricks/contrib/pst-arrow/doc/pst-arrow-doc.tex
index bc5980c0f2..9547db542c 100644
--- a/graphics/pstricks/contrib/pst-arrow/doc/pst-arrow-doc.tex
+++ b/graphics/pstricks/contrib/pst-arrow/doc/pst-arrow-doc.tex
@@ -1,4 +1,4 @@
-%% $Id: pst-arrow-doc.tex 328 2016-09-01 19:00:31Z herbert $
+%% $Id: pst-arrow-doc.tex 134 2021-07-23 06:33:54Z herbert $
\documentclass[11pt,english,BCOR10mm,DIV14,bibliography=totoc,parskip=false,smallheadings
headexclude,footexclude,twoside]{pst-doc}
\usepackage[utf8]{inputenc}
@@ -23,6 +23,7 @@
\end{pspicture}
}
+\addbibresource{\jobname.bib}
\begin{document}
\title{\texttt{pst-arrow}}
@@ -343,6 +344,44 @@ overpainted by the line.
\end{LTXexample}
+%--------------------------------------------------------------------------------------
+\subsection{\nxLkeyword{tipcolor} option}
+%--------------------------------------------------------------------------------------
+
+It is possible to change the color of the arrow tip by setting \Lkeyword{tipcolor}:
+
+
+\begin{center}
+ \bgroup
+ \psset{linecolor=green,linewidth=1pt,arrowscale=2}%
+ \begin{tabular}{lp{2.8cm}}%
+ Value & Example \\[2pt]\hline
+ \rlap{\texttt{\textbackslash psset\{tipcolor=red\}}}\\
+ \verb+\psline{->>}(0,1ex)(2.3,1ex)+ & \psline[tipcolor=red]{->>}(0,1ex)(2.3,1ex) \\
+ \verb+\psline[nArrowsA=3]{->>}(0,1ex)(2.3,1ex)+ & \psline[tipcolor=red,nArrowsA=3]{->>}(0,1ex)(2.3,1ex)\\
+ \verb+\psline[nArrowsA=5]{->>}(0,1ex)(2.3,1ex)+ & \psline[tipcolor=red,nArrowsA=5]{->>}(0,1ex)(2.3,1ex)\\
+ \verb+\psline{<<-}(0,1ex)(2.3,1ex)+ & \psline[tipcolor=red]{<<-}(0,1ex)(2.3,1ex)\\
+ \verb+\psline[nArrowsA=3]{<<-}(0,1ex)(2.3,1ex)+ & \psline[tipcolor=red,nArrowsA=3]{<<-}(0,1ex)(2.3,1ex)\\
+ \verb+\psline[nArrowsA=5]{<<-}(0,1ex)(2.3,1ex)+ & \psline[tipcolor=red,nArrowsA=5]{<<-}(0,1ex)(2.3,1ex)\\
+ \rlap{\texttt{\textbackslash psset\{tipcolor=blue\}}}\\
+ \verb+\psline{<<->>}(0,1ex)(2.3,1ex)+ & \psline[tipcolor=blue]{<<->>}(0,1ex)(2.3,1ex)\\
+ \verb+\psline[nArrowsA=3]{<<->>}(0,1ex)(2.3,1ex)+ & \psline[tipcolor=blue,nArrowsA=3]{<<->>}(0,1ex)(2.3,1ex)\\
+ \verb+\psline[nArrowsA=5]{<<->>}(0,1ex)(2.3,1ex)+ & \psline[tipcolor=blue,nArrowsA=5]{<<->>}(0,1ex)(2.3,1ex)\\
+ \verb+\psline{<<-|}(0,1ex)(2.3,1ex)+ & \psline[tipcolor=blue]{<<-|}(0,1ex)(2.3,1ex)\\
+ \verb+\psline[nArrowsA=3]{<<-<<}(0,1ex)(2.3,1ex)+ & \psline[tipcolor=blue,nArrowsA=3]{<<-<<}(0,1ex)(2.3,1ex)\\
+ \verb+\psline[nArrowsA=5]{<<-o}(0,1ex)(2.3,1ex)+ & \psline[tipcolor=blue,nArrowsA=5]{<<-o}(0,1ex)(2.3,1ex)\\
+ \verb+\psline[tipcolor=magenta,nArrowsA=3,nArrowsB=4]{<<-<<}(0,1ex)(2.3,1ex)+ & \psline[tipcolor=magenta,nArrowsA=3,nArrowsB=4]{<<-<<}(0,1ex)(2.3,1ex)\\
+ \verb+\psline[tipcolor=cyan,nArrowsA=3,nArrowsB=4]{>>->>}(0,1ex)(2.3,1ex)+ & \psline[tipcolor=cyan,nArrowsA=3,nArrowsB=4]{>>->>}(0,1ex)(2.3,1ex)\\
+ \verb+\psline[tipcolor=yellow,nArrowsA=1,nArrowsB=4]{>>->>}(0,1ex)(2.3,1ex)+ & \psline[tipcolor=yellow,nArrowsA=1,nArrowsB=4]{>>->>}(0,1ex)(2.3,1ex)\\\hline
+ \end{tabular}
+ \egroup
+\end{center}
+
+
+
+\clearpage
+
+
\subsection{Big Arrows}
\begin{LTXexample}[width=5cm]
@@ -842,8 +881,7 @@ taken into account by the scaling value.
\bgroup
\raggedright
\nocite{*}
-\bibliographystyle{plain}
-\bibliography{\jobname}
+\printbibliography
\egroup
\printindex