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

learn more… | top users | synonyms (1)

88
votes
6answers
18k views

Is it possible to change the size of an arrowhead in TikZ/PGF?

I'm trying to draw an arrow with a bigger head than normal. Is it possible without changing the style of the line itself?
26
votes
6answers
9k views

TikZ: How to draw an arrow in the middle of the line?

Like this: .------<------. | | v ^ | | '------>------' I am currently using \begin{scope}[very thick,->] \draw (-4,1)--(-4,0)--(0.1,0); \draw ...
21
votes
4answers
2k views

How to draw arrows between parts of an equation to show the Math Distributive Property (Multiplication)?

there is a part of my paper where I use the distributive property and it's not that clear for the reader to see (I'm using in proposional logic for a proof). The logic equation (part of) is: (l_{1}) ...
19
votes
4answers
856 views

How to draw arrows from cell to cell at the borders of a table

How can I draw arrows from cell to cell at the borders of a table? More precisely I'd like to get something like this: It would be nice to have a solution using TikZ. Edit: Since I have other ...
19
votes
2answers
2k 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 ...
18
votes
3answers
905 views

Fancy arrows with TikZ

I would like to draw an arrow like this using TikZ: This is taken from Workflow diagram. I didn't succeed in reproducing the arrow; is somewhat beyond my (extremely limited) TikZ abilities. I don't ...
18
votes
2answers
824 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 ...
17
votes
2answers
458 views

Tikz: purely vertical arrow from nodeA.south to nodeB.north

I have the following tikz code % compilation command: pdflatex --jobname=Diag-f1 Diag.tex \documentclass{book} \usepackage{tikz} \pgfrealjobname{Diag} \begin{document} \beginpgfgraphicnamed{Diag-f1} ...
16
votes
3answers
1k views

How can I visualize Matrix operations?

I would like to visualize some matrix operations like that: How can I do that (preferably something that also works for mathjax)?
15
votes
5answers
988 views

Matching arrowheads in TikZ with math mode arrowheads

TikZ is great at drawing diagrams but there is one feature which I find quite annoying and that's the fact that the default arrowhead provided by TikZ does not necessarily respect the math mode in ...
15
votes
2answers
760 views

How to draw a coordinate system with LaTeX?

I want to draw a coordinate system like this: I would like to specify the width and height of the coordinate system and where the origin begins (upper left corner). I also want to specify the x and ...
14
votes
2answers
417 views

Optimizing code for dimension arrows (CAD) in TikZ

In Engineering it is customary to denote small dimensions with arrows as shown below (in binding correction and trim top): Variants exist such as Currently they are all hardcoded as for ...
14
votes
1answer
288 views

$\overrightarrow{a} \otimes \overrightarrow{b}$ looks unpleasant

As the question says, $\overrightarrow{a} \otimes \overrightarrow{b}$ looks rather unpleasant because the arrow over the a is so much lower than the arrow over the b. I'm not sure that just raising ...
13
votes
3answers
1k views

How to get correct arrow orientation on TikZ arc?

I'm trying to fix the following TikZ figure, where the circle device in the middle should be embraced by two bended arrows pointing counter-clockwise. I have drawn these arrows with an arc path, ...
13
votes
1answer
575 views

How to create a squiggle arrow with some text on it in TikZ?

I need to define a new command to create a squiggle arrow with some text on it. Something similar to what \xrightarrow command produces but with wiggly arrows as in \rightsquigarrow. The length of the ...
13
votes
2answers
881 views

Two-Headed Arrow Over Formula

I have a quantified formula. I want to show what happens when the order of quantifiers is reversed. To do this, I like to use a two-headed arrow over the formula, like this: Is it possible? I don't ...
13
votes
2answers
227 views

Complicated tikzpicture for theorem of multivariabe continuous functions

I'm attempting to construct a tikzpicture that looks like this: Here's what I have: \documentclass[12pt]{article} \usepackage{amssymb} \usepackage{amsmath} \usepackage[english]{babel} ...
12
votes
2answers
2k views

Tikz: Arrowheads in the center

For arrows I have gone through options like ->, ->>, <-, <<- but havent found one for making the arrowhead appear in the center of the line of the curve (something like ->-) How do I do it in ...
12
votes
4answers
1k views

arrows with tikz package

I use tikz, and try draw a directed graph with \begin{tikzpicture} \node[draw, circle] (1) {1}; ...
12
votes
2answers
222 views

Getting arrows underneath numbers

I want to draw curved arrows underneath my numbers, does anyone know how to do this? I've tried the command \curvearrowleft but TeX doesn't recognize that line, either because I don't have the package ...
12
votes
3answers
2k 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 ...
12
votes
2answers
476 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 ...
12
votes
2answers
88 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: ...
12
votes
1answer
228 views

Decorate a path with little arrows parallel to it

I want to decorate a path with little arrows (with definable length) parallel to it. I tried to modify an example from the manual, but I was only able to get arrowtips and not complete arrows where I ...
12
votes
1answer
289 views

Parallel flowcharts: conjoined nodes, arrow routing and alignment

Transitioning from GraphViz to TikZ is hurting my brain... My task is to generate flowcharts of the following variety: In particular, I need a method to position nodes that share borders ...
12
votes
1answer
175 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.
12
votes
1answer
553 views

Various arrow shapes above letters

I needed to type vectors with bend arrows, (in the debate arrow- bold, I vote for arrow). I did not find anything about that on internet (wording problem may be) but the closest I found was Dot ...
12
votes
1answer
703 views

How can I draw arrows between words in linguistic examples?

This is what I'm after: I'd like to have the sentence 'John loves his mother.' displayed with an arrow running from 'his' to 'John'. I looked at gb4e, but I found the documentation confusing and I ...
11
votes
4answers
625 views

Merge arrows with TikZ

I am still learning to use TikZ and now I find myself in a tight spot. I want to draw three processes on the lhs and one on the rhs. These processes are represented by a circle. I then want three ...
11
votes
3answers
278 views

TikZ - “Circled” arrow

In the code below, I would like to add one text inside one "circled" arrow in gray like in the following ugly draw. Screenshot Code \documentclass{article} \usepackage[utf8]{inputenc} ...
11
votes
4answers
702 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 ...
11
votes
3answers
2k views

Making an arrow in a pgfplot figure from one point to another?

How can I make an arrow from one point in a tikz picture to another point? In the following example, I would like to draw an arrow from the word data--which is approximately the coordinate (1982, ...
11
votes
1answer
360 views

Drawing a circle around a node that looks like an arrow

So I'm using TikZ, not too well-versed in it, and I would like to draw a node (unlabeled, just a dot) and with a dashed circle around it that has an arrow on it (this indicates direction). Basically ...
11
votes
1answer
3k views

How to set default style for arrow tips in tikz?

I am creating multiple tikz pictures within one document and would like to set the default style of arrow heads for all the pictures to the "latex" style, i.e. like -latex does, so that I don't have ...
11
votes
1answer
243 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 ...
11
votes
1answer
1k 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 ...
10
votes
5answers
1k 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
1answer
7k views

How to make bend lines/arrows with TikZ?

I've been testing out TikZ lately, but I'm still quite new to it. What I want to do is to create a line to indicate that a parameter belongs to a part of the drawing. For example "This surface that ...
10
votes
3answers
460 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) ...
10
votes
1answer
246 views

Use images for drawing an arrow

Is it possible to draw arrows (preferential with TikZ) with two images: One for the line and one for the tip? I would like to realize something like this:
10
votes
1answer
333 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?
10
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. % ...
10
votes
1answer
2k views

Squiggly arrows in tikz

Is it possible to get a path in tikz that looks like \rightsquigarrow?
10
votes
1answer
2k 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 ...
10
votes
1answer
296 views

Repositioning and resizing arrow tip on circular (arc) path

I'm working with some graphs, and I'd like to indicate a certain orientation of edges incident on a vertex. With some help I've managed to get this far: \documentclass{article} \usepackage{tikz} ...
9
votes
2answers
196 views

Possible bug with \implies and \Longrightarrow — there's a dot in the middle of it

I'm using TeXShop 2.43 on Mac OSX 10.6.8 and one of the latest LaTeX releases (I ran an update a few weeks back). My long implication arrows have a dot on either the top or bottom line (see attached ...
9
votes
1answer
161 views

How to get rid of an arrow in tikz?

I want to put a crossing on an edge. I do it in the following way: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english,russian]{babel} \usepackage{tikz} \usepackage{color} ...
9
votes
1answer
226 views

Illustrate distributive law with “broken” arrows

I would like to obtain the following formatting.
9
votes
2answers
937 views

Changing arrowheads size in pgfplots axes

I need to change the default axes arrowheads size of pgfplots when using the option axis lines=center. Following this answer, I tried this code: \documentclass{standalone} \usepackage{pgfplots} ...
9
votes
1answer
2k 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 ...

1 2 3 4 5 6