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

learn more… | top users | synonyms (1)

3
votes
2answers
1k views

TikZ: position a node depending on width of text?

I need to use TikZ to draw two horizontally-spaced nodes, and an arrow between them, labelled by some text. But the arrow has to be exactly the right length to fit the text, and this will be part of a ...
4
votes
2answers
679 views

Better arrowheads in commutative diagrams

The Fourier package gives a different look for the arrowheads, which looks nice to me. I also want to use this arrowhead in the commutative diagrams. I have tried Taylor's diagrams package, xy-matrix, ...
3
votes
1answer
2k views

Rounded ends with tikz

I can draw double lines, and I can draw rounded caps using certain arrowheads. However, in combination they don't look as you would expect: \documentclass{article} \usepackage{tikz} ...
7
votes
5answers
2k 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} ...
13
votes
1answer
1k views

Smooth option sometimes produces incorrect arrow tips in PGFplots

It seems that the smooth option applied to lines sometimes effects the arrow tips and produces incorrect results. No problem with vertical lines, but any other seems to have a problem. Is this a ...
4
votes
2answers
2k views

How to prevent a TikZ arrow from touching a node?

I am using TikZ to draw some trees in my thesis. This is a sample of what is being done: \documentclass{article} \usepackage{tikz-qtree} \newcommand{\Ta}{ \begin{tikzpicture}[level distance=30pt, ...
3
votes
1answer
997 views

Tikz arrow starting exactly in the center

I have the following problem. I am using the tikz package to draw figures. I am drawing some sort of a data structure. This includes having nodes and lines which connect nodes. Sometimes, a line has ...
3
votes
2answers
3k views

Arrow with an asterisk superscript and text above?

I'm trying to create an arrow (or \mapsto) that has text above it and also an asterisk superscript — where the asterisk is only a superscript for the arrow, if that makes sense. I've been trying ...
7
votes
1answer
719 views

Shortcut for arrows on curves in TikZ

If I want to draw a curve with an arrow somewhere along its length (say 40% along), I can write this: \draw [decoration={ markings, mark=at position 0.4 with \arrow{>}} ...
11
votes
4answers
1k views

Oxidation/reduction arrows, overhead and below, with oxidation numbers also

I want oxidation/reduction arrows, overhead and below, with oxidation numbers also. Like the one featured in the watermark background on this very page upper left corner. Unfortunately, chemexec ...
10
votes
2answers
3k 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 ...
12
votes
3answers
1k views

How can I draw the outline of a path in tikz?

Using the arrow tip library, I can draw thick arrows with triangular tips, like so: \begin{tikzpicture} \draw[line width=2ex, rounded corners=2ex, triangle 90 cap reversed-triangle ...
5
votes
2answers
3k views

Successive display of animations in a beamer/tikz environment

i made a simple animated graphic in a tikz/beamer environment. the problem is that when i click on one of the slides, all animations begin to move. what i am looking for is that on slide 2 S begins to ...
2
votes
1answer
475 views

How to create \ssearrow with two heads

I'm using \ssearrow to denote a deformation retraction in algebraic topology. I want to use the same arrow, but with two heads for a strong deformation retraction. It doesn't exist in MnSymbol. Is ...
10
votes
1answer
386 views

Acronyms with an arrow in front of them

I'm using the acronyms package and I wonder if there's an easy way of marking acronyms as such by putting an arrow in front of them?
4
votes
2answers
506 views

Side reaction arrows: in and out

I want side arrows coming in and out of the reaction, a ubiquitous convention in biochemistry yet astonishingly not supported by packages like mhchem. mychemistry supports it (see p26 of package ...
0
votes
3answers
720 views

Command for horizontally flipped newline symbol

I'm looking for the command to produce the often used symbol indicating a line break --- but flipped horizontally. So basically this symbol: | | | \ |------ / It should fit within one line ...
5
votes
3answers
2k views

Unequal equilibrium arrows with overhead text

\documentclass[12pt]{article} \usepackage[version=3]{mhchem} \begin{document} \ce{CH2OH + ATP <=>>[\text{Hexokinase}] + \text{glucose 6-phosphate} + ADP + H+} \\ \ce{CH2OH + ATP ...
3
votes
2answers
1k views

Easiest way to get \not\longrightarrow to look good

I'm currently using \longrightarrow to mean "tends to [some limit]", and sometimes I need to use its negation. I see that there is an \nrightarrow, but unfortunately it doesn't make a matching pair ...
2
votes
3answers
2k views

Adding arrows to each term of an equation

\documentclass{beamer} \usepackage[all]{xy} \begin{document} \section{Introduction} \xymatrix{ &*+{\sum_{i=n}^m {i^2}} &*+{+}&*+{p} \\ & {\bullet} & D \ar[ul] && f \ar[ul] ...
4
votes
3answers
2k views

Subset arrows in xymatrix

Is it possible to make an arrow in xymatrix that is a subset symbol?
4
votes
1answer
506 views

Fatter arrowheads in xy-pic

I am formatting some diagrams using arrows in xy-pic. The "standard" arrow head that xy-pic produces with the command \ar is quite different (much smaller, thinner) than that produced by using the ...
12
votes
1answer
226 views

\rightarrow^* flipped to the left?

Is it possible to create something like $\rightarrow^*$ only flipped to the left? Someone suggested using $\mathbin{{}^*\leftarrow}$ but this still doesn't give me the same spacing.
5
votes
2answers
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
3answers
5k views

Chemistry Equations

I have the following Chemistry equation: 2LiOH(s) + CO2(g) -> Li2CO3(s) + H2O And I have the following LaTeX code: \ce{2LiOH_{(s)} + CO_{2(g)} -> Li_{2}CO_{3(s)}+ H_{2}O_{(g)}} But I ...
6
votes
3answers
634 views

How to make \left<\overrightarrow{b}\right> look good?

I want a 'b' with an arrow on top, enclosed in angle brackets. \left<\overrightarrow{b}\right> gives angle brackets which are far too high. <\overrightarrow{b}> gives far too much ...
11
votes
1answer
2k 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 ...
2
votes
1answer
510 views

Using the \newarrow command from Taylor's commutative diagrams package

I want to define new arrows to use in a commutative diagram, but I just can't make it work. The documentation is not particularly helpful; it doesn't even tell you where to put the ...
11
votes
1answer
3k views

Squiggly arrows in tikz

Is it possible to get a path in tikz that looks like \rightsquigarrow?
12
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. % ...
20
votes
1answer
4k 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. :) ...
18
votes
2answers
664 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 ...
7
votes
1answer
914 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, ...
7
votes
2answers
965 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 ...
3
votes
2answers
229 views

Error in arrow symbols.

My LaTeX installation, and many others on the internet seem to be typesetting arrows with thick bits in them, and it looks like a hypen or something has been overlayed over them. Does anyone have a ...
5
votes
3answers
1k views

Extensible injection arrow

I want to label an \rightarrowtail, but the arrow is too short for my label. So I want an extensible version of this arrow. I've tried the extpfeil package, but am not sure how to use it to create my ...
5
votes
3answers
409 views

How to change the gap between arrow and text

\documentclass[fleqn,12pt,a4paper]{article} \usepackage{chemarrow} \newcommand\Ra{$\autorightarrow{\scriptsize{Text over arrow}}{} $} \begin{document} \Ra \end{document} As shown in the image, is ...
7
votes
1answer
3k views

What makes LaTeX typeset basic \rightarrow arrowheads differently?

Recently I typeset the same document on two different computers—once on my Mac and once on a machine running Ubuntu. (Both have the latest release of TeX Live, or whatever the standard distro ...
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.
22
votes
2answers
990 views

Can I combine arrow tips in TikZ/pgf?

I'd like to draw an arrow using TikZ where I can specify more than one tip (or tail). This is presumably technically possible since the >> tip is a "doubled" tip: defining >=diamond produces ...
1
vote
2answers
2k views

Long Right arrow appears broken

I am using \longrightarrow{} in my document. however in the PDF it appears in two pieces instead of a long line. I tried using \chemarrow but it produces very short arrow. The size of arrow thats ...
1
vote
2answers
437 views

\Shortstack - Why it produces one line in Scriptsize

\documentclass[fleqn,12pt,a4paper]{article} \usepackage{amstext, amsmath} \begin{document} \[ \alpha \xrightarrow[\stackrel{Alpha}{\shortstack[c]{\text{is Reactant}\\ \text{converting to}}}] ...
0
votes
1answer
623 views

Two lines above & below arrow

क्रोष्टान् + स् $\xrightarrow[\stackrel{\normalsize\text{}}{\shortstack[c]{{\textcolor{blue}{\text{\scriptsize{\nameref{8.2.7}}}}}\ \textcolor{blue}{\text{\scriptsize{नकार gets ...
1
vote
1answer
3k views

Tikz Drawing Arrow between nodes

\begin{tikzpicture} \draw (0,2.5) node[minimum height=1cm,minimum width=3cm,draw] (A) {A}; \draw (5,0) node[minimum height=1cm,minimum width=3cm,draw] (B){B}; \draw (5,1.5) node[minimum ...
3
votes
3answers
4k views

Line with arrowhead in PGFPLOT

How can I add a line ending with an arrowhead in pgfplot? \begin{tikzpicture} \begin{axis}[grid=major,axis x line=middle, axis y line=middle] \addplot[domain=0:1, no markers] ...
4
votes
3answers
5k views

Big arrows between images

I am trying to put arrows between images. I did not want to put arrow images, I prefer LaTeX way solution. I used pointer from wasysym package. The result can be seen below. I know those arrows are ...
9
votes
1answer
3k 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 ...
5
votes
3answers
13k views

Arrow with text above

I am drawing an arrow using the following command: $ \xleftarrow{\mbox{\tiny{BCast}}} $‎. I have tested the command in two different environments: TeXShop (MacOS, uses TeX Live) outputs an arrow ...
2
votes
1answer
278 views

Utterly stumped by xypic \newdir — just combining examples from xyguide!

I want to use arrows whose heads and/or tails can be almost-triangles: roughly, something like A ———▷ B or A ▷——> B.  For the heads, there’s a good solution in xyguide: ...
5
votes
1answer
1k views

Change arrow head of \xrightarrow[]{}

I am using \xrightarrow{} in many places in my document. I want to change the tip to look like the one that gets produced by -latex. I am trying to get a similar tip for the \xrightarrow{} macro.