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

learn more… | top users | synonyms

2
votes
0answers
42 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
117 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
113 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
174 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 ...
5
votes
0answers
111 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
364 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
241 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
296 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
489 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
647 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
375 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
350 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 ...
6
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
286 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
779 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
680 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
774 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 ...
4
votes
1answer
549 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
596 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 ...