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
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 ...
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=...
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 ...
23
votes
3answers
934 views

tikz — Snake like curves between straight lines

How do we draw a figure like this in tikz? I am able to draw the straight lines, but these curves are too challenging -- how to draw them nice? The minimal template is: \begin{tikzpicture} \draw[-&...
23
votes
2answers
1k 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} \...
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=...
18
votes
3answers
2k views

Replicating a simple diagram in Knuth's book using TikZ

Despite the many attempts to draw this simple flowchart, I didn't really know how to do the following: Drawing a start arrow (as the one before A1) Drawing an end arrow (as the one after A2 and A7) ...
17
votes
1answer
677 views

How to use arrowheads from a unicode math font in TikZ diagrams under XeLaTeX or LuaLaTeX?

I like arrowheads in my TikZ diagrams to match the math font arrowheads. For Computer Modern, this is no problem: the TikZ arrows library provides matching arrowheads. But I often use other fonts ...
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 ...
16
votes
3answers
652 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 ...
16
votes
1answer
932 views

TikZ, arrow, looking for ++++++> style

I'm wondering if it's possible to draw, by \tikzstyle, this style of arrow : +++++>. Thanks, Simon
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 ...
15
votes
3answers
841 views

Tikz-diagram: Additional right angle and space

I'm trying to recreate this diagram: Mine already looks pretty good but the connection between the Environment and Sensornode lacks the 2nd right angle and space for the measured by text. How can I ...
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
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 ...
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} \...
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....
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{...
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 ...
14
votes
1answer
214 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{...
14
votes
1answer
746 views

How to draw a (colored) arrow on a path?

I tried to draw a path and a curve length marker. This is the desired result: This would be easy if the curve was defined as a function, then I'd just set the domain, add some markers, done. But what ...
13
votes
1answer
3k views

Custom Tikz arrowhead with bar before triangle 45

How do I make a custom arrowhead in Tikz having a perpendicular bar before a triangle 45? I would also like to adapt this solution to a bar before a square, open square, etc. For example, imagine ...
13
votes
1answer
10k views

Package pgf Error: Unknown arrow tip kind 'latex’' \path (

I'm following the PGF 3.0.0 manual, and I have PGF 3.0.0 installed. In the manual, the example is under 20. Matrices and Alignment -> 20.6 Examples. I get errors for all the \path statements in the ...
12
votes
1answer
583 views

Why does PGF require the designer of a new arrow tip kind to explicitly specify the arrow tip's convex hull?

According to the 'Defining New Arrow Tip Kinds' chapter of the TikZ & PGF manual for version 3.0.1a (p. 1016), one of the parameters that must be specified every time a new arrow tip kind is ...
12
votes
1answer
6k 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] \...
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 ...
11
votes
3answers
691 views

Defining a custom TikZ arrowtip (circle with plus)

I need to design a custom arrowtip in TikZ, but so far I haven't had much luck. I have been able to define a circle arrow with the arrows meta library, but I cannot figure out how to add the plus sign ...
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
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: \...
11
votes
1answer
10k views

arrow style with arrows.meta library

I'm ready to style arrows using arrows.meta library, though I haven't found any documentation with predefined arrow styles syntax. The only one I know is Stealth: \documentclass{article} \usepackage{...
11
votes
1answer
491 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 ...
11
votes
1answer
472 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 ...
11
votes
1answer
218 views

How do you extend the inner line of a double line?

The built-in double line functionality in TikZ uses the exact same length for the inner line as for the outer/background line, which is reasonable enough. However, because of rounding errors or anti-...
10
votes
2answers
1k views

Vector field on a ball

I am not very skilled with Tikz. I am trying to picture two kinds of vector fields on the sphere $S^2$ in $\mathbb{R}^3$ using the Tikzpicture package. One going from left to right ($X(x_1, x_2, x_3) :...
10
votes
2answers
4k views

How to make all nodes same size in TikZ?

I'm draw a TikZ figure, but I came across two problems. First one is that all the nodes have the different size due to the size of the text inside the nodes. I read in some other question here, that ...
10
votes
2answers
3k views

Diagonal Resistor Label Font Size and Curved Arrows

I'm trying to draw a Wheatstone Bridge and this is the code I have so far: \documentclass[12pt]{article} \usepackage[americanvoltages,fulldiodes,siunitx]{circuitikz} \usepackage[pdftex]{graphicx} \...
10
votes
2answers
434 views

Make stealth horizontal in TikZ?

\documentclass[a4paper]{article} \usepackage{tikz} \usetikzlibrary{backgrounds, calc, positioning, fit} \begin{document} \begin{tikzpicture} \node[draw] (a) {A node}; \node[draw,align=center]...
10
votes
3answers
34k views

Drawing undirected graphs in LaTeX

I came across this graph in the question Drawing graphs in LaTeX: without arrows? Is it possible to draw graphs like this one in LaTeX but without the arrows? edit: I found this piece below, but ...
10
votes
1answer
621 views

drawing a plane and orthonormal system using tikz

I want to draw the following image and i face problems especially in the plane on the left : \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \draw[thick,->] (52,0) -- (...
10
votes
1answer
662 views

Why should we use arrows.meta instead of arrows?

From the TikZ-PGF Manual, Section 16.1: Remark: The libraries arrows and arrows.spaced are deprecated. Use arrows.meta instead/additionally, which allows you to do all that the old libraries ...
10
votes
2answers
326 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} \...
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} \...
9
votes
4answers
2k views

How can I draw those arrows to describe the composition of two functions?

I want to draw something like this with LaTeX. I know how to draw the two straight arrows, but how can I make the bottom shaped arrow?
9
votes
2answers
606 views

Plotting Arrows Programmatically in Pgfplots

I'm having an issue where I would like to plot a series of evenly spaced arrows where the length is dependent on the values from a data file and I'm not particularly sure how to go about it. I would ...
9
votes
4answers
1k views

Tikz Edge: Distance from other nodes?

I have the following Tikz code: \usetikzlibrary{positioning} \begin{tikzpicture} \tikzstyle{bordered} = [draw,thick,inner sep=5,minimum size=10,minimum width=100,font=\sffamily] \tikzstyle{...
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 ...
9
votes
2answers
468 views

Squared arrows within equations & creativity

I wrote the equation below, but something I have not been able to manage is the type of arrow I am using to shows an iterative procedure. I would like to make it at least bigger because is currently ...
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 ...