Questions tagged [arrows]

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

2
votes
1answer
39 views

arrow to multipart rectangle

I want to do something like that: But I'm having a hard time with the arrow. I was wondering if there was a way to do it without hardcoding every coordinates. Here is the code of the multipart ...
1
vote
1answer
29 views

How to draw a double down arrow in xypic?

I want to have a pair of arrows going downward in a similar way to this picture(it's from AWWAPP so forgive me for the quality):
1
vote
1answer
31 views

Eliminate tail of curved arrow [duplicate]

I tried to draw a curved arrow like this: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw[->,thick] (2,1) edge[bend left=50] (3,2); \end{tikzpicture} \end{...
2
votes
1answer
54 views

TiKZ arrows and text inside of lslisting code

I have some lslistings code and I want to add some text and math elements as is shown in red color in the image below I tried using TiKZ but I got many errors. I'm attaching a MWE and thanks in ...
4
votes
5answers
311 views

Arrows inside a commutative diagram using tikzcd

\documentclass[12pt,reqno,a4paper]{amsart} \usepackage{extsizes} \usepackage{blindtext} \textheight 9.3in \textwidth 6.5in \calclayout \usepackage{mathtools} \usepackage{amsmath,amsthm,amsfonts,...
4
votes
3answers
286 views

Tikz-cd diagram arrow passing under a node - not crossing it

I'm drawing some commutative diagrams, and some of my diagonal arrows are crossing nodes on their way. I would like to have a sort of "crossing under", to force the arrow not to show while crossing ...
0
votes
1answer
20 views

How to put the arrows of an edge at the center in tkz-graph?

How can I put the arrows at the middle of the in this graph? \documentclass{standalone} \usepackage{tikz,tkz-graph,tkz-berge} \usetikzlibrary{positioning,fit,patterns} \tikzset{->-/.style={...
0
votes
0answers
27 views

\uparrow color and size change

Trying to add an up facing arrow of green color in a table in latex, but don't get one. Tried the same for a down facing arrow and got it. Below is the code used for down arrow and the code that doesn'...
4
votes
2answers
117 views

How to make a crossed out \leftrightarrow?

I want to make a \leftrightarrow that is crossed out on both sided arrows. It can be crossed out separately or in a single slash either is fine. I tried doing a \stackrel on \nleftarrow and \...
1
vote
2answers
23 views

Tik-cd arrow length not the same across different frames

This is the code for the first frame \documentclass{beamer} \usepackage{amsmath} \usepackage{tikz-cd} \begin{document} \begin{frame}[fragile, t]{My slides} \begin{equation*} \begin{tikzcd} \text{...
2
votes
2answers
118 views

Positioning arrow labels at absolute distance from end or start

I am making arrows using \begin{tikzpicture} \tikzset{ operatorNode/.style={ every node/.style={minimum size=1cm,draw,rectangle} }, variableNode/.style={ every node/.style={...
3
votes
1answer
65 views

Reversing the direction of the arrow in gb4e

Any suggestions on how to reverse the direction of the arrow such that it starts from the word je pointing to the word very in the example below? \documentclass{article} \usepackage{gb4e} \primebars ...
4
votes
2answers
90 views

Changing the lines of the arrowhead in circuitikz

First of all, this is a crosspost from the german website golatex.de. I am hoping another set of eyes on it might help find a solution. If I draw two voltage sources with circuitikz and the second ...
0
votes
0answers
22 views

alignment between an example in gb4e and the bracketed gloss

I need to have the words on the first line not so wide apart as in ex. 1 (ovaj and zadatak) and ex. 3 (je and vazan). Also, if possible, I'd like to have the bracketed second line more aligned with ...
3
votes
1answer
32 views

Right angles instead of bends on tikz arrows

I'm trying to draw nice arrows in-text arrows between two letters. I think they would look better with right angles instead of a bend (I'm new to tikz). How would I do this? Also open to suggestions ...
0
votes
1answer
47 views

Horizontal and vertical arrow over table (tabularx) environment

I have a simple table, see attached pic, and I would like a horizontal arrow over the first row, from left to right. Another arrow next to the first column, vertical. For both these arrow I would ...
0
votes
0answers
32 views

One way implication, one way no implication

I would like to make 2 implication arrows on top of one another, facing opposite directions, such that the bottom one is actually a not implies. I would also like to be able to label these arrows with ...
1
vote
1answer
59 views

How to type arrows for restriction and induction of representation?

I'm writing an article for representation theory and I want to type downward arrow for restriction and upward arrow for induction. The $\downarrow$ and $\uparrow$ give arrows that aren't right next to ...
2
votes
1answer
44 views

Retrosynthetic double arrow in chemfig

How to draw a double arrow in chemfig scheme:
0
votes
2answers
51 views

How to draw arrows on each arc and line in \path?

When I draw paths: \path [draw=blue] (0,0) arc(-60:60:1.732) arc(120:240:1.732); I want to add an arrow in the middle of each arc within this \path. Like this: I have tried the "show path ...
10
votes
4answers
948 views

How to type this arrow in math mode?

I need an arrow like the following: I tried \newcommand{\wedgearrow}{\mathrel{/}\joinrel\ssearrow} %stmaryrd but it doesn't work well.
0
votes
1answer
37 views

Arrow pointing on two rows of matrix

How to create an arrow which points on two adjacent rows of matrix (as in picture)?
0
votes
1answer
70 views

Create Tikz Single arrow label text orthogonal to arrow direction

I have this macro to create down arrows \newcommand{\arrowdown}[1]{ \tikz[baseline=-1ex]{\node [draw, fill=orange, single arrow, minimum height=3.5ex, single arrow head extend=1ex, rotate=-90] {#1};} ...
2
votes
1answer
36 views

tkz euclide How to give arrowheads on both sides to axes?

I'm using tkz-base and trying to plot inequation on x axis. I wanted to show arrowheads on both sides but when drawing X axis I get arrowhead only on right side. How do I get on both sides? I tried ...
5
votes
2answers
246 views

Drawing a Grid/Tikz image

I need to draw something like this (forgive me, it is very crude), to denote the dependencies in my algorithm. Basically, I want to say that the circle (l,r) has incoming arrows from the 3 other ...
0
votes
1answer
47 views

alternatives/options for overrightarrow

I want to type something similar to $\overrightarrow v$. To me the arrow looks too big in length and too wide in size of tip (especially at enlarged fontsize like 18). As if $v$ is overshadowed by the ...
2
votes
1answer
40 views

What is the correct way to typeset a vector when there is subscript or superscript?

Consider this MWE: \documentclass{article} \begin{document} \[\vec{v}_{12345}^{12345678}\] \[\overrightarrow{P_{12345}P_{12345}^{12345678}}\] \end{document} As you can see, \vec is designed to ...
2
votes
1answer
60 views

How to put a box and use columns to separate arrows

I am using the following resources: The multicols environment of Draw a set of arrows using a palette of colors. The box of How to put a long piece of text in a box? MWE: \documentclass{article} \...
3
votes
2answers
160 views

TikZ: How to reverse arrow direction without switching start/end point?

Assumed we have this MWE from user Caramdir: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,calc,decorations.markings,decorations.pathmorphing,arrows.meta} \begin{document} \begin{...
2
votes
1answer
53 views

Mhchem arrows length

Is it somehow possible to change the default length of arrows in chemical reactions using mhchem? In particular I would need to reduce its length, both for single and for double (equilibrium) arrows. ...
-1
votes
1answer
100 views

diagram with curved arrows and instructions (probably tikz)

I'll just cut to the chase. I'd like to do this: I would think tikz is the thing to use, but I'm not sure how to make the curvy arrows. Any help would be much appreciated. Thanks!
2
votes
1answer
70 views

Design an algorithm capable of predicting collisions to choose alternative path using `tikzpicture` environment

This is and addendum of a previous question: How to connect pics through a set of colorful arrows using tikzpicture environment. I would like to be able to draw arrows that do not overlap with nodes ...
1
vote
2answers
61 views

Vertical alignment of arrow between images

I'm struggling with template given for my article. I've got four images and I'd like to place right arrow between them. Problem is that arrows should be in the middle instead of at the bottom. \...
1
vote
1answer
33 views

Placing `\sim` above `\to`, with correct spacing

In an answer to a previous question, it is explained that \xrightarrow{\sim} will produce an arrow pointed to the right with the \sim symbol above it (e.g., to indicate that a map is an isomorphism)....
3
votes
1answer
63 views

How to connect `pic`s through a set of colorful arrows using `tikzpicture` environment

This is and addendum of a previous question: How to determine nodes to reduce their length using tikzpicture environment, and we need to use this other question: Draw multiple arrows from one node to ...
1
vote
1answer
60 views

crossed arrows in \xymatrix

I would like to strike out arrows in \xymatrix. Here is what I've done so far: \documentclass{article} \usepackage[all,cmtip]{xy} \usepackage{amsmath} \begin{document} \xymatrix{ ABCDE\ar@{<->} ...
1
vote
2answers
86 views

How to place an arrow on top and to the right of a matrix

I am trying to create a matrix shown below but I want the left arrow to be on the right side of the matrix because I want to have the name of the matrix on the left side. Here is what I have: \[ ...
2
votes
2answers
65 views

how to write double superscript over \xrightarrow

Instead of one line above the arrow I want to be able to write two lines over it. How can I achieve this? With this code I can only achieve one line: \xrightarrow[]{something}
0
votes
1answer
52 views

Bracket with Arrow for deduce argument

hello. how do this, an arrow with rightarrow for maths deduce and argument i tried \biggr\}\Rightarrow but is not tottaly near thanks
-1
votes
3answers
87 views

Can I have this in LaTeX? [duplicate]

I just made a figure with text I had compiled in LaTeX and arrows added later: Is it possible to have some text connected by diagonal arrows like above, all in LaTeX code?
2
votes
1answer
56 views

How to plot waves representing wireless link connection and set the exact width of a box from one point to another

The following diagram represents two devices connecting wirelessly. \documentclass[12pt]{article} \usepackage{tikz} \usepackage[active,tightpage]{preview} \usetikzlibrary{shapes,arrows.meta,calc,fit,...
0
votes
1answer
58 views

How can I make these arrows that point to something in the text?

How can I make these arrows that point to something in the text?
5
votes
2answers
184 views

Arrow between lines in the align environment

I want to add some texts between lines in the align* environment like this: I tried the following code: \documentclass{article} \usepackage{tikz,amsmath} \usetikzlibrary{tikzmark} \begin{document} \...
2
votes
1answer
86 views

Shorten \textleftarrow and \textrightarrow

I would like the arrows created by \textleftarrow and \textrightarrow to be 50% and 75% shorter, while leaving the arrow head the same size. I'm using it in a non-math environment; just normal text. ...
0
votes
1answer
207 views

How to write over a double-ended arrow [duplicate]

I've come across how to write over a left or right facing arrow but not one that's double-ended. I tried this below (but with \ in front of both [ and ] but for some reason this won't typeset here) ...
2
votes
1answer
70 views

How to set the horizontal separation of group of rectangles

In the following diagram: \documentclass[12pt]{article} \usepackage{tikz} \usepackage[active,tightpage]{preview} \usetikzlibrary{shapes,arrows.meta,calc,fit,backgrounds,shapes.multipart,positioning} \...
2
votes
2answers
136 views

TikZ node positioning, opacity, arrows and draw controls

I'm trying to draw a flow diagram using TikZ. I would like that the wording in the arrows appeared either left or right of the path, instead of on top of the arrows. I also tried to work around this ...
0
votes
1answer
75 views

tikz arrow tips, or a symbol with ->|, |-<, <-i shape, for the enter, indentation and de-indentation keys on the keyboard

The grammar of Python and other languages that use indentation for blocking, includes derivation such as Block ::= NewLine Indent Statemetns DeIndent I would like to write such a rule in my document....
1
vote
1answer
99 views

Adding a curved arrow in a TikZ picture

This is my code: \documentclass{standalone} \usepackage{tikz} \usepackage{xcolor} \usetikzlibrary{calc,patterns,decorations.pathmorphing} \usetikzlibrary{decorations.markings,positioning} \begin{...
2
votes
1answer
84 views

chemfig: double harpoon + curved arrow in reaction + rate constants

I've been trying to draw the following reaction scheme using chemfig: Following the response given here: chemfig: double harpoon + arched in/out arrow in reaction, I've managed to draw the following ...