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
23
votes
2answers
2k 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 ...
5
votes
1answer
204 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 \...
16
votes
3answers
650 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 ...
14
votes
3answers
6k 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 ...
8
votes
3answers
1k 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 ...
30
votes
3answers
16k 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 ...
15
votes
2answers
28k 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[->,...
15
votes
2answers
1k 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} \...
11
votes
2answers
2k 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: \...
6
votes
2answers
482 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,...
4
votes
2answers
920 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} ...
6
votes
2answers
922 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 ...
3
votes
2answers
2k 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 \...
14
votes
1answer
213 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{...
-1
votes
1answer
497 views

Why my LaTeX doesn't compile?

In my preamble, you'll find: \renewcommand{\baselinestretch}{1} \renewcommand{\familydefault}{\sfdefault} \usepackage[sfmath]{kpfonts} \usepackage[mathrmOrig]{sfmath} \usepackage{amsmath} \usepackage{...
15
votes
1answer
18k 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 ...
9
votes
2answers
5k 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 ...
7
votes
2answers
24k 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{...
9
votes
3answers
3k 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 ...
8
votes
2answers
2k 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....
12
votes
1answer
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 ...
2
votes
2answers
4k 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 ...
7
votes
1answer
876 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 ...
1
vote
1answer
111 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 ...
28
votes
1answer
48k 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=...
20
votes
1answer
27k 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=...
9
votes
1answer
935 views

Connecting nodes with brace in TikZ

How would be possible to put a brace instead of a "line" connecting nodes and add some text above it with TikZ?
15
votes
3answers
1k views

How do you make nodes form a perfect circle?

This is the code, and I can create a diamond shape or a sketchy curved shape, but I would like the nodes to be aligned to a circle shape. % Author: Paul Henckel, 2015 % Inspired by: Rasmus Pank ...
14
votes
4answers
21k 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 ...
14
votes
3answers
5k 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....
10
votes
2answers
2k views

tikz: How to place an arrow with label exactly in the middle of a line?

In the following example, the label is in the middle of the line. But the arrow, which acts as a marker, is not in the middle. Only its head but not the center of the arrow. \documentclass{article} \...
7
votes
2answers
1k views

Highlight and use arrows in an equation In a robust manner

I am trying to give a very simple analogy to what I am trying to do with LaTeX. I simply want to write two vectors, one below or next the other, and then, use nodes to link the last two elements of ...
6
votes
2answers
480 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{...
16
votes
3answers
4k views

How to make “L” shaped arrows with curved edge

I simplified this example from here, however what I am looking is an "L" shaped arrow that curves when it gets to the same height as A which can be seen in the below figure. The red curve is the one ...
14
votes
1answer
8k views

How can I add offsets to coordinates in tikz?

I’m trying to add offsets to two coordinates with tikz like this: \draw[line width=4] (coorda) ++(0.3pt,0) -- (coordb) ++(-0.3pt,0); The first ++ instruction works just fine, but the second one has ...
14
votes
1answer
2k 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{...
10
votes
2answers
324 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} \...
8
votes
3answers
579 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 ...
7
votes
1answer
2k views

Inline arrows with tikz

I'm trying to achieve an arrow that I can use inline, ie. somewhere in the running text, similar to \xrightarrow, but with an open triangle as its arrow head. This is what I came up with using tikz: ...
6
votes
1answer
4k 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} \usepackage{...
3
votes
1answer
1k views

Drawing a closed loop diagram with Tikz with multiple inputs

I am using Tikz for the first time and I am having trouble coming up with a diagram I am required to draw The diagram is this I have found a code and attempted to modify it to make it resemble as ...
2
votes
2answers
5k views

arrows.meta in tikz

I have an up-to-date MikTeX 2.9 installation with tikz/pgf 3.0, but trying to compile \documentclass[tikz,border=0.125cm]{standalone} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture}[...
11
votes
4answers
2k views

Position arrow decoration by center, not by tip

I have lots of curves, each of which I would like to decorate with an arrow precisely at the centre. Here is a simple attempt to do this with TikZ: \documentclass{article} \usepackage{tikz} \...
11
votes
1answer
488 views

Increase the arc in a TikZ arrow

This question is a spin-off from TikZ arrow misaligned in italicized text. I'm drawing an arrow from one character to another within a word, using TikZ's \path edge[]. But the arrow's arc is so flat ...
7
votes
1answer
2k views

Tikz path with changing color and arrow decorations

How does one draw a path that is changing color as a function of the path length and is decorated with arrows at the same time? Basically, I want to combine these to figure into one: The code for the ...
6
votes
2answers
310 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? ...
5
votes
1answer
8k views

Curved Arrows in Tikz

I am new in Tikz and have searched but not found what I am looking for (which should be a particularly simple). I have a commutative diagram in which I am illustrating diagram chasing. I would like ...
4
votes
4answers
669 views

Drawing a graph with a Loop and Mod function in Tikz

I'm trying to draw a digraph on seven vertices, where each vertex i is connected to vertex i+1, i+2 and i+4 (mod 8). This is the code I wrote: \documentclass{article} \usepackage{tikz} \...
3
votes
2answers
1k 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)...
2
votes
0answers
93 views

Complicated curves intertwined in the link figures (I): Unsolved Christmas tree decoration [closed]

I am struggled to draw these types of figures: I guessed there is a package called the knot library (just learned this thing exist 2 mins ago): So I am going to try the knot library out. But in case ...