Page 316 of the tikz-pfg manual describes meta arrow tips and says that usually we do not want to have the tip scaled the same way as the supporting line. Is there a way to keep this feature, ie, when using line width=5pt
, the tip should be five times bigger than for line width=1pt
?
[Tex/LaTex] meta arrow tips
arrowstikz-pgf
Related Question
- [Tex/LaTex] Why are bent arrows with arrow tips not symmetric in TikZ
- [Tex/LaTex] Repositioning and resizing arrow tip on circular (arc) path
- [Tex/LaTex] TikZ: Precisely controlling arrow tip position
- [Tex/LaTex] Arrow tip center with TikZ (and pgfplots)
- [Tex/LaTex] TikZ3 arrow tip specification for “no arrow” or “shift tip” option
- [Tex/LaTex] TikZ: ordinary arrow tip on double line
Best Answer
The v2.10 pgfmanual discusses these on Page 609. It shows both the meta arrows and the resized arrows.
In the TeX code for the manual the arrow tips were coded using
pgfarrowsdeclare
. Based on this, I would assume that there is not an existing option to simply have the arrows resized based on the line width. So, if you want to use them you would need to include the code shown below for thebad latex
andbad to
arrow styles in your document. Then to select them instead of specifying the arrows as[-latex]
or[-to]
arrows, you would simply use[-bad latex]
or[-bad to]
.Below is a comparison. The red arrows are resized according to the line size, and the blue ones are the meta arrows that are not simply scaled. From the small and large line widths it is clear that the meta arrows produce better looking results:
Here is the code which is copied almost directly from
pgfmanual-en-base-arrows.tex
: