{arrows} is about drawing arrows, usually in {math-mode} or inside {diagrams}.

learn more… | top users | synonyms (1)

88
votes
6answers
18k views

Is it possible to change the size of an arrowhead in TikZ/PGF?

I'm trying to draw an arrow with a bigger head than normal. Is it possible without changing the style of the line itself?
26
votes
6answers
9k views

TikZ: How to draw an arrow in the middle of the line?

Like this: .------<------. | | v ^ | | '------>------' I am currently using \begin{scope}[very thick,->] \draw (-4,1)--(-4,0)--(0.1,0); \draw ...
21
votes
4answers
2k views

How to draw arrows between parts of an equation to show the Math Distributive Property (Multiplication)?

there is a part of my paper where I use the distributive property and it's not that clear for the reader to see (I'm using in proposional logic for a proof). The logic equation (part of) is: (l_{1}) ...
17
votes
2answers
463 views

Tikz: purely vertical arrow from nodeA.south to nodeB.north

I have the following tikz code % compilation command: pdflatex --jobname=Diag-f1 Diag.tex \documentclass{book} \usepackage{tikz} \pgfrealjobname{Diag} \begin{document} \beginpgfgraphicnamed{Diag-f1} ...
10
votes
1answer
2k views

Squiggly arrows in tikz

Is it possible to get a path in tikz that looks like \rightsquigarrow?
6
votes
1answer
546 views

meta arrow tips

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 ...
8
votes
1answer
2k views

Draw a diagonal arrow across an expression in a formula to show that it vanishes

Would like to find a way to cross out a term in a mathematical expression with a diagonal arrow pointing from lower left to upper right and with a little "zero" next to the pointy end of the arrow. :) ...
8
votes
2answers
2k views

Drawing arrow heads without the tails in TikZ?

I have an ellipse in a TikZ diagram and I would like to indicate a direction using an arrow head, but do not wish to draw the path leading up to the arrow head. I currently have \draw[->] (0,2) ...
0
votes
1answer
503 views

TikZ-pgf directed graph: change arrow color and location

I have something like this: \SetVertexNormal[Shape = circle, LineWidth = 2pt] \SetUpEdge[lw = 1.5pt, color = blue] ... \begin{tikzpicture} \Vertex[x=0 ,y=0]{1} ...
15
votes
5answers
988 views

Matching arrowheads in TikZ with math mode arrowheads

TikZ is great at drawing diagrams but there is one feature which I find quite annoying and that's the fact that the default arrowhead provided by TikZ does not necessarily respect the math mode in ...
13
votes
1answer
577 views

How to create a squiggle arrow with some text on it in TikZ?

I need to define a new command to create a squiggle arrow with some text on it. Something similar to what \xrightarrow command produces but with wiggly arrows as in \rightsquigarrow. The length of the ...
11
votes
4answers
627 views

Merge arrows with TikZ

I am still learning to use TikZ and now I find myself in a tight spot. I want to draw three processes on the lhs and one on the rhs. These processes are represented by a circle. I then want three ...
7
votes
3answers
229 views

How can I strike-out arrows in tikz?

I am using the following code to draw a Directed Acyclic Graph (DAG) using tikz: \usepackage{tikz} \small{\begin{tikzpicture}[% ->, shorten >=2pt, >=stealth, node distance=1cm, ...
8
votes
2answers
2k views

Double arrow in TikZ?

I'm trying to draw two arrows between nodes as follows: A ------> B <--/--- The arrows should be parallel, in opposite directions but not on top of each other. (I can bend the arrows but ...
7
votes
2answers
5k views

How to make an arrow bigger and change its color in TikZ?

I draw a line with an arrow at the end by \draw[->] .... Now I would like to make the arrow bigger, and change its color to red (without impacting the line). Does anyone know how to do it?
3
votes
2answers
712 views

Drawing Arrows in Tables

What is the best way to draw a diagonal line through the following table? \begin{center} \begin{tabular}{*{9}{c}} $e_{1}$ & = & $0$ & $.$ & $d_{1}^{1}$ & $d_{1}^{2}$ & ...
3
votes
1answer
774 views

Graph into graph with arrows

I'm using tikzpicture and I have some graphs, but I want some graphs with arrows. Is there any simple syntax change for that? My Graph: \begin{tikzpicture}[thick] \begin{scope} ...
12
votes
2answers
476 views

Modifying `*` and `o` style tikz arrows so that they are centered at the end of line

I would like to use tikz * and o arrows to indicate included/excluded endpoints in plots of piecewise functions, like for example the following one: However, it seems that tikz always aligns the ...
11
votes
3answers
280 views

TikZ - “Circled” arrow

In the code below, I would like to add one text inside one "circled" arrow in gray like in the following ugly draw. Screenshot Code \documentclass{article} \usepackage[utf8]{inputenc} ...
12
votes
2answers
2k views

Tikz: Arrowheads in the center

For arrows I have gone through options like ->, ->>, <-, <<- but havent found one for making the arrowhead appear in the center of the line of the curve (something like ->-) How do I do it in ...
10
votes
1answer
7k views

How to make bend lines/arrows with TikZ?

I've been testing out TikZ lately, but I'm still quite new to it. What I want to do is to create a line to indicate that a parameter belongs to a part of the drawing. For example "This surface that ...
10
votes
5answers
1k views

How do I stack more than two arrows in math mode?

The command \rightrightarrows (from amssymb) draws two arrows, one on top of another. How do I get three arrows arranged in a similar fashion? An example of this (and other fancy arrow stackings) ...
9
votes
1answer
2k views

How to draw an arrow in the middle of the line of a circle and how to position the arrow?

my problem ist related to TikZ: How to draw an arrow in the middle of the line?: My Example: I like to have two circles - I want to position the arrow of circle no. 1 at south.south west of circle ...
10
votes
3answers
463 views

Decorate path with arrows at nodes

Standalone example: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{shapes} \begin{document} \begin{tikzpicture} \draw[black, very thick] plot[smooth] coordinates {(4,1) (2,2) (1,3) ...
7
votes
5answers
880 views

How can I draw dirac deltas with arrow heads with pgfplots

I would like to draw this in pgfplots: I've tried this, but I can't figure out how to get the arrowheads. \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} ...
7
votes
2answers
637 views

Showing arrows crossing over or under other arrows in xy-pic without knots

I have an xymatrix in which two arrows cross each other, say \xymatrix{ \ar[dr] & \\ \ar[ur] & } and I would like one arrow to cross over the other. I also want to to be able to do this ...
6
votes
1answer
505 views

Curved text (on multiple lines) within curved arrow using tikz

I have a curved arrow and want to put text inside of it (having the same curve as the arrow, of course). If the text is longer than the arrow, the text should be put on multiple lines (optimally with ...
3
votes
1answer
550 views

Insert graphs and text side by side

I wanna know how can I draw graphs and arrows with text, side by side in Beamer as shown in the figure of this question Drawing arrows in beamer Can someone post the code?
19
votes
2answers
2k views

Arc between arrows in TikZ (automata library)

Here's what I have for now: \begin{tikzpicture}[->,>=stealth',shorten >=1pt,auto,node distance=3.5cm, semithick, bend angle=35] \tikzstyle{every ...
8
votes
3answers
235 views

Inserting an image properly in a table

I'd like to insert those lines that from "Foo" point to the four different rows in the table. I've tries inserting an image but it doesn't come out right (please ignore the bad quality of the ...
7
votes
1answer
166 views

TikZ arrows for displaying sorting algorithms

I would like to add some arrows like in the following picture from the code just below. Output excpected Code \documentclass{article} \usepackage{tikz} \usepackage{xstring} \tikzset{ ...
6
votes
1answer
1k views

How can I increase arrow-head size in tkz-graph?

How can I increase the size of the head of the arrows in a tkz-graph graph? This question is similar to Is it possible to change size of arrowhead in TikZ/PGF?, but requires an adaptation of the ...
11
votes
1answer
360 views

Drawing a circle around a node that looks like an arrow

So I'm using TikZ, not too well-versed in it, and I would like to draw a node (unlabeled, just a dot) and with a dashed circle around it that has an arrow on it (this indicates direction). Basically ...
10
votes
1answer
298 views

Repositioning and resizing arrow tip on circular (arc) path

I'm working with some graphs, and I'd like to indicate a certain orientation of edges incident on a vertex. With some help I've managed to get this far: \documentclass{article} \usepackage{tikz} ...
8
votes
2answers
1k views

\xRightarrow (text)

I know it's possible to have \xrightarrow (text), but if I try to do \xRightarrow (text) I get an error each time. Does anybody know if it's a syntax error or if there is a other way to produce the ...
5
votes
1answer
677 views

TikZ reversed arrow wrong placement

When I place reversed arrow heads as decorations I can do it in two different ways. The two ways place then at different positions, none of them is correct. In the following code I use both of them, ...
4
votes
2answers
827 views

Drawing network protocols

I want to produce network protocols, a very simplified example of which is depicted below: The protocol has two parties, each of which does some computation and then communicated with the other. I ...
19
votes
4answers
859 views

How to draw arrows from cell to cell at the borders of a table

How can I draw arrows from cell to cell at the borders of a table? More precisely I'd like to get something like this: It would be nice to have a solution using TikZ. Edit: Since I have other ...
18
votes
3answers
914 views

Fancy arrows with TikZ

I would like to draw an arrow like this using TikZ: This is taken from Workflow diagram. I didn't succeed in reproducing the arrow; is somewhat beyond my (extremely limited) TikZ abilities. I don't ...
14
votes
2answers
417 views

Optimizing code for dimension arrows (CAD) in TikZ

In Engineering it is customary to denote small dimensions with arrows as shown below (in binding correction and trim top): Variants exist such as Currently they are all hardcoded as for ...
12
votes
2answers
223 views

Getting arrows underneath numbers

I want to draw curved arrows underneath my numbers, does anyone know how to do this? I've tried the command \curvearrowleft but TeX doesn't recognize that line, either because I don't have the package ...
10
votes
1answer
2k views

Tikz - move/reposition arrow decorations (arrowhead length/size)

I'm trying to build a 'dimension line' macro for Tikz: \documentclass{article} % note: with \documentclass{minimal}, this example fails with: % ! Undefined control sequence. % ...
8
votes
4answers
2k views

drawing an arrow to a table cell

I have to draw an arrow to a table like in this picture.
7
votes
5answers
685 views

Symbol for “rotate around axis”

I have two pictures of an object where I need to indicate that one is rotated by x° (around a certain axis), preferably with the arrow in the picture - BUT - I can't seem to find this arrow in the ...
5
votes
2answers
1k views

cancel package downward arrow

Let's say that I want to cancel the denominator of a fraction and also assign him a value. Something like that \cancel{2}\cdot\dfrac{9}{\cancelto{2}{4}}. The problem here is that the fraction doesn't ...
12
votes
1answer
704 views

How can I draw arrows between words in linguistic examples?

This is what I'm after: I'd like to have the sentence 'John loves his mother.' displayed with an arrow running from 'his' to 'John'. I looked at gb4e, but I found the documentation confusing and I ...
11
votes
1answer
1k views

How do I create the negated arrow on \xrightarrow?

Say I have $x\xrightarrow{\rm mb}y$ as in the first line below, but I want a negation symbol like the one defined in \nrightarrow, as in the second line, but extendable. Does anyone know how I can do ...
8
votes
2answers
306 views

\to arrow with tikz or tikzcd

I want to replace the usual \to short arrow by an (approximately) equally short arrow with a nicer tip. Although completely newbie, I'm fond of tikz-methods and I write all my commutative diagrams ...
6
votes
1answer
288 views

Dashed down arrow

I am looking for a solution for dashed down arrow. Have already tried packages like lucidabr and MnSymbol, but these turn my whole stuff upside down, producing a lot errors like "Something is not ...
5
votes
1answer
104 views

How to draw bent arrows going to a new line in long formulas (ex. chain complexes)

I have to write quite long chain complexes such as 0\rightarrow A \rightarrow B \rightarrow C \rightarrow etc. with many terms in them, and I would like the arrows close to the side of the page to ...

1 2