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

3
votes
0answers
62 views

Draw geodesic acceleration

Hi I want to draw some geodesics accelerating towards one another using TikZ. I've stolen some code from an online example to set up two planes one on top of the other (top one invisible - I'm just ...
2
votes
2answers
68 views

TikZ ER Diagram - stopping relations from drawing across cells

I've adapted code from this post The problem that I'm having is that the relations (lines) between tables are crossing over tables rather than going around them. The MWE is quite long but here it ...
3
votes
1answer
47 views

Tikz: Curved parallel arrow around a circle [duplicate]

I have a simple following code: \begin{tikzpicture} \draw[thick] (2,0) circle (1.5cm); \end{tikzpicture}` I would like to create a curved parallel naming arrow around this circle as shown in the ...
3
votes
1answer
37 views

Tikz Arrow Libraries: How can I migrate from arrows to arrows.meta without getting annoyed?

I have some legacy code that uses the arrows library, and I want to reuse some of that code in new work with the arrows.meta library (including, later, tweaking the arrow heads). Rather than going ...
3
votes
1answer
64 views

TikZ: ordinary arrow tip on double line

I like the ordinary arrow tip that you get in TikZ from \draw [->] (a) to (b);. In my document I have lots of ordinary lines like this, and also lots of doubled lines like \draw [double,->] (c) ...
5
votes
2answers
136 views

Nodes on arrows not aligned nicely

I've written the LaTeX for an automaton that looks like this: As you can see, the 'b' on the arrow from q1 to q3 is positioned lower than the 'a, b, c' on the arrow from q3 to q2. Also, the 'b' ...
3
votes
1answer
48 views

Trouble with directing lines between elements with tikz

In the following code, I would like to draw a line from the last diamond to the topmost diamond as shown in the ascii-art below /\ |---/ \ /\ | \ ...
2
votes
1answer
33 views

Tikz large curved arrow, filled with border

I find out many topics on this forum concerning curved arrows, How to draw shape as 'curved arrows' with text (with tikz) Curved text (on multiple lines) within curved arrow using tikz Create ...
1
vote
2answers
41 views

how to join lines in a diagram using tikz?

\documentclass{article} \usepackage{tikz} \usetikzlibrary{shadows,positioning,shapes,arrows,decorations.markings,arrows.meta} \tikzset{ box/.style={draw,fill=white,rectangle,minimum ...
5
votes
0answers
47 views

Tikz arrows on loops not showing up

I am trying to draw a diagram with arrows between boxes. Most of them show up fine, but an arrow head on a loop from a node to itself does not. I have defined a custom arrow head since the default ...
2
votes
1answer
65 views

Tikz: Drawing an S-shaped line

I'm creating a presentation using the beamer class, and I'm having issues trying to create an S-shaped arrow. Specifically, I have the following so far: ...
8
votes
1answer
118 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 ...
7
votes
3answers
246 views

Curved arrows on top of every node

I'm a beginner of latex and tikz. I want to have curved arrows on top of each node as in tikx example. Following is my code. \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} ...
3
votes
1answer
55 views

tikz: self loop with two arrows at the end (i.e. ending by ->>)

How to modify the following example to get a self loop labelled by "b" ENDING BY TWO ARROWS? The other self loop labelled by "a" should remains as it is. ...
5
votes
1answer
125 views

How can I draw a relation with rectangular nodes?

I am trying to use nodes to draw a simple relation in two figures. Basically what I want looks like this: How can I do that using tikz? The two relationships should be next to each other. I think if ...
0
votes
1answer
50 views

Drawing longer arrows in TikZ

I have the following diagram: \begin{tikzcd}[font=\large] A \rightarrow & B & C \leftarrow & D\\ E \arrow[hookrightarrow]{u} \rightarrow & F \arrow{ru} & G \leftarrow ...
5
votes
1answer
314 views

How can I draw a twisted 3D arrow?

Does anyone know how I can draw an 3D arrow that in itself is twisted by 90 degrees? I need such arrow to show how polarized light is twisted in a liquid crystal. I would like to include that arrow ...
3
votes
1answer
63 views

crossing out arrow with tikz (with multiple crossing-out, not just one)

I am working on this "graph" in tikz, and I would like to know how I can add crossing-out (and not dashed) below the threshold $\mu_A$ (from the beginning of the arrow, until the dot $\mu_A$), such as ...
5
votes
2answers
85 views

How can I make a path with arrow “open” or “two-sided”?

I've drawn this arrow: But want it to look like this: How can I do that? This is my code for the first arrow: \documentclass[tikz]{standalone} \usetikzlibrary{arrows.meta} \begin{document} ...
1
vote
1answer
44 views

Node attachment position

I'm trying to create solutions to a matching type question which will require me to draw lines between boxes. I've been trying to use tikzpicture to do this: \tikzstyle{block} = [rectangle, draw, ...
3
votes
3answers
139 views

Chain of curly arrows above and underneath each other

I'm trying to draw a chain of arrows going under and above each other, as depicted: The issue isn't labelling the arrows, I can easily do that, but I don't know how to get them to curl, have the ...
8
votes
1answer
168 views

Arrows in tables, or matrices

I have been experimenting with LaTeX for a couple of years now, but still consider myself a neophyte. I spent much of yesterday trying to create a table. I am trying to create a table with three ...
2
votes
1answer
110 views

rotation problem text in arrow tikz

I'm trying to make a graphic that needs two arrows, I've already found how to rotate the arrow, but I don't want the text to be rotated 180 degrees. Bonusproblem, I want the red line ticker ... ...
3
votes
1answer
123 views

Timeline improve look to get a better understanding

My timeline shows all the needed information. I now want to make it look nicer, but I don't know how. I thought about colors for each "type" and a better font, e.g. \textnormal{}. What would you ...
0
votes
1answer
93 views

smooth curved arrow in flowchart

I am new to latex with a very little idea in tikzpicture or pgfplots, so you know what would happen... Please help me with the following flowchart-type diagram. Here the cartesian plot is a regular X ...
2
votes
2answers
98 views

Tikz: connect two nodes

I have many nodes and want to connect two of them, but in such way that the path is not scratch off nodes, which are between these two like in the example below (I want to connect L_0 and R_0): To ...
4
votes
1answer
183 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 ...
3
votes
1answer
60 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 ...
1
vote
0answers
42 views

Error with TikZ figure that complie well before [duplicate]

I've got this diagram created with Tikz a year before: \documentclass[paper=letter,headings=big,bibliography=totoc,DIV=9]{scrbook} \KOMAoptions{headsepline=true,fontsize=10pt,draft=false} ...
4
votes
1answer
69 views

labeling edges in tikz using boxes

I'm creating labels for edges by manually creating a node and placing it in the center of the edge. Is there a cleaner way to do it? Also I would like to have the edge invisible inside the label. ...
5
votes
1answer
99 views

How can I prevent overdraw with tikz arrows?

I’m creating a diagram and there are several arrows which exit from the same node. The problem is that in many PDF viewers the arrows get slighly blurred at some zoom levels so that the lines appear ...
5
votes
4answers
364 views

How can I draw the following directed graph?

How can I make such a graph using tikz? I can draw the circled nodes and the arrows, but I can't change their position. (e.g. the one that starts from node 1 and ends at node 3). Edit: I would ...
4
votes
1answer
103 views

Tikz/pgf half-arrow stroke always down/left

I want to draw so-called bond graphs with TikZ, where elements (nodes) are connected through half-arrows. I can use a "left/right to" arrow head, use the 3.0 \draw[-{Straight Barb[left]}] (a) -- (b), ...
3
votes
1answer
57 views

TikZ3 arrow tip specification for “no arrow” or “shift tip” option

A specification like this arrows={|>[sep=10pt]-} works perfectly giving something like |-->--------. I would like to use the sep option to shift the arrow in the same way but without the ...
7
votes
2answers
153 views

what is a quick generic way to draw graphs (in the graph theory sense)?

I am looking for a very simple way to write a command for drawing (undirected or direct) graphs in Latex. I am aware of tikz, but it is an overkill for what I want, especially since I want the .tex ...
8
votes
2answers
320 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) ...
7
votes
1answer
140 views

How to obtain a custom arrow tip in TikZ

I wonder if it is possible to obtain exactly the following arrow tip with TikZ-PGF? I have searched all possible solutions in the PGF manual and in this site but only near ones are available. Here are ...
5
votes
2answers
159 views

Small tikz decorated arrow between words inside a tikz node

Effectively, what I want to do is very simple but I am not sure where to go. I have several nodes of the following form \node (1) at (0,0) {text1 $\rightarrow$ text2}; \node (2) at (0,2) {text2 ...
3
votes
0answers
56 views

Using tikz arrow with scaleboxed tables

Following this post. I would like to use arrows with tables. Yet my tables are too big and I want to rescale them using scalebox. But went I use tikz with the scaleboxed tables I cannot point ...
2
votes
1answer
109 views

Vertical TikZ arrow anchored to the center of the target

Consider this example: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[left] at (0,0) (Source) {Source}; \draw [very thick, ->] (0.15,-0.02) -- ...
6
votes
2answers
102 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 ...
5
votes
1answer
81 views

Bigger arrowhead

I am using the tikzlibrary decorations.markings to put arrowhead on arbitrary places on some lines. My code is the following: \begin{tikzpicture}[arrowmark/.style 2 args={decoration={markings,mark=at ...
5
votes
1answer
187 views

How to customize the arrows of this flowchart?

\begin{document} \pagestyle{empty} % Define block styles \tikzstyle{decision} = [diamond, draw, fill=white!20, text width=5.5em, text badly centered, node distance=5cm, inner sep=0pt] ...
7
votes
1answer
111 views

fill the interior of a randomly constructed closed path

I am not sure how to proceed in filling the interior of a randomly generated (via a random decoration) path. I began with code given in the answer to this question and worked on it since the basic ...
7
votes
4answers
129 views

How to use the node distance to offset the start and/or end of an arrow with TikZ?

I want to draw an arrow where one of the end points is not actually attached to another node, and I want the length of the arrow to take into account the node distance of the node to which the arrow ...
6
votes
2answers
130 views

Tikz: Filling Parabola and Rounde Arrow

I edited my code to fill the area and plot the round arrow. The arrowhead shows upwards as shown here: http://www.directupload.net/file/d/3751/q4ohidu4_pdf.htm \documentclass[a4paper,10pt]{article} ...
0
votes
1answer
92 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} ...
1
vote
2answers
175 views

how do I make tikz circular arrowheads concentric to the point they connect?

I have a box-and-pointer diagram but it looks wrong, because the circular arrowheads are tangential to the point it connects, rather than concentric to that point. How can I fix this? ...
4
votes
1answer
157 views

drawing a basic line segment

please excuse my ignorance because I am VERY new to latex (2 days). Before I ask my basic question, is anyone aware of a beginners guide to creating basic docs in Latex? I have seen a few "cheat ...
1
vote
1answer
98 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} ...