5
votes
1answer
82 views

circle vs arch with shorten — normal or bug?

When I draw arches using arc in pgf, the arch path precisely fits on the path of the corresponding (ie having the same radius) circle (red on black in the attached figure). When I apply shorten to the ...
2
votes
1answer
129 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 ...
5
votes
1answer
55 views

Fill a path but drawing just a part of it at the same time

I want to fill the angular sector and just draw the curve part of it in one command. I tried with move to command but it doesn't work. \documentclass[tikz,10pt]{standalone} \usetikzlibrary{calc} ...
6
votes
1answer
158 views

Number of intersection points

In this examle from pgfmanual p 132, how to use \t the number of intersections point outside \fill command. I tried \def\Nb{\t} but it dosen't work. \begin{tikzpicture} \clip (-2,-2) rectangle (2,2); ...
7
votes
1answer
174 views

Extract a part of a path and reuse it as part of a new one

I want to draw the blue line part 1-2-3-1 filled and the blue line part 1-4-3 dashed. The definition of the blue line (EllA path) is made of computed nodes. I can't find intersection points during ...
5
votes
1answer
126 views

Use a part of a path to make a cycle

I have two pathes the firt is to be fully drawed, but only a part of the second using intersection point with the first. Here an example: I want to draw only the upper part of the square (dashed) as ...
3
votes
3answers
164 views

Path and node problem

In the following example, why there is no blue triangle ? \documentclass[a4paper]{article} \usepackage[marginparsep=3pt, top=2cm, bottom=1.5cm, left=3cm, right=1.5cm]{geometry} \usepackage{tikz} ...
1
vote
0answers
97 views

How to close path for complex path in TikZ?

I'm doing a bit of 3D primitive fugures using this code: \documentclass[tikz,10pt]{standalone} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{mathptmx} ...
5
votes
1answer
87 views

TikZ: create filled polygon from single points set

I have a list of named points (from mark-1 to mark-26) and I want to use them as vertexes of a polygon, which should be filled blue. I don't want to write them down in a path manually because they ...
4
votes
0answers
152 views

Hebrew text along a (circular) path is typeset LTR instead of RTL

I have read Typesetting straight baselines in a circular arrangement and I would like to have a solution for my situation. I would like to insert some text in Hebrew on an annulus. Here is my attempt ...
19
votes
2answers
571 views

Meaning of bend right or left in TikZ?

The following code actually comes from the PGF manual. It works fine, but I have a difficult time in understanding it (I'm new to TikZ) \documentclass{article} % say \usepackage{tikz} ...
4
votes
0answers
289 views

TikZ path decorated with coil or snake

A recurrent question on the forum is... How to draw a decorated path without a straight segment at the end? Usually the path described are straight lines (See post1, post2 or post3), but there are ...
3
votes
2answers
1k views

LaTeX Flow Chart Path Problem [duplicate]

I have a flow chart that has all of the nodes that I want, there is just one path that I can't get. \begin{figure}[H] \begin{center} \tikzstyle{decision} = [diamond, draw, fill=blue!20, ...
2
votes
1answer
147 views

How can I move a “text along path” vertically?

How can I move a "text along path" vertically? Currently, I'm using a path with modified endpoints to place the text, and then draw the actual line. \documentclass{article} \usepackage{tikz} ...
8
votes
2answers
780 views

TikZ: position text along path

I'm trying to position a piece of text at a certain position along a multi-part path. Here's what I have been trying so far. \documentclass[tikz]{standalone} \usepackage{tikz} ...
5
votes
1answer
240 views

Problems with \pgfplotstableread and relative paths

I have this folder structure in my project: main.tex mystyle.sty tex mytex.tex img myimg.tex dat mydat.dat And the following files: main.tex: \documentclass{scrartcl} \usepackage{mystyle} ...
4
votes
1answer
115 views

“Stroke” a predefined path

I would like to use the name of a previous defined path to draw it later on in my code. I have included an example below, where I define two paths, "D1" and "S1", and then later on, draw these very ...
5
votes
2answers
277 views

TikZ: Combining multiple paths in and outside foreach

I am trying to generate a path from a list of directions (as seen on the numpad). The coordinates are generated correctly, but because I use multiple call to \path the arrowheads are drawn on each ...
2
votes
0answers
22 views

node at sloped path and/or not respecting every path/.style [duplicate]

I'm producing a schematic Nyquist plot, and I want to create an arc between the x-axis and a straight line, which should be denoted PM (phase margin). I use the intersections library to find the ...
1
vote
1answer
97 views

elliptical path estimation

I am going to use tikz to make the following picture (see below). I don't need advice or help in making the picture just estimating the ellipse since I don't have anything to reference. The ellipse ...
7
votes
1answer
381 views

Filling the arrow tip and not the path using two different colors

I have a small problem with some arrows but I can't seem to find a solution. Please note that this question is different from Setting fill color for TikZ arrow tips only (and not the path itself), ...
16
votes
3answers
1k views

How to fine tune rotation of text along circular path?

After searching the web and finally coming from here (recreating a logo), I couldn't find an answer to what I am looking for. I want to rotate a text inside a circle and have a full control/fine ...
9
votes
1answer
522 views

Draw additional parallel paths in TikZ

How can parallel lines elegantly be added to an existing path? I am looking for a solution or hint to, how a general style can be made, that works with any path. Example path: ...
7
votes
2answers
192 views

TikZ setting the edge of a path to horizontal rather than in=0 out=180 or vice versa

\path[->] (A) edge [out=180, in=0] (B); This path is written quite often in my document. Sometimes I find myself changing it to: \path[->] (B) edge [out=0, in=180] (A); I do not want to ...
1
vote
1answer
279 views

Assistance on arabic text on TikZ

I attempting to use both arabic and TikZ pictures but, I have four problems: The Arabic words appear in reverse order, the first word appears finally ... The sentence is not in arc as in the English ...
9
votes
1answer
170 views

TikZ: positioning label at the end of a path

I'm trying in TikZ to find a general way to draw an arrow and label it at the end. Something like this works reasonably well: \draw[->] (0, 0) -- (1, 3) node[pos=1.1]{$\vec{v}$}; However, ...
4
votes
1answer
414 views

Adjusting font size for fake perspective

I'd like to add text on the paths on the left side with font size continuously adjusted from \Huge to \tiny to achieve a perspective like effect. The font size steps shouldn't be \Huge, \huge, \LARGE, ...
5
votes
1answer
346 views

How to fill area between curve defined by series of control points and x-axis

How to fill area between curve defined by series of control points and x-axis? MWE: \documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations.markings} \usetikzlibrary{intersections} ...
7
votes
1answer
515 views

assistance on good handling of text on TikZ paths

I am putting together an ornate logo using TikZ. The logo as it is currently is as follows: I request assistance on handling the lowermost outer text (which reads "UNIVERSITY OF GLASGOW"). For the ...
5
votes
2answers
100 views

How do I use scopes to apply a style to nodes inside a path?

I want to use nodes inside a single path, in order that I might position one relative to another using the ++(x,y) notation. However, a scope that I want to use to style the nodes only styles the ...
9
votes
1answer
4k views

TikZ: text along path as node

I'm using the decorations library to put bended text along a path. That works fine. However, I'd like to have the bended text as a node, so that I can later use it as a reference (for instance to draw ...
8
votes
1answer
200 views

How to build a trail of nodes from a path in tikz-pgf?

What I want: where the yellow line is the path to be transformed. The points inside the yelow line are the nodes after processing. The only way I found to do this is the intersection between a ...
10
votes
3answers
696 views

Decorate path with arrows at nodes

Standalone example: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{shapes} \begin{document} \begin{tikzpicture} \draw[black, very thick] plot[smooth] coordinates {(4,1) (2,2) (1,3) ...
7
votes
1answer
119 views

Why do my “to path” arrowheads disappear when I upgrade to PGF 2.10?

Since I upgraded to PGF 2.10, some of my arrows drawn with to don't look right anymore. For instance, they are missing arrow-heads, and some other styles I applied to them have also disappeared. For ...
3
votes
2answers
443 views

Make line extend beyond endpoint and intersect with line

Is it possible to have a line go through two coordinates and then extend until it intersects with another line? The line in question is not horizontal nor vertical (otherwise I could use the ...
3
votes
1answer
198 views

Error in start node of path

Getting a strange error where any path from a certain node starts in the incorrect place. The red paths are identical in code. The image on the left is what I expect, but the image on the right is ...
8
votes
2answers
1k views

Increase the bending distance of a ``to`` path in TikZ

I have problem with an small graph. The path between the node J and B should to the right of node I. Is there a way to do this? \documentclass[11pt]{article} \pagestyle{empty} \usepackage{tikz} ...
6
votes
2answers
660 views

Coil path decoration without straight segment

When a path is decorated in TikZ, a straight line segment might be added at the end, depending on the length of the path. This is undesirable in some cases, and a very nice versatile resolution for ...
13
votes
1answer
312 views

highlights path sequentially BUT in order of clicking

I have been looking for a possibly difficult answer to a simple question. I would like to be able to highlight paths on a TikZ picture. I would like to highlight these paths by clicking on them and at ...
11
votes
1answer
445 views

TikZ: Decorated paths without straight segment

When a path is decorated in TikZ a straight segment might be added at the end, depending on the length of the path. This is undesirable in some cases, and a resolution for the snake decoration has ...
6
votes
1answer
532 views

Extract coordinates from 3D point

How do I extract coordinates from a three-dimensional point defined when using tikz-3dplot? I would like to perform some calculations on these (more specifically a cross-product of two vectors), but ...
7
votes
2answers
463 views

TikZ: Bug with multiple decorations “at position 1”?

If I try to put two decorations on the same path, both at position 1, only the first shows up: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,decorations.markings} \begin{document} ...
9
votes
2answers
723 views

TikZ: How to decorate a path with the open diamond arrow tip that “bends” with the path?

I have a curved path that I want to put an open diamond arrow tip on. Here is a MWE with my best attempt: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,decorations.markings} ...
4
votes
2answers
472 views

Draw reversed path in TikZ

Is there a way to draw a TikZ path reversed? I am trying to create some code that generates tessellating figures (to be used in How do we Draw a Bird in LaTeX). Here is what I got: ...
4
votes
3answers
461 views

How to scale and clip a path at the same time?

Again, i started a question here, and i found the solution. But i think this method maybe useful for others. The problem: i exported the TikZ code of one path from Inkscape; then, i wanted to use it ...
6
votes
1answer
345 views

Pass options to the scope that is internally created by preaction

In the reply to this question on shadows, it was suggested to use the backgrounds library so that the shadow of one object doesn't overlap another object drawn previously. If I understand the ...
6
votes
1answer
2k views

TikZ: Large arrow tips at the end of smooth curves

I have problems with adding a large arrow tip to smooth curves. It works perfect with straight lines, but as soon as I use the edge command, the arrow tips are added to the beginning of the curve ...
11
votes
1answer
3k views

Draw a path with dashed start and solid end

I want to draw a line or path with dashed line style at its begining and a solid line at the end, but in only one path (I mean, not drawing two path), something like : \documentclass{minimal} ...
1
vote
1answer
526 views

Problem with labeled equations in beamer: Why do the labels have different positions after each compilation?

I'd like to make a slide in beamer with a few equations that labels the parts of the last equation shown. I'm doing this with overlays so one equation is added at a time, and only that last equation ...
6
votes
1answer
686 views

Reusing TikZ Path Definition

I'd like to know if somebody know a way to define a path in TikZ and reuse the path's definition several times. For example, consider the following: If I wanted to change the path (0,2) -- (0,2) -- ...