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

learn more… | top users | synonyms (1)

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 = ...
7
votes
1answer
873 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
214 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
238 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
251 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
3k 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
376 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
257 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
1k 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: ...
21
votes
2answers
5k 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} ...
6
votes
2answers
397 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 ...
2
votes
1answer
307 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
744 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. ...
8
votes
2answers
1k 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
182 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 ...
7
votes
1answer
777 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 ...
1
vote
1answer
178 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
1answer
285 views

tikzpicture has 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
392 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]: ...
1
vote
1answer
183 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 ...
6
votes
1answer
5k 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
79 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
518 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 ...
8
votes
1answer
3k 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
55 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
206 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
394 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
114 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
195 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
179 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 ...
5
votes
1answer
1k 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
1k 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 ...
8
votes
1answer
2k 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
109 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 ...
4
votes
2answers
313 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
955 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
452 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 ...
12
votes
2answers
1k 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
1k 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
634 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
62 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
346 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
630 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} ...
11
votes
1answer
2k views

How can I tikz the equivalence (i.e. $\Leftrightarrow$) as arrow?

I found in the manual that implies is the right kind of arrow tip, so I tried \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} \begin{tikzpicture}[>=latex] ...
1
vote
1answer
196 views

Label the source/target object in the middle of compositemaps from 2cell package of xy?

In the 2cell package for xy, there is a command for typesetting 2cells between composite arrows, namely \..compositearrow (where the .. stands for some number of u,l,d,r). I would like to use this ...
2
votes
1answer
216 views

Change the orientation of Arrow of xtwocell in the 2cell option for xy

I'm trying to make a diagram similar to this (from wikipedia) Except that I want to the double arrow $\eta$ two be pointing from node $B$ toward the middle of arrow $X$ (it is, after all, a natural ...
6
votes
3answers
395 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 ...
4
votes
2answers
749 views

limits to \oplus not working and double ended arrow equation

I am having an equation which having \oplus with limits, but \limits for \oplus gives error and there is another critical equation with double ended arrow. can anyone please help me to key this ...
3
votes
1answer
260 views

Representing Equivalence Relations with Nodes, Loops, and Edges

I've never used TikZ for illustrating equivalence relations, but I thought I'd try it out. What I'd like to produce is something like this: What is the general method for connecting points to ...
3
votes
1answer
316 views

Arrow alongside table

Long time listener, first time caller. I've got a table \begin{center} \begin{tabular}{cc} And two columns of pictures displaying results with a particular parameter increasing. I am trying to ...