Questions tagged [tikz-arrows]

{tikz-arrows} is about questions related to the arrow head specifications in the arrows library of the TikZ/PGF graphics package. If the question is not specifically addressing an issue related to the arrow construction, use the general {tikz-pgf} tag.

In TikZ/PGF package, one can find the Arrow Tip library for a variety of custom arrow heads. To be able to utilize these extra arrowheads, the following line

\usetikzlibrary{arrows}

should be added to the preamble. Then the arrowheads can be used in the TikZ pictures with, for example,

\draw[right hook reversed-open diamond] (0,0) -- (2,2);

which results in

enter image description here

See Tikz/PGF manual for more comprehensive details.

2041 questions
40
votes
2 answers

TikZ: What EXACTLY does the the |- notation for arrows do?

I am currently trying to work out how the perpendicular arrows work, and I fail. Taking: \draw [arrow] (node1) -- node[sloped, above] {Caption} (node1 |- node2.north west); I suspected that the notation meant: Draw an arrow from node 1, to the…
Layna
  • 547
16
votes
4 answers

Double-headed arrows

Is it possible to get TikZ-arrows to draw double-headed arrows? What I'm looking for is a way to achieve \draw[-triangle 90 triangle 90] (A) -- (B); and the open triangle equivalent, in the way TikZ would normally read \draw[->>] (A) -- (B);
DavidHume
  • 263
15
votes
1 answer

arrow style with arrows.meta library

I'm ready to style arrows using arrows.meta library, though I haven't found any documentation with predefined arrow styles syntax. The only one I know is…
ussername
  • 181
14
votes
1 answer

Label Arrow with tikz

This is a super simple problem, but I can't figure out how to add a label to an arrow between two nodes. Right now, the code I have seems to add an extra node in between the nodes I wish to connect and labels that node what I want to label the arrow…
Nick
  • 243
  • 1
  • 2
  • 5
9
votes
2 answers

Drawing \mapsto arrow in TikZ

I wanted to draw a long \mapsto-like arrow like this: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node (sequence) at (0,0) { $\sqrt[4]{2} \mapsto \sqrt[4]{2}\,i \mapsto…
8
votes
2 answers

How to draw this vector diagram in latex?

I tried tikzpicture, but the arrow is too thin. also, I don't know how to draw the coordinate system, and put the label at the end of the arrow. \begin{tikzpicture} \draw[->, ultra thick, blue, arrows={-latex}] (0,0) -- (1,1)…
fairytale
  • 769
8
votes
1 answer

Tikz: How to create arrow with two corners?

My problem is very similar to this question. However, I'm unable to use this solution in my figure. I want to connect two nodes with an arrow which has two corners. Here is my…
Malganas
  • 503
8
votes
1 answer

Draw arrow in a mind map

I used the PGF manual to help me draw a figure like the image below. But I'd like to add some arrows to indicate the flow of the events, like this image (I made it with Paint) I don't know how to that, because it's not a simple arrow. Here is my…
8
votes
4 answers

How can I draw the following directed graph?

How can I make such a graph using tikz? I can draw the circled nodes and the arrows, but I can't change their position. (e.g. the one that starts from node 1 and ends at node 3). Edit: I would prefer straight arrows and not curved ones, just as in…
7
votes
2 answers

Abnormally stretched arrow inside environment

I am trying to use the solution offered by Kpym in this…
AlvinL
  • 225
7
votes
1 answer

Draw better identity arrows in tikz

I work on TexMaker, and I would like to insert an identity arrow shaped like a long equal in a tikz diagram, and to do so people on internet often suggest to use the edge style "double". The problem is that I don't find the output very appealing (It…
LK512
  • 397
7
votes
1 answer

How do you accomplish stealth' with the new arrows.meta?

\documentclass{memoir} \usepackage{pgfcore} \usepackage{pgfplots} \usetikzlibrary{arrows, arrows.meta} \begin{document} \resizebox{\linewidth}{!}{ \begin{tikzpicture}[>=stealth'] \foreach \arrowa [count=\i from 1] in {stealth, Stealth,…
Neil G
  • 17,947
6
votes
1 answer

Circular arrow with text works but with formula fails!

I used the code http://www.texample.net/tikz/examples/circular-arrows-text/ and modified it a little bit. The text below is HI and it works fine. When I change HI to $\pi$, the typesetting does not finish. Any…
Mark S.
  • 561
6
votes
2 answers

Draw connected arrows over an equation

I would like to draw arrows like I show in the image below, sorry for the bad quality of the image. Here is the equation: \lambda_1(2,1,-1) + \lambda_2 (1,1,1) = (4,1,-5) Any tips on how this could be accomplished? EDIT: Tried to scaffold this…
Clone
  • 533
6
votes
1 answer

Timeline improve look to get a better understanding

My timeline shows all the needed information. I now want to make it look nicer, but I don't know how. I thought about colors for each "type" and a better font, e.g. \textnormal{}. What would you recommend? Can you help me…
lony
  • 471
1
2 3
11 12