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, 28 insertions, 16 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 79ac2d4085..39a8201975 100644
--- a/graphics/pstricks/contrib/pst-arrow/doc/pst-arrow-doc.tex
+++ b/graphics/pstricks/contrib/pst-arrow/doc/pst-arrow-doc.tex
@@ -1,13 +1,13 @@
-%% $Id: pst-arrow-doc.tex 136 2021-07-28 09:39:03Z herbert $
-\documentclass[11pt,english,BCOR10mm,DIV14,bibliography=totoc,parskip=false,smallheadings
+%% $Id: pst-arrow-doc.tex 164 2021-08-25 19:26:42Z herbert $
+\errorcontextlines=100
+\documentclass[11pt,english,BCOR10mm,DIV=14,bibliography=totoc,parskip=false,smallheadings,
headexclude,footexclude,twoside]{pst-doc}
-\usepackage[utf8]{inputenc}
-\usepackage{pst-node,pst-arrow}
+\usepackage{pst-node,hvlogos,pst-arrow}
\let\pstArrowFV\fileversion
\lstset{preset=\centering,pos=l,wide=false,vsep=5mm,language=PSTricks,%width=0.5\linewidth,
morekeywords={multidipole,parallel},basicstyle=\footnotesize\ttfamily}
%
-\def\bgImage{\begin{pspicture}(5,6)
+\renewcommand\bgImage{\begin{pspicture}(5,6)
\psset{arrowscale=2}
\pnode(3,4){A}\pnode(5,6){B}\pnode(5,0){C}
\psbezier[ArrowInside=->,%
@@ -31,7 +31,8 @@
\author{Herbert Voß}
%\docauthor{Herbert Vo\ss}
\date{\today}
-\maketitle
+
+\settitle
\tableofcontents
@@ -47,9 +48,10 @@ The \LPack{pstricks} related package provides more arrow types.
%--------------------------------------------------------------------------------------
\section{Arrows}
%--------------------------------------------------------------------------------------
-\LPack{pst-arrow} defines the following "`arrows"':
+\LPack{pstricks} defines the following "`arrows"':
\def\myline#1{\psline[linecolor=red,linewidth=0.5pt,arrowscale=1.5]{#1}(0,1ex)(1.3,1ex)}%
+ \def\mylineA#1{\psline[linecolor=red,linewidth=0.5pt,arrowscale=4.5]{#1}(0,1ex)(2,1ex)}%
\psset{arrowscale=1.5}
\begin{longtable}{@{} c @{\qquad} p{3cm} l @{}}%
Value & Example & Name \\[2pt]\hline
@@ -70,17 +72,26 @@ The \LPack{pstricks} related package provides more arrow types.
\Lnotation{**-**} & \myline{**-**} & Disks, flush to endpoints.\\
\Lnotation{{|}<->{|}} & \myline{|<->|} & T-bars and arrows.\\
\Lnotation{{|}>-<{|}} & \myline{|>-<|} & T-bars and reverse arrows.\\
- \Lnotation{h-h{|}} & \myline{h-h} & left/right hook arrows.\\
- \Lnotation{H-H{|}} & \myline{H-H} & left/right hook arrows.\\
- \Lnotation{v-v|} & \myline{v-v} & left/right inside vee arrows.\\
- \Lnotation{V-V|} & \myline{V-V} & left/right outside vee arrows.\\
- \Lnotation{f-f|} & \myline{f-f} & left/right inside filled arrows.\\
- \Lnotation{F-F|} & \myline{F-F} & left/right outside filled arrows.\\
- \Lnotation{t-t|} & \myline{t-t} & left/right inside slash arrows.\\[5pt]
- \Lnotation{T-T|} & \myline{T-T} & left/right outside slash arrows.\\
+ \Lnotation{h-h{}} & \myline{h-h} & left/right hook arrows.\\
+ \Lnotation{H-H{}} & \myline{H-H} & left/right hook arrows.\\
+ \Lnotation{v-v} & \myline{v-v} & left/right inside vee arrows.\\
+ \Lnotation{V-V} & \myline{V-V} & left/right outside vee arrows.\\
+ \Lnotation{f-f} & \myline{f-f} & left/right inside filled arrows.\\
+ \Lnotation{F-F} & \myline{F-F} & left/right outside filled arrows.\\
+ \Lnotation{t-t} & \myline{t-t} & left/right inside slash arrows.\\[5pt]
+ \Lnotation{T-T} & \myline{T-T} & left/right outside slash arrows.\\
+%
+ \Lnotation{<D-D>} & \mylineA{<D-D>} & curved arrows.\\
+ \Lnotation{<D<D-D>D>} & \mylineA{<D<D-D>D>} & curved doubled arrows.\\
+ \Lnotation{D>-<D} & \mylineA{D>-<D} & curved arrows, tip inside.\\
+ \Lnotation{<T-T>} & \myline{<T-T>} & curved lines.\\
+% \Lnotation{>T-T<} & \mylineA{>T-T<} & \TikZ\ like arrows.\\
\hline
\end{longtable}
+%\def\pst@arrowtable{,-,<->,<<->>,>-<,>>-<<,(-),[-],)-(,]-[,|>-<|,%
+% <D-D>,D>-<D,<D<D-D>D>,<T-T>,|<*->|*,|<->|,v-v,V-V,f-f,F-F,t-t,T-T}
+
\psset{arrowscale=1}
@@ -93,7 +104,8 @@ of the \Lkeyword{arrows} parameter. The parameter can be set with
\noindent or for some macros with a special option, like\\[5pt]
\noindent\verb|\psline[<general options>]{<arrow type>}(A)(B)|\\
-\noindent\verb/\psline[linecolor=red,linewidth=2pt]{|->}(0,0)(0,2)/ \ \psline[linecolor=red,linewidth=2pt]{|->}(0,0)(0,2)
+\noindent\verb/\psline[linecolor=red,tipcolor=blue,linewidth=2pt]{|->}(0,0)(0,2)/ \
+\psline[linecolor=red,tipcolor=blue,linewidth=2pt]{|->}(0,0)(0,2)
\subsection{Multiple arrows}
There are two new options which are only valid for the arrow type \verb+<<+ or \verb+>>+.