Skip to content

Instantly share code, notes, and snippets.

@AndiH
Last active April 23, 2024 01:54
Show Gist options
  • Save AndiH/f99d9b0cbd3519c27af5b96cfbeff97c to your computer and use it in GitHub Desktop.
Save AndiH/f99d9b0cbd3519c27af5b96cfbeff97c to your computer and use it in GitHub Desktop.
TikZ Arrow Tip Overview
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
\documentclass[10pt]{article}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}\begin{document}
Ti\emph{k}Z arrow tips overview (manual Section 16.5, \verb+arrows.meta+)
\begin{tikzpicture}[yscale=-1, y=2.5ex]
\foreach \tip [count=\i] in {
Arc Barb, Bar, Bracket, Hooks, Parenthesis, Straight Barb, Tee Barb,
Classical TikZ Rightarrow, Computer Modern Rightarrow, To,
Circle, Diamond, Ellipse, Kite, Latex, Latex[round], Rectangle, Square, Stealth, Stealth[round], Triangle, Turned Square,
Circle[open], Square[open], Triangle[open], Turned Square[open],
Rays[n=8]
} {
\draw [-{\tip}] (0, \i) to ++(1, 0) node [right] {\texttt{\tip}};
}
\end{tikzpicture}
\end{document}
@avatar-lavventura
Copy link

@AndiH Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment