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

learn more… | top users | synonyms (1)

3
votes
2answers
2k 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}$ & $d_{1}^{...
3
votes
1answer
6k 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} \...
6
votes
3answers
3k views

Table with arrows between cells

I want to create a table with arrows between some cells, for which I've used tabularx and TkiZ. I have the following problems: Text in cells aligned vertically to the center and at the same heigh (...
39
votes
2answers
71k views

\Rightarrow with text above it [duplicate]

When using the command \Rightarrow is there any way to put text above it? I have tried \overbrace but is there a way to do it without this?
6
votes
3answers
10k views

List with arrows instead of bullets

I want a bullet list with arrows instead of bullets, like: => Line 1 => Line 2 I tried this, but it returned some error: \begin{itemize}{labelitemi}{$\Rightarrow$}[leftmargin=1em] \item ...
17
votes
5answers
4k views

arrows with tikz package

I use tikz, and try draw a directed graph with \begin{tikzpicture} \node[draw, circle] (1) {1}; ...
12
votes
5answers
4k 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) ...
10
votes
4answers
1k views

Highlighting equation with arrow

I want to create an equation with highlighting as shown bellow. But using following code: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \...
9
votes
3answers
2k 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, pil/....
13
votes
2answers
392 views

Two coloured arrow

I would like to draw arrows in diagrams that have two colours split along the axis. (This shall represent a mixed case in colour-coded case distinction.) Here's a sketch: Here is a MWE to play with: ...
10
votes
1answer
6k views

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

My problem is 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 no. ...
8
votes
2answers
763 views

Highlight and use arrows in an equation In a robust manner

I am trying to give a very simple analogy to what I am trying to do with LaTeX. I simply want to write two vectors, one below or next the other, and then, use nodes to link the last two elements of ...
8
votes
1answer
576 views

Quiver plot with pgfplots: scale arrowheads with arrowsize

It is my understanding that the quiver plot with pgfplots keeps a constant arrowhead size, irrespective of the size (should I say length) of the arrow itself. Is there a way to have the arrowhead size ...
6
votes
3answers
2k 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
663 views

Single arrow with heads on both sides pointing in same direction

Please consider the following example of an arrow I would like to draw in a tikzpicture-environment: My MWE draws a single arrow but only with one head. Does anyone know how I can add a second head ...
10
votes
3answers
1k 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) (...
9
votes
3answers
376 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 ...
9
votes
2answers
963 views

tikz: How to place an arrow with label exactly in the middle of a line?

In the following example, the label is in the middle of the line. But the arrow, which acts as a marker, is not in the middle. Only its head but not the center of the arrow. \documentclass{article} \...
8
votes
5answers
3k 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
779 views

TikZ: Precisely controlling arrow tip position

Usually, when drawing a path with an arrow tip in TikZ, we want the tip to end precisely at the last point of the path, and this is what TikZ does by default. However, with some specific arrow tips, ...
7
votes
1answer
3k views

Tikz drawing different type of arrows

I am new to the TikZ package, and I need to make this image: in TikZ. For now I've done this, and I'm having trouble doing that kind of arrows of image above. \documentclass{article} \usepackage{...
7
votes
2answers
1k 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
3answers
3k views

Drawing vertical arrow to a table column

I would like to draw an arrow to the center of a table column as the following. How can I do that?
6
votes
1answer
420 views

Thick and patterned arrows

I am trying to get an arrow that is thick but not entirely black but has a pattern (e.g., crosshatch). I am not sure how to get this. I have the following that still gives me a black arrow: \...
3
votes
1answer
1k 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?
20
votes
2answers
4k 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 state}=[fill=none,draw=...
14
votes
1answer
7k views

Extending arrows with overset text

I'd like to extend an arrow to allow better readability of characters which are overset using \overset{}{}. Right now I have \overset{k_1}{\rightleftharpoons} which produces: and this leaves ...
7
votes
2answers
1k views

Putting an arrow next to table

I have a table. Each row in that table represents data at a certain point of time. Lower rows represent data for later times. To illustrate this, I'd like to draw an arrow at the side (which doesn't ...
7
votes
2answers
477 views

Dashed left arrow over symbol

I want to put dashed left arrow over symbol. Dashed left arrow looks like this: $x \dashedleftarrow y$ I want arrow to be over symbol $x$, like in $\overleftarrow{x}$ , only dashed. I tried ...
6
votes
1answer
1k views

Inline arrows with tikz

I'm trying to achieve an arrow that I can use inline, ie. somewhere in the running text, similar to \xrightarrow, but with an open triangle as its arrow head. This is what I came up with using tikz: ...
6
votes
1answer
3k 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 ...
5
votes
1answer
325 views

There is a need for (at least) two more dashed arrows in amssymbols : how to produce them?

In birational geometry, we often use dashed arrows to insist on the fact that our maps are not defined everywhere. I wonder how can we produce: a mapsto dashed arrow joining \mapsto and \...
5
votes
3answers
498 views

Gaps between arrows and labels

I have a question about my diagram. How can I increase the gap between the arrows and the labels? I would like to have more space between the left arrow and the label (2). Thanks for any suggestions. ...
5
votes
2answers
842 views

Connect Tikz nodes via two parallel arrows

I am just starting to learn using Tikz and am a little lost within its seemingly infinite amount of options and possibilities. What I am trying to do is visualize a few Matlab function interaction (...
5
votes
2answers
220 views

How to create this arrow with letters above and below?

How to create this arrow with letters above and below?
4
votes
2answers
1k views

No \xrightrightarrow[a]{b}?

It seems that the commands \xrightarrow, etc. in mathtools package don't allow me to put text above or below two arrows (\rightrightarrows). Is there any way to do this with extensible arrows? A crude ...
4
votes
2answers
122 views

Arrows in superscripts

I have something like this: \int\limits _{\left[a,c\right]}f I would like to add the arrow over the [a,b] to emphasize the directionality, but when I try to use: \int\limits _{\overrightarrow{\...
4
votes
2answers
2k views

Network/Message Sequence Diagram

I am looking to produce something similar (but more complex) to this diagram: This depicts network packets between two sides of communication. I don't know if there is any specific name for it (edit:...
3
votes
1answer
610 views

Customizing arrows with Tikz

I'm working with Tikz package and I want to create a new arrow tip. So I used the following code which I found in internet: \documentclass[a4paper]{article} \usepackage{tikz} \usetikzlibrary{arrows} ...
1
vote
1answer
119 views

Highlight matrix cell and have arrows pointing from cell with text [duplicate]

This code is building from the solutions posted here. I am trying the approach suggested from the duplicate solutions. I am having two issues: I am not sure how to get the arrow to point to the ...
11
votes
1answer
5k views

TikZ: configuring arrow tip appearance not working according to documentation

I'm trying to follow the details outlined in the manual for configuring the appearance of arrow tips. But, I get nothing but errors. I'm trying to get the examples from section 16.3 on Arrow keys to ...
10
votes
2answers
1k views

LaTeX problem: The \rightleftarrows symbol is too short

The \rightleftarrows symbol is too short horizontally for my liking. My search engine finds no helpful results for "latex longrightleftarrows". Is there some way to extend the symbol horizontally? \...
9
votes
1answer
10k views

TikZ: remove margin, padding, border around nodes containing images

I want to create a simple figure where images are connected with arrows. Here is what I did: \begin{tikzpicture} \node[](A) {\includegraphics[width=0.2\textwidth]{a}}; \node[right=1mm of A](B) {\...
8
votes
1answer
1k views

Arrows between two tables

I'd like to connect two cells from different tables using arrows. How can this be achieved?
8
votes
1answer
233 views

Style with 'transparency group'

Can we define a style telling "put all arrows on the same transparency group as the path" ? In the following example, I would like to redefine ephemeral style such that the blue and the red arrows ...
8
votes
2answers
2k views

How to draw just the arrow tip in TikZ

How can one draw "just the arrow tip" from one of the arrows in the arrow tip library in TikZ? The problem is that if you try a brute-force solution, eg. \tikz \draw[-triangle 90] (0,0) -- +(.1,0); ...
7
votes
1answer
1k views

“Double headed” vector

I want to have a double headed vector. I tried \overleftright, but the appearance is all but pretty. I would like to get the same kind of symbol, but with \vec appearance. Is it possible?
7
votes
1answer
1k 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, ...
6
votes
2answers
4k views

TikZ: using the ellipse command with a start and end angle instead of an arc

Consider the code below: \documentclass[convert = false]{standalone} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} \begin{tikzpicture} \draw[-latex] (0, 0) ellipse [x radius = 3cm, y ...
6
votes
2answers
861 views

Tikz-cd: How can I arrange diagonal arrows parallel?

The two lower diagonal arrows in the following diagram are obviously not exactly parallel. How can I arrange them correctly? \documentclass{article} \usepackage{tikz-cd} \usepackage{amsmath} \begin{...