| 1 |
% Copyright 2018 by Till Tantau |
| 2 |
% |
| 3 |
% This file may be distributed and/or modified |
| 4 |
% |
| 5 |
% 1. under the LaTeX Project Public License and/or |
| 6 |
% 2. under the GNU Free Documentation License. |
| 7 |
% |
| 8 |
% See the file doc/generic/pgf/licenses/LICENSE for more details. |
| 9 |
|
| 10 |
|
| 11 |
\section{Arrow Tip Library} |
| 12 |
\label{section-library-arrows} |
| 13 |
|
| 14 |
The libraries |arrows| and |arrows.spaced| from older versions of \pgfname\ are |
| 15 |
still available for compatibility, but they are considered deprecated. |
| 16 |
|
| 17 |
The standard arrow tips, which are loaded by the library |arrows.meta|, are |
| 18 |
documented in Section~\ref{section-arrows-meta}. |
| 19 |
|
| 20 |
|
| 21 |
% \subsection{Mathematical Arrow Tips} |
| 22 |
% |
| 23 |
% \begin{tabular}{ll} |
| 24 |
% \symarrow{to} \\ |
| 25 |
% \symarrow{to reversed} \\ |
| 26 |
% \symarrowdouble{implies} \\ |
| 27 |
% \symarrow{spaced to} \\ |
| 28 |
% \symarrow{spaced to reversed} \\ |
| 29 |
% \symarrowdouble{spaced implies} \\ |
| 30 |
% \end{tabular} |
| 31 |
% |
| 32 |
% |
| 33 |
% \subsection{Triangular Arrow Tips} |
| 34 |
% |
| 35 |
% \begin{tabular}{ll} |
| 36 |
% \symarrowdouble{latex} \\ |
| 37 |
% \symarrowdouble{latex reversed} \\ |
| 38 |
% \symarrow{latex'} \\ |
| 39 |
% \symarrow{latex' reversed} \\ |
| 40 |
% \symarrowdouble{stealth} \\ |
| 41 |
% \symarrowdouble{stealth reversed} \\ |
| 42 |
% \symarrow{stealth'} \\ |
| 43 |
% \symarrow{stealth' reversed}\\ |
| 44 |
% \symarrow{triangle 90} \\ |
| 45 |
% \symarrow{triangle 90 reversed} \\ |
| 46 |
% \symarrow{triangle 60} \\ |
| 47 |
% \symarrow{triangle 60 reversed} \\ |
| 48 |
% \symarrow{triangle 45} \\ |
| 49 |
% \symarrow{triangle 45 reversed} \\ |
| 50 |
% \symarrow{open triangle 90} \\ |
| 51 |
% \symarrow{open triangle 90 reversed} \\ |
| 52 |
% \symarrow{open triangle 60} \\ |
| 53 |
% \symarrow{open triangle 60 reversed} \\ |
| 54 |
% \symarrow{open triangle 45} \\ |
| 55 |
% \symarrow{open triangle 45 reversed} \\ |
| 56 |
% \end{tabular} |
| 57 |
% |
| 58 |
% \medskip |
| 59 |
% \noindent |
| 60 |
% \begin{tabular}{ll} |
| 61 |
% \symarrowdouble{spaced latex} \\ |
| 62 |
% \symarrowdouble{spaced latex reversed} \\ |
| 63 |
% \symarrow{spaced latex'} \\ |
| 64 |
% \symarrow{spaced latex' reversed} \\ |
| 65 |
% \symarrowdouble{spaced stealth} \\ |
| 66 |
% \symarrowdouble{spaced stealth reversed} \\ |
| 67 |
% \symarrow{spaced stealth'} \\ |
| 68 |
% \symarrow{spaced stealth' reversed}\\ |
| 69 |
% \end{tabular} |
| 70 |
% |
| 71 |
% \medskip |
| 72 |
% \noindent |
| 73 |
% \begin{tabular}{ll} |
| 74 |
% \symarrow{spaced triangle 90} \\ |
| 75 |
% \symarrow{spaced triangle 90 reversed} \\ |
| 76 |
% \symarrow{spaced triangle 60} \\ |
| 77 |
% \symarrow{spaced triangle 60 reversed} \\ |
| 78 |
% \symarrow{spaced triangle 45} \\ |
| 79 |
% \symarrow{spaced triangle 45 reversed} \\ |
| 80 |
% \symarrow{spaced open triangle 90} \\ |
| 81 |
% \symarrow{spaced open triangle 90 reversed} \\ |
| 82 |
% \symarrow{spaced open triangle 60} \\ |
| 83 |
% \symarrow{spaced open triangle 60 reversed} \\ |
| 84 |
% \symarrow{spaced open triangle 45} \\ |
| 85 |
% \symarrow{spaced open triangle 45 reversed} \\ |
| 86 |
% \end{tabular} |
| 87 |
% |
| 88 |
% |
| 89 |
% \subsection{Barbed Arrow Tips} |
| 90 |
% |
| 91 |
% \begin{tabular}{ll} |
| 92 |
% \symarrow{angle 90} \\ |
| 93 |
% \symarrow{angle 90 reversed} \\ |
| 94 |
% \symarrow{angle 60} \\ |
| 95 |
% \symarrow{angle 60 reversed} \\ |
| 96 |
% \symarrow{angle 45} \\ |
| 97 |
% \symarrow{angle 45 reversed} \\ |
| 98 |
% \symarrow{hooks} \\ |
| 99 |
% \symarrow{hooks reversed} \\ |
| 100 |
% \end{tabular} |
| 101 |
% |
| 102 |
% \medskip |
| 103 |
% \noindent |
| 104 |
% \begin{tabular}{ll} |
| 105 |
% \symarrow{spaced angle 90} \\ |
| 106 |
% \symarrow{spaced angle 90 reversed} \\ |
| 107 |
% \symarrow{spaced angle 60} \\ |
| 108 |
% \symarrow{spaced angle 60 reversed} \\ |
| 109 |
% \symarrow{spaced angle 45} \\ |
| 110 |
% \symarrow{spaced angle 45 reversed} \\ |
| 111 |
% \symarrow{spaced hooks} \\ |
| 112 |
% \symarrow{spaced hooks reversed} \\ |
| 113 |
% \end{tabular} |
| 114 |
% |
| 115 |
% |
| 116 |
% \subsection{Bracket-Like Arrow Tips} |
| 117 |
% |
| 118 |
% { |
| 119 |
% \bigskip |
| 120 |
% \catcode`\|=12 |
| 121 |
% \begin{tabular}{ll} |
| 122 |
% \sarrow{[}{]} \\ |
| 123 |
% \sarrow{]}{[} \\ |
| 124 |
% \sarrow{(}{)} \\ |
| 125 |
% \sarrow{)}{(} \\ |
| 126 |
% \index{*vbar@\protect\texttt{\protect\myvbar} arrow tip}% |
| 127 |
% \index{Arrow tips!*vbar@\protect\texttt{\protect\myvbar}}% |
| 128 |
% \texttt{\char`\|-\char`\|} & yields thick |
| 129 |
% \begin{tikzpicture}[arrows={|-|},thick] |
| 130 |
% \useasboundingbox (-1mm,-0.5ex) rectangle (1.1cm,2ex); |
| 131 |
% \fill [black!15] (1cm,-.5ex) rectangle (1.1cm,1.5ex) (-1mm,-.5ex) rectangle (0mm,1.5ex) ; |
| 132 |
% \draw (0pt,.5ex) -- (1cm,.5ex); |
| 133 |
% \end{tikzpicture} and thin |
| 134 |
% \begin{tikzpicture}[arrows={|-|},thin] |
| 135 |
% \useasboundingbox (-1mm,-0.5ex) rectangle (1.1cm,2ex); |
| 136 |
% \fill [black!15] (1cm,-.5ex) rectangle (1.1cm,1.5ex) (-1mm,-.5ex) rectangle (0mm,1.5ex) ; |
| 137 |
% \draw (0pt,.5ex) -- (1cm,.5ex); |
| 138 |
% \end{tikzpicture}\\ |
| 139 |
% \sarrow{spaced [}{spaced ]} \\ |
| 140 |
% \sarrow{spaced ]}{spaced [} \\ |
| 141 |
% \sarrow{spaced (}{spaced )} \\ |
| 142 |
% \sarrow{spaced )}{spaced (} \\ |
| 143 |
% \index{*spaced vbar@\protect\texttt{spaced \protect\myvbar} arrow tip}% |
| 144 |
% \index{Arrow tips!*spaced vbar@\protect\texttt{spaced \protect\myvbar}}% |
| 145 |
% \texttt{spaced \char`\|-spaced \char`\|} & yields thick |
| 146 |
% \begin{tikzpicture}[arrows={spaced |-spaced |},thick] |
| 147 |
% \useasboundingbox (-1mm,-0.5ex) rectangle (1.1cm,2ex); |
| 148 |
% \fill [black!15] (1cm,-.5ex) rectangle (1.1cm,1.5ex) (-1mm,-.5ex) rectangle (0mm,1.5ex) ; |
| 149 |
% \draw (0pt,.5ex) -- (1cm,.5ex); |
| 150 |
% \end{tikzpicture} and thin |
| 151 |
% \begin{tikzpicture}[arrows={spaced |-spaced |},thin] |
| 152 |
% \useasboundingbox (-1mm,-0.5ex) rectangle (1.1cm,2ex); |
| 153 |
% \fill [black!15] (1cm,-.5ex) rectangle (1.1cm,1.5ex) (-1mm,-.5ex) rectangle (0mm,1.5ex) ; |
| 154 |
% \draw (0pt,.5ex) -- (1cm,.5ex); |
| 155 |
% \end{tikzpicture} |
| 156 |
% \end{tabular} |
| 157 |
% } |
| 158 |
% |
| 159 |
% \subsection{Circle, Diamond and Square Arrow Tips} |
| 160 |
% |
| 161 |
% |
| 162 |
% \begin{tabular}{ll} |
| 163 |
% \symarrow{o} \\ |
| 164 |
% \symarrow{*} \\ |
| 165 |
% \symarrow{diamond} \\ |
| 166 |
% \symarrow{open diamond} \\ |
| 167 |
% \symarrow{square} \\ |
| 168 |
% \symarrow{open square} \\ |
| 169 |
% \end{tabular} |
| 170 |
% |
| 171 |
% |
| 172 |
% \medskip |
| 173 |
% \noindent |
| 174 |
% \begin{tabular}{ll} |
| 175 |
% \symarrow{spaced o} \\ |
| 176 |
% \symarrow{spaced *} \\ |
| 177 |
% \symarrow{spaced diamond} \\ |
| 178 |
% \symarrow{spaced open diamond} \\ |
| 179 |
% \symarrow{spaced square} \\ |
| 180 |
% \symarrow{spaced open square} \\ |
| 181 |
% \end{tabular} |
| 182 |
% |
| 183 |
% |
| 184 |
% \subsection{Serif-Like Arrow Tips} |
| 185 |
% |
| 186 |
% \begin{tabular}{ll} |
| 187 |
% \symarrow{serif cm} \\ |
| 188 |
% \symarrow{spaced serif cm} |
| 189 |
% \end{tabular} |
| 190 |
% |
| 191 |
% |
| 192 |
% \subsection{Partial Arrow Tips} |
| 193 |
% |
| 194 |
% \begin{tabular}{ll} |
| 195 |
% \symarrow{left to} \\ |
| 196 |
% \symarrow{left to reversed} \\ |
| 197 |
% \symarrow{right to} \\ |
| 198 |
% \symarrow{right to reversed} \\ |
| 199 |
% \symarrow{left hook} \\ |
| 200 |
% \symarrow{left hook reversed} \\ |
| 201 |
% \symarrow{right hook} \\ |
| 202 |
% \symarrow{right hook reversed}\\ |
| 203 |
% \symarrow{spaced left to} \\ |
| 204 |
% \symarrow{spaced left to reversed} \\ |
| 205 |
% \symarrow{spaced right to} \\ |
| 206 |
% \symarrow{spaced right to reversed} \\ |
| 207 |
% \symarrow{spaced left hook} \\ |
| 208 |
% \symarrow{spaced left hook reversed} \\ |
| 209 |
% \symarrow{spaced right hook} \\ |
| 210 |
% \symarrow{spaced right hook reversed} |
| 211 |
% \end{tabular} |
| 212 |
% |
| 213 |
% |
| 214 |
% \subsection{Line Caps} |
| 215 |
% |
| 216 |
% \begin{tabular}{ll} |
| 217 |
% \carrow{round cap} \\ |
| 218 |
% \carrow{butt cap} \\ |
| 219 |
% \carrow{triangle 90 cap} \\ |
| 220 |
% \carrow{triangle 90 cap reversed} \\ |
| 221 |
% \carrow{fast cap} \\ |
| 222 |
% \carrow{fast cap reversed} \\ |
| 223 |
% \carrow{spaced round cap} \\ |
| 224 |
% \carrow{spaced butt cap} \\ |
| 225 |
% \carrow{spaced triangle 90 cap} \\ |
| 226 |
% \carrow{spaced triangle 90 cap reversed} \\ |
| 227 |
% \carrow{spaced fast cap} \\ |
| 228 |
% \carrow{spaced fast cap reversed} \\ |
| 229 |
% \end{tabular} |
| 230 |
% |
| 231 |
% |
| 232 |
% \subsection{Spacing Tips} |
| 233 |
% |
| 234 |
% The spacing arrow tips are useful for combining them with other arrows |
| 235 |
% to get arrows that do not touch the end of the line. |
| 236 |
% |
| 237 |
% \begin{tabular}{ll} |
| 238 |
% \symarrow{space} \\ |
| 239 |
% \end{tabular} |
| 240 |
|
| 241 |
|
| 242 |
%%% Local Variables: |
| 243 |
%%% mode: latex |
| 244 |
%%% TeX-master: "pgfmanual-pdftex-version" |
| 245 |
%%% End: |