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

learn more… | top users | synonyms

28
votes
3answers
833 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 ...
6
votes
1answer
121 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
324 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
311 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
304 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} ...
8
votes
1answer
1k 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
233 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 ...
5
votes
1answer
967 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
232 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 ...
12
votes
2answers
564 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
472 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. ...
7
votes
1answer
559 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 ...
3
votes
1answer
436 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 ...
5
votes
2answers
452 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 ...