Tagged Questions

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

learn more… | top users | synonyms (1)

0
votes
1answer
116 views

Problems labeling an arrow

Having this in the preamble: \usepackage{tikz} \usetikzlibrary{chains,shapes.multipart} \usetikzlibrary{scopes} \usetikzlibrary{decorations.markings} \usetikzlibrary{shapes,calc} ...
3
votes
2answers
232 views

Arrow indicating cycle between two pictures using TikZ — missing arrowheads

I'm trying to draw two arrows that should indicate that a neural network cycles between two states. Following the tutorial for the Petri net, I used pgfonlayer, fit and a scope to align two networks ...
4
votes
3answers
178 views

Right arrow with Label 'T' pointing from left figure to right figure

I want to make a right arrow pointing from left figure to right figure. The following is my current code. \begin{figure}[H] \centering \begin{subfigure}{.5\textwidth} \centering ...
2
votes
0answers
173 views

TikZ: Arrowhead color defined by an option for another command

I was studying the PGF manual when I faced the following behaviour. Referring to the code below, I specified a latex arrowhead after the \filldraw element and the arrowhead is drawn of the same ...
2
votes
0answers
15 views

Using array columns as arguments of a macro [duplicate]

I am creating a table using array, and I want one of my columns to be used as the argument of xrightarrow as shown below. To make the code cleaner, I want to avoid having to write xrightarrow for each ...
3
votes
1answer
177 views

Animated arrows

I would like to animate red arrows, some one would help me? thank you. \documentclass{beamer} \usepackage{graphics} \usepackage[T1]{fontenc} \usepackage[ansinew]{inputenc} \usepackage{lmodern} ...
3
votes
2answers
164 views

How to insert lines between text on Tikz

I am new to Tikz I just started working with it today and I came across with some difficulties that I can not find solution to them. I am producing a block diagram based on the example from Example: ...
1
vote
1answer
495 views

! Package tikz Error: missing semicolon [closed]

I have found this sample of code from here: Block diagram generation in LaTeX. Initially I had some problems while I was compiling the code and I solved them due to copy paste features some of the ...
5
votes
3answers
330 views

How to draw an arrow with a different head?

I need to draw an arrow but with different head. The head should look like $\dashv$. And I do need to change the line. I tried with $--\dashv$, but it wasn't nice. Any idea? It should look like a ...
5
votes
3answers
923 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 ...
13
votes
3answers
1k views

How can I create this game-tree in Latex?

I have the following figure: As of now I create this in Word/Powerpoint and paste the screenshot in a LaTeX file. Is there a way to create this natively? Also, what would be the advantage of doing ...
3
votes
2answers
155 views

Multiple arrows to an object

I am trying to figure out how to make several arrows point to a particular object. For example if I am wanting to have an arrow $A_i \rightarrow A A_j \rightarrow A$ and $A_k \rightarrow A$ and $A_i ...
9
votes
4answers
317 views

How can I get curly arrow underneath a state in a state transition diagram

I have a simple state transition diagram that I'd like to render in latex ideally using regular mathmode markup. The arrows show the probability of going between states. ...
6
votes
1answer
399 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?
3
votes
1answer
218 views

To draw two arrows to one point

I want pictures where I can point by two arrows with labels to one point like here How can you have two arrows pointing to one point?
1
vote
1answer
131 views

The meaning of $\rightsquigarrow$? [closed]

Perhaps this is not the good place to ask this question. In order to write a scientific paper, I would like to use the symbol $\rightsquigarrow$ (works also with $\leadsto$ which has a clearer ...
1
vote
2answers
118 views

Is there a painless way to get self-loop decorations on mathematical symbols?

In mathematics, we often write X \rightarrow Y to mean a function from X to Y. Now I'd like to denote a function from X to X via a looping-arrow decoration on the top right-hand corner of X. Is ...
3
votes
1answer
180 views

Getting double headed arrows with curly arrow above

I'm looking for a way to draw a double-headed arrow with a curly arrow above to depict a reversible chemical reaction with addition of another reagent. The script I'm working with at the moment is as ...
2
votes
1answer
191 views

To have a question mark over an arrow [duplicate]

I want to have a question mark over the arrow "\to". I cannot use "\limits^{?}" command because "\to" is not a mathematical operator. How can you have a question mark over the arrow?
7
votes
2answers
324 views

Skew an Arrow in a Tikz Diagram

I am trying to draw an arrow in a Tikz diagram but I would like it to be skewed as shown below. I searched Google but couldn't find any info about how to skew objects in Tikz. Is such a thing ...
6
votes
3answers
269 views

Two column? list with arrows between items

How would one achieve a list of two columns like this one: I only want list bullets on the left side, so in fact if each entry is a single item that's fine. Items never span multiple lines. I've ...
5
votes
1answer
261 views

Plotting loops: trajectories and directions

Plotting loops: trajectories have directions. How to plot the following figures using tikz 1st I start to plot the 2nd fig using the code \begin{tikzpicture} \draw (3,2) ellipse (.5cm and ...
6
votes
1answer
1k views

Draw curved arrows between nodes in tikz-qtree

Is there a "clever" way to draw curved lines between nodes without them to go all through the picture? Here is my MWE : \documentclass[11pt]{beamer} \usepackage{ulem} \usepackage{tikz-qtree} ...
5
votes
2answers
279 views

Producing a diagram showing relations between sets?

I'm just starting to use Latex and I was wondering if it's possible to produce a graphic like the following. It seems like I would have to start with something like a table and then somehow add in ...
2
votes
1answer
70 views

Bug in \arrow label?

I am trying to scale a molecule which I have as a label over an arrow in a reaction. For some reason, it seems I can't do it and I always get the following error: Argument of \CF@chemfig@i has an ...
4
votes
1answer
142 views

How do we mirror a reversible reaction arrow in chemfig

In Chemfig, the reversible reactions are represented with a double harpoon. The top one goes from the left to the right, the bottom from the right to the left. One can rotate this double arrow. But I ...
5
votes
3answers
200 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. ...
2
votes
0answers
42 views

tikz: arrow with two heads, why? [duplicate]

why do i get two heads with this code? how can i get rid of that one at the end? \documentclass[a4paper,10pt]{article} \usepackage[latin1]{inputenc} \usepackage{tikz} \begin{document} ...
1
vote
0answers
88 views

The spacing of `\to`

Let's say I use \def\searrow{\mathbin{\text{\rotatebox[origin=c]{-33}{$\to$}}}} instead of the \searrow. But \mathbin doesn't seem to provide the spacing that \to has; what should it be? Other ...
11
votes
0answers
299 views

How to use arrowheads from a unicode math font in TikZ diagrams under XeLaTeX or LuaLaTeX?

I like arrowheads in my TikZ diagrams to match the math font arrowheads. For Computer Modern, this is no problem: the TikZ arrows library provides matching arrowheads. But I often use other fonts ...
2
votes
0answers
87 views

Fill an arrow head with TikZ [duplicate]

I would like to fill an arrow head with a color, but I have a problem with the fill command : My code is : \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} ...
4
votes
1answer
451 views

Right arrow without italics

How can I print a \rightarrow or \Rightarrow (I really don't care, I just want an arrow...) without the following words being in italics? This sentence added for grammar control.
15
votes
3answers
825 views

Long Dashed Right Arrow

Is there a \dashrightarrow equivalent of: \xrightarrow{\hspace*{4mm}} or \longrightarrow or a similar way to fudge it?
7
votes
1answer
113 views

dotted or colored arc in \xymatrix

Does not arrows style or color option apply an arc in \xymatrix? Please let me know the way. \documentclass{article} \usepackage[arrow, matrix]{xy} \begin{document} \[ \xymatrix{ A ...
11
votes
1answer
160 views

Adding arrows with values over an expression

I'm trying to add arrows to math expressions (especially within limits) to note that there's a value assigned to certain term when solving a limit. I've come across the cancel package and its command ...
4
votes
0answers
388 views

3d arrows in tikz, or arrows that fit perspective

I'm trying to draw a 3d arrow in a 3d box (well lots of them actually). I've got the 3d box sorted, but the arrow doesn't look quite right. I've set up my axes/projection with: ...
3
votes
2answers
306 views

line/ arrow to node with rounded corners [duplicate]

A line to/from a rounded corner ends at the position 'north east' and not at the line around the node. Is there a simple way to end the line/arrow at the drawn line around A? MWE: ...
3
votes
1answer
108 views

An unwanted overlapping of arrows with xymatrix

I try to make a commutative diagram like this: with the code $\xymatrix{ Y \ar@{->>}[rd] \ar@{->>}[r] &{Y_1} \ar@{.>}[d]^<<<{\cong}_<<<{\exists} ...
2
votes
1answer
217 views

Breaking an arrow with text in a flowchart

is there a way to "break" a vertical arrow by text going through it in a flowchart? I just need a gap in the arrow for the text to go through.
7
votes
2answers
251 views

Double arrow for inline diagram

I want to make a diagram like A--->B, but there are two arrows, one written f_1 and another with f_2. I tried \stackrel, but this gives arrows with different sizes. If using ...
0
votes
1answer
289 views

Artin's squiggly arrow? [duplicate]

Is there a package containing the squiggly arrow that Artin uses in his Algebra text? It looks like: I've seen some of the options using tikz on here, but they aren't quite the same.
3
votes
2answers
280 views

Overwrite TikZ auto placement of weights in graph

So I have the following graph: \documentclass{article} \usepackage{amsmath} \usepackage{tikz} \usepackage[english]{babel} \begin{document} ...
3
votes
1answer
71 views

Arrow joining beginning and end of line with xy-pic

I'm trying to draw a sequence of arrows with xy-pic that extends over two lines, and so I need to draw an arrow joining the end of the first line with the beginning of the second line. Here's the code ...
4
votes
1answer
93 views

udots in TikzPic problem

I'm having a problem making a diagram in tikzpicture. Here's the code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amssymb} \usepackage{MnSymbol} ...
3
votes
1answer
101 views

Rightarrow with a Delta on it (for use with the mhchem package)

I have a small problem with arrows. I need a \rightarrow with a \Delta on it. Can you help me, please? I use the chemistry package \usepackage[version=3]{mhchem}.
5
votes
2answers
338 views

single thick arrow bent 90 degrees instead of two double thick arrows

I would like to draw such arrows in my tikz document - and I have done it using the following code - \documentclass{minimal} \usepackage{tikz} \begin{document} \begin{tikzpicture}[node ...
2
votes
3answers
185 views

How to add arrows to an infinite line?

I'm graphing part of a parabola, like so: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \clip (-0.1,-0.1) rectangle (4,3); \draw[->] (0,0) -- ...
12
votes
3answers
627 views

How to create simple causal chains with TikZ

I have a problem trying to create a simple causal chain, as it can be seen on the attached file: List of available TikZ libraries with a short introduction. I'm having two main issues: I would like ...
4
votes
2answers
478 views

Arrow tips in TiKZ appearing where I do not specify them

In a simple drawing like this (I use automata library): \begin{tikzpicture}[shorten >=1pt,node distance=2cm,auto,initial text=] \tikzstyle{every state}=[draw=blue!50,very thick,fill=blue!20] ...
0
votes
1answer
200 views

How to make a rightrightarrows [duplicate]

I want to make a $ \rightrightarrows $ (basically two rigtharrows vertically aligned) in a latex file, I have tried to use some libraries, but I don't have a clue which one is the right one (I'm also ...