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

learn more… | top users | synonyms (1)

9
votes
2answers
714 views

Why are bent arrows with arrow tips not symmetric in TikZ?

They say a picture says more than a thousand words. Is there a good reason why TikZ draws the arrows as skewed as in the left image? Is there any easy way to get good-looking, symmetric arrows as in ...
9
votes
1answer
330 views

Drawing multiple arrows at arbitrary angles in a common direction, with overlap

I am trying to draw a diagram with tikz that has multiple arrows (here I have 4) between nodes, where the nodes are placed arbitrarily in a diagram. My best (that is, shortest and easiest to ...
8
votes
4answers
220 views

TikZ chain adjust positions of on-the-arrow node

\documentclass{article} \usepackage{tikz} \usetikzlibrary{chains} \begin{document} \begin{tikzpicture}[start chain=circle placed {at=(\tikzchaincount*30:1.5)},regular/.style={draw,circle,inner ...
8
votes
3answers
313 views

How to put arrows pointing to equalities to explain each step

What´s the best way to explain every equality? With arrows like in Anything similar to this
8
votes
3answers
980 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 ...
8
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); ...
8
votes
2answers
416 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
4answers
830 views

Better transitive closure of labelled arrow

I think the answer will be easy, but I haven't found it yet: I use labelled arrows like \xrightarrow\tau a lot. Sometimes, I need the transitive closure of such relations, which I write ...
8
votes
3answers
1k 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 ...
8
votes
1answer
361 views

Tell TikZ arrow to terminate prematurely

Is it possible to tell arrows in TikZ to ease off a bit so as to not get within a thousandths of an inch of the target node? In my particular case I am using shadows which are interfering with the ...
8
votes
1answer
2k 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 ...
8
votes
3answers
525 views

How to make a thick line connect completely with the side of a box in TikZ?

In my figure, I have a thick line that connects with the side of a box. However, the line does not connect completely with the box. Also, the line covers part of the box (which I don't want). So, I ...
8
votes
4answers
174 views

How do I create a negated arrow on \xRightarrow?

Similar to this question, but with the \xRightarrow instead. I tried changing the 3rd version to use \Rightarrow like so: \documentclass{standalone} \usepackage{amsmath} \usepackage{amssymb} % for ...
8
votes
2answers
2k views

Matrix with arrows and labels

I would like your advice on writing a matrix with latex. In order to explain the meaning of the rows and columns, the matrix should be surrounded by two arrows, one on the left side pointing downward ...
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.
8
votes
1answer
167 views

Arrows in tables, or matrices

I have been experimenting with LaTeX for a couple of years now, but still consider myself a neophyte. I spent much of yesterday trying to create a table. I am trying to create a table with three ...
8
votes
2answers
775 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 ...
8
votes
1answer
3k 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 ...
8
votes
2answers
554 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
1answer
294 views

Does \Twoheadleftrightarrow exist? How to write my own?

I'm a LaTeX newbie. I am writing a document in which I need to have a two-headed bidirectional arrow. Two-headed like \twoheadleftarrow, bidirectional like \leftrightarrow. Is there any package that ...
8
votes
2answers
217 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
1k 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
260 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
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: ...
8
votes
1answer
821 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
434 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 ...
8
votes
1answer
165 views

Complex TikZ block diagram, several issues

As a long time lurker, this is my first question relating to a set of problems I have currently with TikZ. I try to draw a more or less complex block diagram, however things do not always turn out ...
7
votes
3answers
3k 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
2k 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
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} ...
7
votes
2answers
848 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
449 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
3answers
246 views

Curved arrows on top of every node

I'm a beginner of latex and tikz. I want to have curved arrows on top of each node as in tikx example. Following is my code. \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} ...
7
votes
2answers
304 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
2answers
465 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
296 views

Diagram with crossing arrows

My problem is that I have crossing lines/arrows in my diagram and during my search, I just found answers like here which do not suit for my problem. Maybe someone can help me out with this. The arrow ...
7
votes
1answer
398 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
734 views

Draw arrow not to node center but to edge of circle on this node?

This example: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}% \draw[help lines] (0,0) grid (1,1); \node [draw, circle] at (0,0) {}; \node [draw, ...
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 ...
7
votes
1answer
4k 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
5k views

Self loop in an undirected graph using TikZ

How can I create a self loop without a direction on the edge? \path[every node/.style={font=\sffamily\small}] (3) edge[loop] node {$e_{1}$} (3); creates the loop I want but has a direction.
7
votes
2answers
265 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
797 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
756 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
1answer
164 views

Arrow pointing to subscript in equation

I'm writing an equation for the components of a contracted tensor. I want to label one of the lower (covariant) indices with the text "rth positon," and have an arrow pointing to it from below. Any ...
7
votes
2answers
122 views

How can I change the style of two-cells?

How can I change the style of a two-cell? Take the following minimal example: \documentclass{article} \usepackage[all,cmtip,2cell]{xy} \UseTwocells \begin{document} $\xymatrix@C+1pc{C ...
7
votes
1answer
562 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
2answers
343 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
2answers
387 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
613 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)) = ...