Advertisement
dvleo

Custom arrow tip (tikz)

Feb 4th, 2023 (edited)
561
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 0.48 KB | None | 0 0
  1. From  https://tex.stackexchange.com/questions/340360/arrow-with-plus-on-tail-in-tikz
  2. (See also https://tex.stackexchange.com/questions/150207/custom-tikz-arrowhead-with-bar-before-triangle-45)
  3.  
  4. \documentclass{article}
  5. \usepackage{tikz}
  6. \usetikzlibrary{arrows.meta}
  7. \tikzset{+ /.tip = {Bar[sep=1.5pt 2,width=3pt 4]_[sep=0]}}
  8. \begin{document}
  9. \tikz\draw[+->] (0,0) -- (1,0);
  10. \tikz[very thin]\draw[+->] (0,0) -- (1,0);
  11. \tikz[very thick]\draw[+->] (0,0) -- (1,0);
  12. \end{document}
  13.  
Tags: LaTeX tikz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement