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

learn more… | top users | synonyms (1)

8
votes
2answers
474 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 ...
8
votes
2answers
177 views

Underarrow with smaller depth, shorter minimum length, and smaller arrow head?

I am using underarrows from amsmath to decorate messages with their direction, as in $\underleftarrow{\mathsf{msg}}$ () and $\underrightarrow{\mathsf{msg}}$ (). I am looking for a better underarrow, ...
8
votes
1answer
218 views

arrowhead rotation

I want the arrowhead to look more natural as opposed to goofy (which is the present state) \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows.new, decorations.markings, calc, fadings, ...
8
votes
1answer
795 views

TikZ: Superimpose text over arrow

I am trying to superimpose some text over an arrow with TikZ. I know it is possible to have the text over the arrow but this is not what I am trying to achieve. What I have done so far is: ...
8
votes
1answer
228 views

Enriching \to^*

I am trying to enrich $\to^*$ with a $w$ above it, and the cleanest look I could get was with the {\smash {\overset w \rightarrow}}^* command. However, I believe this to be a pretty ugly solution, and ...
8
votes
1answer
246 views

PGFPlots Parametric Plot, Arrow Spacing by Constant Time

For a parametric plot of a particle's position (x(t),y(t)), is it possible to usepgfplots to draw arrows equally spaced in time to indicate the direction of travel? For example, with (x(t),y(t)) = ...
8
votes
1answer
626 views

tikz and tables: node increases row height

I'm trying to add arrows to a table in my beamer presentation using the package tikz. Because I don't want the table to look different from the other tables in the presentation, I didn't use \matrix ...
8
votes
1answer
411 views

How to redraw a previous arrow?

I'm trying to write a macro \mappingto which, basically, called after an arrow has been drawn, should add another one below clarifying what elements are mapped to. e.g. in an easy situation, I'd like ...
7
votes
4answers
2k views

How to use \leadsto in LaTeX2e?

I tried to draw an arrow with the command \leadsto But I get the following exception: ! LaTeX Error: Command \leadsto not provided in base LaTeX2e. So how can I draw such an arrow? I tried to ...
7
votes
3answers
2k views

“Broken” arrow symbol

In his pretty awesome book “Undergraduate Algebraic Geometry” M. Reid uses (e.g. see page 4) symbol of “broken” arrow (which looks quite a like dash+space+short arrow : “- →”) for partially ...
7
votes
3answers
1k views

Drawing Multiple Diagonal Arrows in a Table

My question is basically the same as this one, but with many arrows instead. (I'd like to see the TikZ solution--I feel like once I get it here, I'll be able to extrapolate and do it in other cases ...
7
votes
5answers
1k 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
213 views

\nearrow and \swarrow together

I'm trying to get an arrow that has an arrow head pointing north east and south west, so like \updownarrow but rotated. I can't seem to find this in LaTeX at all. It has to go inside an equation ...
7
votes
2answers
647 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
272 views

How to make a figure with moving arrows?

How could I make the following figure? My code so far is: \documentclass[12pt,a4paper]{article} \usepackage[english,greek]{babel} \usepackage{ucs} \usepackage[utf8x]{inputenc} ...
7
votes
3answers
616 views

Arrows from cloud cross the outer line

I'm using TikZ to draw a cloud. Also I'm drawing arrows from the cloud to some nodes. But the startpoints of the arrows are in or outside the cloud but not exactly on the outer line. I think the ...
7
votes
2answers
352 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
2answers
1k 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
2answers
303 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 ...
7
votes
1answer
321 views

A Basic TikZ Drawing

I've not yet had enough experience drawing in TikZ to be able to do it quickly. I also find the manual a bit daunting -- though if I had time, I'm sure it does a fabulous job explaining everything I ...
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 ...
7
votes
2answers
896 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 ...
7
votes
2answers
180 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 ...
7
votes
2answers
395 views

Is there a logic symbol for counterfactuals

I am looking for a symbol that looks like: []--> So far I came up with $\Box\rightarrow$. The problem with this is, that the arrow is too far away from the box: How could I achieve this so that ...
7
votes
1answer
700 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{>}} ...
7
votes
2answers
335 views

Is there a short diagonal pointing arrow symbol?

I understand that the package stmaryrd has a shorter version of the \rightarrow, \shortrightarrow, I wonder if there's a short version of the diagonal arrows (e.g. \searrow) and if not, if there's an ...
7
votes
1answer
2k views

How to typeset inclusion arrow?

I would like to know what is the best way to do an inclusion arrow, using xy or tikz. I know that there is a command for an arrow, like \to, for inclusions, but this is not expansible. What do you ...
7
votes
1answer
313 views

Drawing Benzene resonance mechanism, and reaction mechanism + curly arrows

I am new to LaTeX and there are few things at which I am stuck. I can draw benzene with alternate double bonds but I don't know how to draw curly arrows to show bond shifting and electrophile attack. ...
7
votes
1answer
379 views

Filling the arrow tip and not the path using two different colors

I have a small problem with some arrows but I can't seem to find a solution. Please note that this question is different from Setting fill color for TikZ arrow tips only (and not the path itself), ...
7
votes
2answers
203 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 ...
7
votes
1answer
1k 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} ...
7
votes
1answer
676 views

How to draw slanting arrows between columns of a table?

I'd like to draw some simple slanting arrows between cells in a table. The two cells can be in almost any position in the table. For example given this table: How can I modify it to obtain: ...
7
votes
1answer
143 views

Hiding arrow in xymatrix?

I want to enlarge a xy-diagram. Using the \invisible command, I got some strange spacing. That's why I decided to redraw the complete diagram using the \only and the \phantom command. But there is an ...
7
votes
2answers
296 views

Odd behaviour with arrows and multipart rectangles

I recently posted a question Display issues drawing DNA sequences with TikZ. The issues I described were for the most part resolved, but one remains. I managed to simplify my example down to show the ...
7
votes
1answer
447 views

Tikz arrowhead size in tree using decorations?

Tikz is weird when in comes to decorating tree edges. I'd like to draw a tree with a snakey line with an arrow in the middle. What sounds simple is somewhat tricky but I found a solution with a ...
7
votes
1answer
1k views

Harpoons in TikZ

Can I have any harpoons in TikZ? I refer to my previous question on harpoons: "How to draw protocol interaction" using amsmath. The closest thing I have found is this code: ...
7
votes
1answer
249 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{ ...
7
votes
1answer
224 views

TikZ arrows pointing only to the superscript exponent

Here's what I've got at the moment: \begin{frame} \frametitle{Nazewnictwo} \tikzstyle{na} = [baseline=-.5ex] \large \[ \tikz[baseline]{\node[fill=blue!20,anchor=base] (t1){\Huge{$a$}};} ...
7
votes
1answer
868 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
1answer
248 views

TikZ double arrow between table rows

I need to create a double curved arrow that connects two cells in my table. I have found some sample a got this \documentclass{article} \usepackage{array,multirow,graphicx} \usepackage{tikz} ...
7
votes
0answers
173 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 ...
6
votes
3answers
2k 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 ...
6
votes
3answers
308 views

Countability of the rationals: a pictorial diagram

I am trying to reproduce the diagram below: I'm wondering what I should use to generate this. I can make the matrix, that's simple, but getting the arrows right is what's difficult... It would be ...
6
votes
3answers
1k 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
3answers
564 views

Circular arrow in 3D to indicate a unit axis rotation

I would like to indicate the directions of rotation and symbols used for the respective Euler angles. This would look nice using small circular arrows around the axes, as shown below: In this ...
6
votes
3answers
213 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 ...
6
votes
3answers
272 views

Circles at the ends of arrows

Consider four kinds of "arrow" symbols: 0. A horizontal line 1. A leftarrow 2. A rightarrow 3. A doublearrow I'd like to add circles to each end of these arrows, allowing for all possible ...
6
votes
2answers
399 views

Adding arrows connecting foreign keys in relations using latex

How can I create arrows connecting the foreign keys to the corresponding primary key in LaTeX? The end result I'm trying to achieve is this: What is the best way to do this in LaTeX (I'm still new ...
6
votes
3answers
617 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 ...
6
votes
1answer
451 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 ...