Questions tagged [tikz-arrows]

{tikz-arrows} is about questions related to the arrow head specifications in the arrows library of the TikZ/PGF graphics package. If the question is not specifically addressing an issue related to the arrow construction, use the general {tikz-pgf} tag.

Filter by
Sorted by
Tagged with
38 votes
2 answers
5k views

TikZ: What EXACTLY does the the |- notation for arrows do?

I am currently trying to work out how the perpendicular arrows work, and I fail. Taking: \draw [arrow] (node1) -- node[sloped, above] {Caption} (node1 |- node2.north west); I suspected that the ...
user avatar
  • 527
6 votes
1 answer
500 views

Tikz equivalent of PSTricks commands ncbar and rnode

Motivated by this recent question, I tried to cook up a tikz based solution using the code provided in the answer to this question. More precisely, I tried to cook up equivalents of the pstricks \...
user avatar
16 votes
3 answers
1k views

Drawing circular arrows in tikz to represent turns in a T-intersection

This is what I would like to get, a graphical representation of all possible turns in a T-intersection: This is what I have: My current graph doesn't look very nice: the arc curves are weird; they ...
user avatar
35 votes
3 answers
22k 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 ...
user avatar
  • 8,002
10 votes
3 answers
3k views

Draw arrows to show multiplication pattern (distributive property)

Based on this question: How to draw arrows between parts of an equation to show the Math Distributive Property (Multiplication)? I got some nice tools for illustrating to my students how to find the ...
user avatar
  • 6,680
16 votes
3 answers
8k views

Double arrow in TikZ?

I'm trying to draw two arrows between nodes as follows: A ------> B <--/--- The arrows should be parallel, in opposite directions but not on top of each other. (I can bend the arrows but ...
user avatar
  • 161
13 votes
2 answers
4k views

3D arrows with TikZ

Asymptote does give 3D arrows when drawing three dimensional figures (they even have shade!). Could we fake it with TikZ? Here's an example, manually written, with just one arrow worked: \...
user avatar
  • 26.4k
16 votes
2 answers
13k views

Write easily a TIKZ flowchart

I created a npm package to write easily a TIKZ flowchart. Flowtex facilitates maintenance of a flowchart. Such as the insertion of new nodes or the positioning of the nodes as a function of others. I ...
user avatar
0 votes
1 answer
787 views

Incompatibility between TikZ and babel

In my preamble, you'll find: \renewcommand{\baselinestretch}{1} \renewcommand{\familydefault}{\sfdefault} \usepackage[sfmath]{kpfonts} \usepackage[mathrmOrig]{sfmath} \usepackage{amsmath} \usepackage{...
user avatar
  • 672
21 votes
2 answers
34k views

Adjusting the size of an arrow

I would like to make the width of an arrowhead larger. Is there a simple way to do this without defining a new arrowhead type? For instance, I would like to be able to write something like \draw[->,...
user avatar
  • 1,133
16 votes
2 answers
2k views

How can I improve the look of an arrowhead at the end of a small-radius arc?

Arrow heads added to arches with small radius look ugly, they do not look symmetrical. Here is an example : \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows.meta} \...
user avatar
  • 837
5 votes
2 answers
3k views

Custom arrow shaft in tikz

I'm trying to go from xypic to tikz but there are a number of xypic features that I don't seem to be able to find in tikz. In tikz you can easily draw double-arrows, which is about the same as using \...
user avatar
6 votes
2 answers
1k 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 ...
user avatar
  • 467
8 votes
3 answers
667 views

Scaling arrows.meta with tranform shape

Consider the following MWE: \documentclass[]{article} \usepackage{tikz} \usetikzlibrary{arrows.meta} \tikzset{myarr/.style={ -{Triangle[width=6pt, length=9pt]}, }} \begin{document} \begin{...
user avatar
  • 30.6k
45 votes
1 answer
96k views

Draw a graph in Latex with Tikz

I am interested in outputting this graph in latex using tikz: So far I got this: and my tikz code is \begin{tikzpicture} \node[shape=circle,draw=black] (A) at (0,0) {A}; \node[shape=...
user avatar
  • 887
8 votes
2 answers
5k views

Add arrowhead to plot

I would like some help to add arrows and text to my plot like this: Here is the code that I have so far: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{datavisualization.formats....
user avatar
  • 8,714
6 votes
2 answers
552 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} \usepackage[usenames,...
user avatar
  • 3,192
5 votes
2 answers
2k views

Problems with flow chart - decision tree

I am creating a decision tree with flow chart in the using the tikz-package. A MWE is as follow: \documentclass{article} \usepackage[latin1]{inputenc} \usepackage{tikz} \usetikzlibrary{shapes,arrows} \...
user avatar
  • 397
4 votes
1 answer
1k views

TikZ arrow tips on every subpath?

I would like to draw a single path with relative coordinates, where every segment gets their arrow tips. I have tried \draw[<->] (0,0) -- ++(1,0) -- ++(1,0) -- ++(1,0); But of course, as is ...
user avatar
  • 237
15 votes
1 answer
278 views

Late time consequences of nonlinear transformations

I am really puzzled about the impacts or side-effects of the nonlinear transformations. Consider the MWE \documentclass[tikz,border=3.14mm]{standalone} \usetikzlibrary{arrows.meta} \usepgfmodule{...
user avatar
16 votes
1 answer
24k views

TikZ arrow positioning

With help of you I could get started with TikZ and create this image: Because I want to explain the double arrow part (HIS <-> Processing) better, I want to extend the "HIS" block and split this ...
user avatar
21 votes
3 answers
10k views

How to make an arrow from a node to itself have a nice arc?

Consider the following network: \documentclass[11pt]{article} \usepackage{tikz} \usetikzlibrary{arrows,shapes,snakes,automata,backgrounds,petri} \begin{document} \begin{tikzpicture}[node distance=1....
user avatar
9 votes
2 answers
34k views

How to draw an arrow to a specified position in a frame and write some notes on the another end of arrow?

I would like to make an arrow and write some notes as shown below I tried with the following code \documentclass{beamer} % \usetheme{CambridgeUS} \usepackage[latin1]{inputenc} \usefonttheme{...
user avatar
  • 373
13 votes
2 answers
753 views

\tikzcdset{arrow style=math font} breaks the rendering of arrows

The command \tikzcdset{arrow style=math font} seems to break the rendering of arrows with the package tikz-cd, whatever math font is chosen: \documentclass{article} \usepackage{unicode-math} \...
user avatar
15 votes
1 answer
3k views

How can I draw a semi-transparent arrow in TikZ without internal overlap?

Drawing a semi-transparent arrow should be easy enough, right? \documentclass{article} \usepackage{tikz} %\usetikzlibrary{arrows} % this doesn't change the result \pagenumbering{gobble} \begin{...
user avatar
  • 2,989
9 votes
3 answers
5k 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 ...
user avatar
  • 480
12 votes
1 answer
1k views

Combination of arrows with and without label

Suppose that an arrow can be With one head (o), two heads (t), or "squiggly" (g), Single-lined (s) or double-lined (d), With (w) or without (o) a label (i.e., text above) Some of those arrows are ...
user avatar
  • 4,710
8 votes
2 answers
926 views

TikZ: How to fill area with a special pattern?

I want to visualize a turbulent flow regime. Assumed we have a simple empty square that should be filled with a pattern. Minimum Working Example (MWE): \documentclass{standalone} \usepackage{tikz} \...
user avatar
  • 3,468
8 votes
3 answers
969 views

Align tikz arrow with x-height character

A TeX arrow is seemingly vertically centered with the height of an x-character, in this case the final e: \documentclass{article} \begin{document} Source $\rightarrow$ Target \end{document} A TikZ ...
user avatar
  • 19.8k
6 votes
2 answers
1k views

How to encircle nodes in mindmap and add arrows to connectors

Consider the following code \documentclass[10pt]{standalone} \usepackage[x11names,table]{xcolor} \usepackage{stix,tikz} \usetikzlibrary{mindmap} \tikzset{every node/.append style={scale=0.85}} \begin{...
user avatar
  • 260
6 votes
2 answers
3k views

probability density function and cumulative distribution function for normal distribution

How can I draw the following graph. I know how to draw a bell curve. But the question is how to draw both curve as shown in the figure. Moreover I want to write $P(X\leq x)=0.7$ Other question is how ...
user avatar
  • 189
12 votes
1 answer
1k 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 ...
user avatar
  • 1,893
6 votes
2 answers
764 views

Tikzmark, Arrows (Exponents and Bases)

I would like to improve this program. For example, make the arrows more like semi-circles and bring down the words base and exponent. Any suggestions how I can do this from this start/minimal example? ...
user avatar
  • 2,431
4 votes
1 answer
623 views

Is it possible to annotate equations (i.e. arrow signs/curly braces) to define each variable?

I have quite a simple question. I was wondering if it was possible to do something like this in LaTeX: But formatted a little more nicely. It doesn't need to be arrows necessarily. Just some form of ...
user avatar
4 votes
2 answers
6k views

Custom arrow tip with `arrows.meta` TikZ library

In the spirit of this question, how do I make a custom arrow tip using the new arrows.meta TikZ library? I would like to make a semicircular tip that accepts the open option, ideally, and perhaps ...
user avatar
  • 16.7k
3 votes
2 answers
2k views

Drawing circular arrows between nodes

I want to draw something like this: So far I have this latex: \documentclass[border=5mm]{standalone} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} \begin{tikzpicture} \node (species_1)...
user avatar
  • 217
7 votes
1 answer
764 views

Triple arrows in tikz and tikz-cd

I have a macro to draw rather complicated diagrams in tikz which makes use of pgfkeys in order to be as flexible as possible on arrows, labels and their styles. I allow all the commands of the library ...
user avatar
7 votes
1 answer
1k views

tikz-cd: Error: No shape named tikz@f@1-0-1 found

In my use of tikz-cd, the down, right and left arrows (\ar{d},\ar{r}, \ar{l} respectively) work fine, but I seem to have no uparrow (nor any up right arrow or up left arrow). When I have \ar{u}, I get ...
user avatar
  • 123
5 votes
1 answer
245 views

How to draw a list that its items point to a structure?

I would like to draw the following open ended lists one after another. On the second list, drawing an arrow from each item to a struct. This could basically viewed as a hash table. | |...
user avatar
  • 808
3 votes
1 answer
247 views

Arrows from equation causing equation to look untidy

in the code below, when I place the arrow to the equation, it messes with the alignment of the elements of the equation that the arrows are referring to. Is it possible to maintain the alignment of ...
user avatar
  • 8,714
2 votes
6 answers
997 views

Shorten curved arrow proportionally to length

I am drawing curved arrows in tikz-cd, using the method devised by @AndréC in this answer. There are situations where I want to shorten these arrows, proportional to their arc length. However, the ...
user avatar
  • 413
2 votes
1 answer
525 views

chemfig: double harpoon + arched in/out arrow in reaction

I am trying to draw some complex reaction scheme where some of the reactions have additional in/out compounds akin to the ones in the figure below. I am not familiar at all with chemfig and sadly, ...
user avatar
  • 279
14 votes
1 answer
8k 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] \...
user avatar
6 votes
2 answers
2k views

Changing arrow colour in smartdiagram

The smartdiagram package appears to have a default convention that an arrow in a circular diagram takes the colour of the destination block. Is there a way to choose instead the colour of the source ...
user avatar
  • 2,882
3 votes
2 answers
228 views

Blochsphere Package Shading

I am using the blochsphere package and have a problem with shading of the drawn ball. Using the color white for the ball and opacity=0.7 makes it quite dark greyish. I dont want to turn down the ...
user avatar
  • 205
1 vote
1 answer
197 views

Beamer, Babel and Tikz conflict

I am preparing lecture notes in Turkish, and I have a digram for mathematical modelling procedure. But I cannot produce a good output for the following code. When I remove the first three packages, I ...
user avatar
  • 2,337
0 votes
2 answers
73 views

Moving a box in a forest tree diagram to the middle [closed]

Could you help me place the grandchild and grand-grandchild in the middle of the diagram? How could I do it? I also notice that when I try to add a fourth grandchild or child, the graph does not fit ...
user avatar
25 votes
2 answers
2k views

Customizing \fill and line in TikZ

How I can draw these (flexible) nodes and arrow? (as in this presentation) A MWE: \documentclass{beamer} \usepackage{tikz} \usetheme{CambridgeUS} \usetikzlibrary{calc} \usepackage[T1]{fontenc} \...
user avatar
  • 1,146
22 votes
1 answer
31k views

Changing line thickness of arrow

\documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} \begin{tikzpicture} \draw[step=1cm,color=gray] (0,0) grid (3,3); \draw[draw=black,solid, -triangle 90,fill=...
user avatar
15 votes
4 answers
26k views

Double-headed arrows

Is it possible to get TikZ-arrows to draw double-headed arrows? What I'm looking for is a way to achieve \draw[-triangle 90 triangle 90] (A) -- (B); and the open triangle equivalent, in the way ...
user avatar
  • 253

1
2 3 4 5 6