{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.

learn more… | top users | synonyms

1
vote
1answer
40 views

Aligning edge labels horizontally with tikz package

I have the following figure: \documentclass{standalone} \usepackage{tikz} \usepackage{pgfplots} \usepackage[active,float]{preview} \usetikzlibrary{calc} ...
4
votes
3answers
66 views

TikZ: Get Position/Node of an Arrow Head

Following LaTeX code produces a small image with directions. \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{quotes,angles} \begin{document} \begin{tikzpicture}[thick] % X',Y',Z' in ...
3
votes
2answers
76 views

Adding arrows to rectangles in TikZ

Is it possible to decorate rectangles with arrows? I used: \node [draw,rectangle,minimum width=4cm,minimum height=4cm](r){}; But then it is really difficult to line up an edge so that it's level ...
6
votes
1answer
74 views

Can I make latex ignore some definitions or replace them with kind of a pre-processor define

I write a document on several machines. One of them has Ubuntu 14.04 installed with a kind of dated installation of TexLive. The others have Ubuntu 14.10 and Arch Linux. In my document I use the ...
1
vote
1answer
27 views

How to reduce length of and edge between two nodes without affecting a custom line marker?

I'm drawing some nodes with to and from edges with some of the edges red, and with a cross through it. I have a custom decoration for the cross, and draw a red arrow head at the end of the line. In ...
1
vote
0answers
23 views

Drawing arrows using tikz library [duplicate]

I am trying to implement a visual representation of linked list using tikz library. The code written so far: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,arrows} ...
1
vote
0answers
28 views

tilted arrows that points at specific variables of equation

How to produce tilted arrows pointed at specific places as shown in
0
votes
1answer
44 views

A vector that goes into the plane of the screen ( symbols )

Is there a beautiful symbol that shows a vector that goes out of the plane of the screen? I would like to show an angle that rotates around the z-axis from top view. I'm aware of the below picture ...
0
votes
2answers
119 views

Block diagram using TikZ

I am trying to draw the following block diagram using TikZ... No way :( Can anyone help me? Thank you so much!!!
1
vote
0answers
38 views

tikz label over path flips!

I'm trying to come up with a nice schematic of recursive calls using tikz, but the result is not what I expect as one label is flipped without a reason: The MWE is: ...
2
votes
3answers
236 views

How to draw a cyclic sequence in latex

$$a_0 \to a_1 \to a_2 \to ....... \to a_k $$ Right now, I want to draw a curved directed arrow that goes from $a_k$ to $a_0$ Is there any way to do that ? Thanks
7
votes
2answers
209 views

Latex Tree Diagram: Inserting Arrows

I’m having an issue formatting my LaTeX Tree Diagram. It’s in the correct order but I don’t know how to have an arrow at the end of each path to show the direction flow (test – Start) (Start – Do) (Do ...
9
votes
3answers
189 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] ...
1
vote
2answers
68 views

Putting arrows Properly in Tikz

I have the following code \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{shapes,arrows,shadows,calc,fit} \usepackage{amsmath,bm,times} \newcommand{\mx}[1]{\mathbf{\bm{#1}}} % Matrix ...
3
votes
1answer
52 views

tikz / tikz-timing does not know arrow tip 'Triangle'

I'm using tikz-timing to draw timing diagram. It looks really nice, but I want to apply some optical improvements like changing the 'arrow tip kind'. So I added >=Latex[] to my tikztimingtable ...
3
votes
3answers
96 views

Dealing with overlapping vectors tikz

The following produces undesirable output because the "tails" of the vectors are overlapping and hard to see. Is there a way to automate something better by having all vectors draw only 95% of their ...
6
votes
2answers
100 views

How does the angle key from arrows.meta TikZ library work?

The title says it all. How does angle=<angle>:<first dimen> <second dimen> works. More exactly, what do the first length and the second length mean? \usetikzlibrary{arrows.meta} ...
2
votes
1answer
97 views

Tikzpicture in Beamer poster

I'm trying to creative a commutative diagram in a beamer poster, but I cannot figure out why it's formatting incorrectly. The output builds as : When I'm trying to output it as: Any reason as ...
2
votes
0answers
91 views

latex' arrow tip with arrows.meta library

Consider the following MWE \documentclass[tikz]{standalone} \usetikzlibrary{arrows,decorations.pathreplacing, decorations.markings,arrows.meta} \tikzset{ big arrow/.style={ ...
6
votes
3answers
136 views

How to specify how much space between edges starting from a node with tikz?

I'm experimenting with Petri Nets and I want to add some horizontal space between two arcs starting from the same transition. My code: \begin{tikzpicture} % Styles [node distance=1.3cm, on ...
1
vote
0answers
59 views

tikz-cd new syntax

I've been using tikz-cd for years now, and I find it incredibly easy to make commutative diagrams with it. Recently, I saw this document which describes a new and simpler syntax. I tried making a ...
4
votes
0answers
78 views

How can I get arrows to attach to outside of rectangle split in a graphdrawing layout?

I'm trying to make use of the newer (pgf > 3.0) graphdrawing layouts to do class diagrams, but I can't seem to figure out how to get arrows to attach to the outline of a rectangle split. I've read ...
3
votes
1answer
40 views

Tikz arrows alignment

I have a question regarding figures in Tikz environment, in the following figure I want to make the incoming and outgoing arrow to be separated and each pair of incoming and outgoing arrows to be ...
4
votes
1answer
97 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 ...
4
votes
1answer
110 views

Flowchart Tikzpicture - Draw arrow from path

I am creating a flowchart using the tikzpicture package. Because I am short on space, I would like to draw an arrow from a path to a box. Using this code below, I would like to have an arrow that ...
6
votes
1answer
53 views

Problem with Tikz arrowhead definitions

When you specify double, Tikz first draws a line whose width is twice the line width plus the double distance, then draws a white line down the center whose width is the double distance. But the ...
4
votes
2answers
130 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 ...
5
votes
1answer
74 views

Identify axis points in TikZ

I have written the following code which basically plots a binomial distribution as a function of its parameter. \begin{tikzpicture}[scale=1.5] \begin{axis}[ domain=0:1, axis lines=left, grid=both, ...
5
votes
1answer
61 views

Move line by size of arrow tip

I'm trying to draw a simple rectangle together with the dimensions. Here is my first try: \documentclass{article} \usepackage{tikz} \begin{document} \pgfmathsetmacro{\a}{2.0} ...
9
votes
1answer
125 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} ...
2
votes
1answer
45 views

How do I add curly arrows with labels to a table of numbers?

I want to add curved arrows with numbers underneath them, to a table of numbers, as shown below: ! Any suggestions as to how to do this in LaTeX, please? I want the arrows and the numbers below the ...
1
vote
1answer
149 views

Drawing figure of a boat with the Tikz-package

I want to draw a simple figure of a boat in LaTex, does anyone know a good way to do that? Is TikZ the best package to use for this? I want it to look similar to the boat in the picture below, which I ...
6
votes
2answers
197 views

Bend arrow decorations in Tikz

This is a follow-up to my recent question Half arrows in graph using TikZ. \documentclass[tikz]{standalone} \usetikzlibrary{matrix,arrows,arrows.meta,bending,decorations.pathreplacing, ...
1
vote
3answers
108 views

TiKZ: place shortened arrow between every pair of points in a draw statement?

What is the simplest and most direct way of creating a sequence of arrows, like \begin{tikzpicture} \draw[->] (0,0) -- (1,0) -- (2,0) -- (2,1) -- (1,1) -- (0,1) -- cycle; \end{tikzpicture} so ...
4
votes
1answer
108 views

Error “Undefined control sequence” when using [remember picture, overlay]

I am using two tikzpicture inside another tikzpicture. I want to draw a arrow from one picture to the other. For that I used [remember picture, overlay] property as shown in the code below. New Code ...
2
votes
2answers
72 views

Flow Chart on a straight line in latex

How can I draw a flowchart that looks like this? I know how to draw block diagrams but I have never seen an example of a work flow diagram like this. Especially I am having a hard time on generating ...
4
votes
2answers
219 views

Half arrows in graph using TikZ

How can I create half arrows like the colored ones in the answer to this post using TikZ? I know how I can create custom arrow tips, but how can I extend this to the tail of the arrow? I would ...
8
votes
1answer
106 views

Arrows are crossing in tikz

The arrows from Training Examples and Hypothesis Set are crossing eachother. Is there a way to avoid this, i.e. that they change the "dock" position on Learning Algorithm? \documentclass{article} ...
1
vote
1answer
50 views

Arrows with curly parenthesis

I do not know how to us tikzpicture very well. I want to draw the picture similar that is attached. My problem is how can I add curly parenthesis between the arrow. Additionally, if you can suggest me ...
1
vote
1answer
54 views

weird behavior of tikz with arrow tip in the middle [closed]

\documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations.markings} \begin{document} \tikzset{->-/.style={decoration={ markings, mark=at position .5 with ...
2
votes
1answer
73 views

Adjusting loop (identity) arrow in tikzcd

With the following code \documentclass{standalone} \usepackage{tikz-cd} \begin{document} \begin{tikzcd} \arrow[loop left]{l}{\mathrm{id}_A} \ar{r}A & B\times C \arrow[loop ...
1
vote
1answer
91 views

How to draw a diagram using tikzcd

I was said that tikszcd is good library to draw commutative diagrams. So I tried to practize it by drawing the diagram in ...
3
votes
1answer
312 views

SmartArt graphics in LaTeX

I want to make a SmartArt Graphic (as it is called in PowerPoint) to show different types of convergence and links between these one for measure theory course. I made in LaTeX the following 'SmartArt ...
2
votes
1answer
177 views

How to create an edge style in tikz with a crossing in the middle and a label near it?

I wonder how to recreate an edge between nodes in Petri Nets using tikz that would look like this: I played with different options yet cant get it wright. A minimal code sample I am trying to ...
4
votes
1answer
116 views

Label Venn diagram section with arrow

I'd like to draw a curved arrow originating beneath the diagram and pointing to the center of the diagram, where the circles all converge. Where the arrow originates, I'd like to be able to make a ...
3
votes
1answer
113 views

TikZ: arrow tip as shape

I have a custom TikZ arrow head called myarrow. How can I turn it into a shape? I want to be able place it wherever I want without needing an edge underneath, with a command like this: \node ...
3
votes
1answer
43 views

Using an arrowhead as a node

I am trying to create a 1-dimensional phase portrait. What I need to do is place arrowheads at points along a vertical axis pointing up or pointing down. I know I could use several paths joined ...
2
votes
1answer
80 views

How loop edge set the arrow type?

When we use -> tha arrow type can be overwritten by >=Arrow, before or after the -> . Or by putting after the -> another -Arrow style. For a loop edge, we can overwrite the arrow type by ...
7
votes
3answers
202 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} ...
5
votes
1answer
112 views

How to resize and remove the gap between arrow heads?

Consider the following MWE: \documentclass[tikz,border=3mm]{standalone} \usetikzlibrary{arrows,arrows.meta} \begin{document} \begin{tikzpicture}[>=angle 90 ] \draw[|<->|] ...