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

learn more… | top users | synonyms (1)

7
votes
2answers
300 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 ...
5
votes
1answer
131 views

Arrows on number line

How do I add arrows to both ends of this number line? \begin{tikzpicture} \begin{axis}[ axis y line=none, axis lines=left, axis line style={-}, xmin=112.5, xmax=121.5, ymin=0, ymax=1, ...
6
votes
2answers
249 views

Drawing arrows indicating path's length in TikZ [duplicate]

I want to redraw this image using TikZ: I've written this code so far: \documentclass[tikz]{standalone} \usetikzlibrary{intersections} \tikzset{help lines/.style={dashed, thick}} \begin{document} ...
4
votes
1answer
133 views

Directed polyline with circles at vertices

This is a follow up question of two other questions. The first is Node at every vertex and the second one is this. My goal is to combine the two. In particular, I want to write something like ...
8
votes
2answers
445 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 ...
4
votes
2answers
2k views

Arrows chemical equations

I want to write the following equation; note the arrow underneath BaSO_4 and the H_2O over the \longrightarrow. Is that possible with the chemist package, which I already use for my chemical ...
10
votes
1answer
284 views

How to create a bent arrow at a rectangle corner?

I have created a rectangle and just can't find the solution how to draw a bent arrow from the south side (close to the south east corner) to the east side (also close to the south east corner). ...
1
vote
0answers
19 views

Double right arrow when typesetting Scala sources in LaTeX [duplicate]

How do you produce the unicode double right arrow variant of function types when typesetting Scala code with LaTeX? I can use math escape, like so \lstset{mathescape=true} \begin{lstlisting} val x = ...
8
votes
1answer
350 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)) = ...
4
votes
1answer
176 views

Curved Paths as Callouts

I often want to add what I call "callout arrows" to draw attention to some part of a technical graphic, such as the two curved paths with arrows below: Although I have used TikZ only a few times, ...
4
votes
1answer
108 views

pstricks-add: arrow on arcs

In pstricks-add, the arrow tip -v does not rotate if it is put on an arc, while other arrow heads do it. \psarc{->}(0,0){1}{0}{30} \psarc{-v}(0,0){1}{0}{30} Note that along segments, the tip is ...
5
votes
2answers
183 views

How to converge various nodes with rectangular shapes and arrow in TikZ?

I'm very new to TikZ. I would like to join some nodes as shown in the attached image I've got some idea from this thread tree rectangular. However, I could not manage to implement this properly ...
7
votes
1answer
2k 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
265 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} ...
8
votes
4answers
184 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 ...
4
votes
1answer
451 views

pgfplots: custom axis arrow head [duplicate]

I'm using this answer to make a bigger arrow head. I would like to use this new arrow head as my default arrow head (both in pgfplots axis and in tikz pictures). Here is a MWE: ...
19
votes
2answers
1k views

Meaning of bend right or left in TikZ?

The following code actually comes from the PGF manual. It works fine, but I have a difficult time in understanding it (I'm new to TikZ) \documentclass{article} % say \usepackage{tikz} ...
5
votes
2answers
239 views

Arrow accented with a dot (natural transformation)

In Mac Lane's "Categories for the Working Mathematician" I came across an arrow accented above with a dot, indicating a natural transformation. I failed to find an existing symbol for this. It looks ...
1
vote
1answer
200 views

Different height in different split parts + arrow positioning

\documentclass{standalone} \usepackage{tikz} \usetikzlibrary{positioning,shapes.multipart} \begin{document} \tikzset{every loop/.style={min distance=1mm,in=110,out=70,looseness=2}} ...
7
votes
1answer
404 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
534 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 ...
4
votes
1answer
153 views

Anchor point seems incorrect for Chemfig package

I'm trying to use chemfig to draw a basic schematic for enzymatic browning and have encountered a problem. In the bottom reaction (bottom right to bottom left) quinone is formed by the enzyme (denoted ...
6
votes
1answer
382 views

Dotted or dashed xrightarrow

I need a dotted or dashed arrow with text like \xrightarrow. I am aware of the MnSymbol package, but \dashedrightarrow does not allow me to write text on the arrow. Is there a package to accomplish ...
0
votes
0answers
101 views

Better extensible arrows

Using amsmath and extarrows packages, we have many extensible arrows. But these arrows look ugly, since some parts in an arrow are boldfaced. Are there any better-looking extensible arrows?
3
votes
0answers
143 views

tikzipicture have different arrow tip colors in pdf output and dvi output

i have the following mwe \documentclass[tikz,border=4pt]{standalone} \usetikzlibrary{arrows} \begin{document} \begin{tikzpicture}[->,>=angle 45,scale=3,ultra thick] \draw[help lines] ...
10
votes
1answer
315 views

Arrow with superscript in tikz-cd

I need my tikz-cd diagrams to have arrows (vertical and horizontal) that mimic \mapsto^* to match the relation in the text. The closest I've managed is to add a label {*} at [pos=1]: ...
0
votes
0answers
124 views

Make a 2cell diagram more beautiful (or less ugly)

I want to draw a two-cell diagram using xypic, the problem is that the bigone label is to long, how can I make the following diagram: looks like this one: using exclusively the two-cell feature ...
4
votes
1answer
1k views

TikZ: remove margin, padding, border around nodes containing images

I want to create a simple figure where images are connected with arrows. Here is what I did: \begin{tikzpicture} \node[](A) {\includegraphics[width=0.2\textwidth]{a}}; \node[right=1mm of A](B) ...
1
vote
0answers
61 views

Is there an extensive library of arrow tips with a standardized naming convention?

I am drafting diagrams where I need a lot of different arrow tips to indicate different types of directionality. Currently I am using a mixed set of libraries, which I mainly found through detexify. ...
3
votes
1answer
327 views

Inserting floating text near decision tree arrows

How do I insert Yes and No beside the solid arrows? I tried putting node [near end, right] {Yes} after each node and child declaration but this just messes up the flow of the decision tree. Code ...
6
votes
1answer
787 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 ...
3
votes
0answers
52 views

Nodes linked by a horizontal arrow in enumerate environment [duplicate]

Alright, here's what I need. I need links between nodes a la tkz-linknodes, but, unlike that package, I need linking arrows that appear beneath the sentence as opposed to linking arrows that appear in ...
5
votes
1answer
161 views

Drawing transitive diagram in Tikz

I am very new to Tikz. How to draw rounded arrows and nodes without rectangular boundary. I want to draw something like this:
6
votes
1answer
232 views

\Mapsto in tikz-cd

I'm loving using tikz-cd to draw compiler correctness diagrams, but I can't manage to get quite the same arrows for relations that I'm using in the text. In particular, I'm not sure how to get \Mapsto ...
3
votes
1answer
83 views

Arrow end points problem

I keep getting these circles in my graph and I cannot figure out why. This is the code, is there something wrong with it? Every arrow has a circle at its start and end points and there are also 3 more ...
1
vote
1answer
151 views

Arrow tikz cd don't appear

Tikzcd arrows don't appear in my pdf document. Why? \documentclass[12pt,a4paper]{book} \usepackage[latin1]{inputenc} \usepackage[brazilian]{babel} \usepackage[T1]{fontenc} ...
2
votes
1answer
151 views

How can one insert an arrow on the z-axis of a ternary diagram to indicate increasing order of the element on this axis?

I need help on how I can insert X_{Bi} and a rightarrow on the z-axis of each of the subfigures in my ternary diagram. X_{Bi} implies X subscript Bi while rightarrow is as in LaTeX to indicate that Bi ...
4
votes
1answer
391 views

How to write 2 parallel arrows in the xymatrix environment?

I want to draw 2 parallel arrows in the xy matrix environment. Basically instead of the standard arrow (\ar[r]), I want to have something like ...
16
votes
2answers
612 views

Making the size of the arrow head proportional to the magnitude of a vector field in TikZ

Consider a scaled vector field v = (-x, 2x+y-1) living on the triangle at (0,1), (1,0), and (0,0): \documentclass{minimal} \usepackage{tikz} \begin{document} \begin{tikzpicture} \coordinate (A) at ...
7
votes
1answer
860 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: ...
2
votes
1answer
97 views

Simple horizontal path

I am trying to create just a simple horizontal arrow (line 1) from Advertiser to Scanner above line 2 in a certain distance. Since too much time I am trying to find out the right grammatics but ...
3
votes
2answers
207 views

Forked arrows with chemfig

How can one make a forked arrow in chemfig? Semantically it is exactly opposite to \merge command but seems like it's not implemented in a package. I don't have any experience with TikZ graphics but ...
4
votes
1answer
466 views

How do I add only arrowheads to an EPS gnuplot figure?

As part of a diagram I want to add arrowheads indicating direction, but don't want the lines that normally come with them. Creating a very short line with an arrowhead is acceptable and works in ...
7
votes
1answer
345 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 ...
11
votes
2answers
701 views

Proper way to draw a tikz flowchart with arrows pointing back and forth between two nodes

I apologize if this is a duplicate, but I'm having a hard time finding an elegant solution. I have something that "works," but feels wonky. I'm making a presentation in beamer and I want to have ...
1
vote
1answer
736 views

Change arrowhead in line style definition

I'm trying to define a size for the arrowhead of a style, like this: \begin{tikzpicture} [line/.style={draw, ->, >=stealth, arrowhead=1cm}] % define nodes ... % define links ...
5
votes
2answers
401 views

Tikz-cd: How can I arrange diagonal arrows parallel?

The two lower diagonal arrows in the following diagram are obviously not exactly parallel. How can I arrange them correctly? \documentclass{article} \usepackage{tikz-cd} \usepackage{amsmath} ...
3
votes
0answers
56 views

Tikz: Arrow description closer to arrow [duplicate]

I want $Q(g)$ closer to the diagonal arrow in this tikz-picture. How can I manage that? Thanks. \begin{tikzpicture}[description/.style={fill=white,inner sep=2pt},baseline={([yshift=1.5em]current ...
6
votes
2answers
217 views

Straight math arrows

Is there any way to redefine all arrows in math mode (\rightarrow, \leftarrow, \Rightarrow, \Leftarrow, \to, etc.) to another arrows that finish with angle 90 TikZ option? I have done some tries and ...
5
votes
2answers
371 views

Big arrow across the table (overlay)

As shown in picture, is there a way to achieve this? \documentclass[12pt,a4paper]{article} \usepackage{rotating} % sidewaytables \usepackage{tikz} \usetikzlibrary{matrix} \begin{document} ...