{pgf-decorations} concerns the capability to decorate (sub)paths in the TikZ-pgf package

learn more… | top users | synonyms

1
vote
0answers
67 views

TikZ decorated paths and fixedpointarithmetic library

Background: I am trying to apply multiple decorations to a path in a TikZ picture. In this particular case, my attempts fail as the maximum dimension PGF can calculate with is exceeded. This is not ...
6
votes
1answer
79 views

Arrow from brace to node

I would like to draw an arrow from the tip of a curly bracket to a node, but if I do the following, an extra arrow point is drawn just above the tip of the brace. \documentclass{article} ...
12
votes
3answers
270 views

How to improve on this “twolines” decoration?

I'm typesetting an article on graphical calculus in tensor categories in TikZ and I wanted to define a decoration that draws two parallel lines at the same time. Here is my first try: ...
10
votes
2answers
223 views

Decorating a path's edge with a hatch pattern in TikZ

Problem I would like to indicate an infeasible region in one of my pgfplots by manually drawing a path in the canvas. This should be a hatched pattern that is decorated on the path, something like ...
3
votes
1answer
60 views

Workaround for “dimension too large” for short, custom decorated, arcs?

I have already seen Avoiding `Dimension too large' and `ill-formatted floating point' errors in tikz, and probably there is no answer, but let's see... I have this MWE, with a custom ...
1
vote
0answers
84 views

Special decoration for TikZ pin feature

I try to achieve the curvy pin style I sketched below. It would help to distinguish pin lines from grid and other lines in the diagram. How can I realize a decoration that automatically draws such ...
2
votes
1answer
89 views

Piecewise styling and decoration of a tikz path?

I have this path, which I would like to style "piecewise" from a single specification, shown on the image below: As the image says, I'd like to decorate segments 2-3 and 5-6, and colorize only 3-4. ...
8
votes
1answer
179 views

How to get a tangent coordinate system for the decoration of a path?

I want to draw some lines in a tangent coordinate system of the decoration of a path. Especially I want to draw a tangent segment at the end of the decoration with full controll, i.e. with having the ...
2
votes
1answer
71 views

TikZ - pgfdeclaredecoration vs. curved path

I want to use a complex decoration, and then apply it to a curved path. It seems as if TikZ does not bend single segments though. Do you have any idea how I could get the desired behavior? Is there ...
2
votes
0answers
65 views

“Text along path” decorations take absurdly long to be compiled for non-default font sizes

I'm trying to use a text along path decoration in tikz-pgf which causes absurd loading times, sometimes far longer than an hour if I want to print a whopping two (!!) words in for example \large font ...
8
votes
1answer
161 views

How to correctly decorate an ellipse with random steps

To create something that looks like the shape of a lake, the following code transforms the border of a blue ellipse with smooth random steps. The idea is taken from another answer. ...
4
votes
1answer
134 views

Directed polyline with circles at vertices

This is a follow up question of two other questions. The first is Node at every vertex and the second one is this. My goal is to combine the two. In particular, I want to write something like ...
4
votes
1answer
210 views

TikZ table with floating labels + time discontinuity

I'm trying to create a TikZ version of this table, made in LibreOffice Draw. I'm quite new to TikZ, and don't really know what I'm doing, but have followed an example here and have built this ...
6
votes
0answers
140 views

TikZ: compilation time performance of decorations

I want to produce a picture that contains lots of two-part cylinder-kind shapes (maybe about 200) along certain paths. Here is an example of such a shape: \documentclass{standalone} ...
6
votes
1answer
399 views

Small text near arrow tips

How can I add some tiny text near arrow tips? Details I have an automaton like Now I want each edge to have the usual arrow tip, and close to the tip additionally a tiny text $\tau$. How can I ...
4
votes
1answer
273 views

tikz extending spring with constant number of segments

Is there as simple way to create a pdf animation with tikz of an oscillating mass attached to a spring which extends and compresses as the mass oscillates. The number of "spring elements" should be ...
11
votes
2answers
1k views

Crossing paths in TikZ without intersection

Once again, I'm preparing a new logic puzzle; Resuko to be precise. For the race track, I would like to have a symbolized bridge/underbridge -|-. I searched this site, but only found this question: ...
29
votes
3answers
1k views

How to pimp my tube?

How can I pimp my tube? \documentclass{scrartcl} % needs logicpuzzle bundle v1.8 % http://mirrors.ctan.org/graphics/pgf/contrib/logicpuzzle/logicpuzzle.sty % or replace logicpuzzle -> battleship ...
7
votes
1answer
332 views

Labeling non axis parallel braces in tikz

Given two points, the following code draws a brace connecting them and labels it. \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc,decorations.pathreplacing} \begin{document} ...
10
votes
1answer
548 views

Decorated path and arrows

I have defined 2 decorations with this code: \documentclass{article} \usepackage{tikz} \begin{document} \thispagestyle{empty} \usetikzlibrary{decorations} \tikzset{% pneumatic signal/.style={% ...
7
votes
1answer
776 views

Tikz: Avoiding line segments in snake path

I am using tikz to draw Feynman diagrams, and I learned how to draw a curved snake path. The problem is that in general line segments are present (I'd like to avoid them). I found a couple of post ...
3
votes
2answers
403 views

TikZ: Calculate “pre length” based on path length

I would like to automatically calculate the pre length value for a line decoration to be "centered". Let me explain it by this example: \documentclass{standalone} \usepackage{tikz} ...
10
votes
1answer
2k views

Calligraphic logo in tikz

Yep, it's that time again. I want to design a calligraphic logo and my obvious choice as LaTeX enthousiast is TikZ as implementation. Only, I lack the proper skills to do so and need some inspiration. ...
4
votes
1answer
402 views

A looping edge with “shorten >=…” that is symmetrical and points toward the node

The "shorten >=" option in TikZ causes a change in the shape of the Bezier curve. With a looping edge for example, it makes the loop asymmetrical (node A in the picture). I could make it symmetrical ...
7
votes
1answer
1k views

TikZ: Text along path

There is a node-to-node path and I want a text to be aligned to it. Also, [xshift=5mm] and [xshift=-5mm], which is supposed to ensure that the path ends do not touch the node boundary, doesn't seem to ...
4
votes
1answer
296 views

Aligning matrices by headlines, TikZ

1) How to align the two matrices (B) and (C) by their first row? 2) I took fancy in this "random steps" decoration. The manual, however, says nothing about it. Any tips/links on this fascinating ...
13
votes
2answers
847 views

coordinate along decorated path

I'm using the brace decoration from the TikZ decorations.pathreplacing library to draw a brace around some nodes. Now I would like to connect the tip of the brace to another path (use case: labelling ...
8
votes
1answer
780 views

Multiple marks on a path

I want to add a multitude of marks to a single path. However, sometimes these marks are heavily misplaced. For example, the blue arrows should be a little bit ahead of the red ones. ...
9
votes
1answer
856 views

Clipping tikz and raster pictures zigzag style

Is there a way to achieve this kind of clipping for raster images as well, not only for tikz pictures? -- Solved, see Edit #1. Are there any easier solution to achieve this with TikZ? -- Solved, see ...
5
votes
1answer
583 views

TikZ: Decoration with 1cm zigzag in the middle of a link

How do I make a TikZ decoration with a 1cm zigzag in the middle? Here's what I have so far, but it didn't work: \pgfdeclaremetadecoration{timearrow}{initial}{ \state{initial}[width=0pt, next ...
6
votes
2answers
658 views

How to raise a generic curve. Problem with \pgfdeclaredecoration

The goal I want to obtain is to have a parallel curve to a generic curve defined in a \draw command trough TikZ. To achieve it, I used the TikZ decorations library and the command ...