This tag is meant to be used for 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.

learn more… | top users | synonyms

1
vote
1answer
95 views

How can I add a shaded, thick arrow to a Tikz picture?

I have created a directed graph and want to add a thick, shaded arrow to indicate change over time. The problem: It should go from one edge to another (from initial state to result state), not from ...
1
vote
0answers
63 views

Controlling the orientation of a Tikz decoration markings arrow?

I thought that my woes in Decoration marking arrow style ignored in custom node shape? were temporarily solved, but alas: if I do a dimension line (A) -- (B), then all is fine; but if I do (B) -- (A), ...
2
votes
1answer
75 views

Decoration marking arrow style ignored in custom node shape?

I have this dimension line macro which I've put together from examples here; and as it should be visible from the MWE (below) output: ... it works just dandy fine when called from "regular" \draw ...
2
votes
2answers
96 views

Drawing a diagram with vectors

Is it possible to draw a diagram like this in LaTeX?
15
votes
1answer
422 views

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

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

How can I label a matrix's opening delimiter with tikz?

I have few hours experience with tikz. I am trying to highlight the matrix delimiters with arrows, but just can't figure out how to accurately position, for example: \documentclass{article} ...
2
votes
0answers
82 views

Double arrow a la chef with two edges shows gap

I am looking for a double arrow that describes a complete 180 degree path. I found a wonderful example, but I have a little issue with one of the edges. \documentclass{article} \usepackage{tikz} ...
3
votes
1answer
63 views

Define “edge types” for graphs and inheritance?

I'm really new to TikZ (but not to LaTeX) because currently I write an important work in which I want to use some nice scalable graphics. My current state is that I can define node types with ...
7
votes
1answer
129 views

Snake line with an arrowhead in the middle

in my code i need to draw some Feynmann diagrams with several lines like this one: To draw this image, i usually use this code: \tikzset{White/.style={ draw=white, postaction={decorate}, ...
5
votes
1answer
45 views

TikZ/pgf: How can I define new edges for use with the `graphdrawing` library?

Apart from the standard ->, <-, -- or <->, how can I define new edges for use with the graphdrawing library? Here are some kinds of new edges I am interested in: "Flatheads:" ...
5
votes
1answer
61 views

TikZ's fixed point arithmetic not happy with arrows.meta

When I try to combine using the features of arrows.meta in a context where I'm also using fixed point arithmetic, I'm getting an error message. MWE: \documentclass[border=8pt]{standalone} ...
3
votes
1answer
68 views

Visualize array changes with arrows

I want to visualize a sorting algorithm by highlighting the changes made in each step. E. g.: [ a_1 a_2 a_3 a_4 ] X [ a_1 a_2 a_4 a_3 ] X [ a_1 a_4 a_2 a_3 ] and so on. ...
2
votes
1answer
88 views

Adding circled numbers to beginning of the arrow using tikzpicture

I would like to draw something similar to the following image using tikzpicture. I succeed in drawing the arrows but I could not put numbers at the beginning of them. I used the idea in Drawing ...
6
votes
2answers
75 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} ...
8
votes
2answers
292 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} ...
10
votes
4answers
591 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?
6
votes
1answer
60 views

Unable to change the text of PGF decoration

A follow up to the answer of @TomBombadil on Circular Arrows and Text on Path. I am trying to tweak the text's size and/or color and the compilation gets stuck on: ...
6
votes
2answers
171 views

Distances between nodes, nodes and arrows

I started using Tikz, took a sample of a code and tried to do my own. I'm almost there but I'm struggling on a couple of things. First, here is my code: \documentclass{article} \usepackage{tikz} ...
5
votes
1answer
94 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 ...
0
votes
1answer
130 views

Edgeworth Box of Pareto efficiency

I would like to have a figure like the following image, but I can't find a way to make the red convex curves. My code so far contains: \begin{tikzpicture} \draw (1, 3.5) to[out=0,in=90] (3.5, 1); ...
9
votes
2answers
198 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 ...
0
votes
1answer
72 views

Tikz backloop arrow

I created a flow chart with boxes all lined up vertically. Now I want to draw an arrow from the last box to the first box. How can I do this, so that the arrow leaves the last box horizontally on the ...
2
votes
0answers
91 views

Node at each end of arrow, Tikz

I'm drawing a vertical arrow and I want to have a node at each end, but tikz seems to be putting the lower node in funny places: This is the arrow with the node above in the right place: ...
6
votes
1answer
325 views

Problem with arrows in Tikz flow chart

I've got a little problem with a flow chart that I created using Tikz. I'm new with tikz and I created this flow chart using an example from the internet. I googled for how the positioning of the ...
2
votes
1answer
70 views

\xleftrightarrows command in TikZ with arrows matching the LaTeX font

There is the command \xrightarrow that inserts an arrow that extends with the text you put above and/or under it. There is also the command \rightleftarrows (notice the "s" at the end) that display ...
3
votes
1answer
58 views

tikz-cd Extra arrow tip with start anchor on edge v0.9b

I'm drawing a BIG tikzpicture using the tikz-cd package. I won't reproduce the entire diagram here as there's no need. But the following MWE highlights the problem I'm having which is this: One region ...
6
votes
2answers
97 views

tikz-cd bug in horizontal line angle in v0.9b?

I have found what I think is another bug in tikz-cd v0.9b. Take the following code: \documentclass[11pt]{article} \usepackage{amsmath} %maths \usepackage{tikz-cd} \usetikzlibrary{arrows} \title{} ...
7
votes
1answer
96 views

'tikz' style arrow tips missing when using tikz-cd crossing over

I have been using tikz-cd to create commutative diagrams. I just upgraded to version 0.9b from 0.3c and now there is a problem with the arrow tips. I like to use the 'tikz' solid tips. The following ...
2
votes
1answer
204 views

drawing arrows on a circle path and a tangent arrow in tikz

I would like to draw relatively complex paths in tikz. This is an example: The boxes represent nodes with texts of different lengths. The arched arrows should be on a circle path. The arched arrow ...
4
votes
2answers
208 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 ...
0
votes
1answer
85 views

Problems labeling an arrow

Having this in the preamble: \usepackage{tikz} \usetikzlibrary{chains,shapes.multipart} \usetikzlibrary{scopes} \usetikzlibrary{decorations.markings} \usetikzlibrary{shapes,calc} ...
10
votes
2answers
309 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} ...
1
vote
1answer
624 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} ...
2
votes
1answer
177 views

TikZ: Drawing double-headed arrows within a node

Am using the amazing TikZ software to draw figures for a book chapter. Am very pleased with the quality of the figures I've been able to create. Unfortunately, I've gotten a bit stuck with just one ...
4
votes
1answer
59 views

Why does \pgfsetendarrow (now) have no effect?

I'm not sure whether I am blind to the obvious or whether this is a bug or perhaps an intended deprecation. Here's an MWE: \documentclass{article} \usepackage{tikz} \begin{document} ...
3
votes
1answer
171 views

To draw two arrows to one point

I want pictures where I can point by two arrows with labels to one point like here How can you have two arrows pointing to one point?
1
vote
0answers
44 views

Termination of instance in {pgf-umlsd}?

is it possible to a draws a cross at the current position to indicate termination of a call in a sequence diagram using {pgf-umlsd}. \documentclass[a4paper,12pt]{article} \usepackage{epsfig} ...
7
votes
1answer
208 views

InvertedDiamond TikZ arrow

I tried making an inverted diamond arrow based on the Diamond arrow included in TikZ, but I'm having a lot of trouble getting the arrow tip in the right place. Here's my code. All I changed from the ...
2
votes
1answer
129 views

How can I draw an arrow linking two items in a list?

I know you can use the package tikz to have braces like \documentclass{article} \usepackage{tikz} \usetikzlibrary{tikzmark,decorations.pathreplacing,calc} \begin{document} ...
3
votes
1answer
128 views

Keep TikZ arrows on foreground with animategraphics

I am using beamer and I'd like to put an arrow with TikZ on a movie created with \animategraphics. No problem when I am using only one frame, for example: \begin{frame} ...
2
votes
1answer
58 views

How can I coerce TikZ trees to have directed edges? [duplicate]

Consider the following \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \node{A} [grow=east] child {node{B} child {node{C}}}; \end{tikzpicture} \end{document} which ...
2
votes
1answer
342 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 ...
3
votes
0answers
18 views

Tikz: append arrow at end of plot [duplicate]

I would like to append an arrow at the end of my plot, in the direction of the path. Here my snippet: \begin{tikzpicture} \draw[line width=2pt, color=red, smooth,domain=0.2*pi:0.8*pi,->] ...
5
votes
3answers
212 views

How to draw two opposite arrows on the same curve?

How can I draw opposite arrows on the same curve? The following image shows my aim.
5
votes
1answer
51 views

Why don't my big arrows appear at the end of the line segments and how can I fix this?

\documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,decorations.markings} \begin{document} \begin{tikzpicture}[scale=1.5,line width=1] % \tikzstyle{a}=[ decoration={markings,mark=at ...
2
votes
0answers
85 views

Fill an arrow head with TikZ [duplicate]

I would like to fill an arrow head with a color, but I have a problem with the fill command : My code is : \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} ...
4
votes
1answer
173 views

Completly draw line with Fast Triangles (TikZ)

Can I use the arrow tip Fast Triangle (page 212 in 3.0.0 manual) for the complete path? (or make it look like this) What I got so far (needs TikZ 3.0.0) \documentclass[margin=5]{standalone} ...
4
votes
0answers
229 views

arrow end type unknown [closed]

In an earlier question Arrow end type [-] unknown - even though library is loaded the consensus was that the bug "arrow end type unknown" is because of the wrong environment (smartdiagram), and that ...
5
votes
2answers
211 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 ...