part of the tikz/pgf bundle: the decoration libraries define a number of (more or less useful) decorations that can be applied to paths.

learn more… | top users | synonyms

5
votes
2answers
916 views

How to put a mark on an arc (tikz,decoration)

I have a problem with this code : \documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations.markings} \begin{document} \begin{tikzpicture}[decoration={markings, mark = at position .5 ...
11
votes
1answer
3k views

TiKZ decoration doesn't work

I am trying to get TikZ decorations to work, but so far without success. In this minimal example, I am trying to compile an example found in pgfmanual.pdf in section 20.2: \documentclass{article} ...
13
votes
3answers
1k views

Draw the discontinuity symbol with tikz

Is there an easy way to draw the discontinuity symbol with tikz? It is the symbol shown at the y axis in the following picture (taken from the pgfplots documentation. I can always draw it manually ...
3
votes
1answer
607 views

Big Decorative Quotes

I want to make some definition in my thesis very clear, by putting it in its own line, with stylish, decorative (or whatever you call it) quotes. How can I do that in Latex?
2
votes
2answers
2k views

Decorative hook or symbol before chapter (or section) title

I'm writing my PhD thesis in latex and learned a lot from this forum. However, I could not find an answer to the question how do I put an decorative hook before the chapter title. I think that it ...
19
votes
2answers
2k views

Looking for TikZ flourishes and vignettes

I'm a sucker for the fancy section markers (commonly called vignettes or ornaments). For an example, look at the beautiful symbol beneath the {TeX} logo on this site, or this flourish below ...
9
votes
1answer
934 views

Persistent random steps decorations during beamer \uncover

I'm using a random steps decoration with a path that appears through several uncover transitions. Currently the decoration is redrawn in each instance of the slide. How can I change this behavior. ...
1
vote
1answer
2k views

Use TikZ decoration in a scope

Rather than define a single decorator for all lines at the tikzpicture level, I'd like to use scopes to selectively apply certain decorations to certain parts of my drawing. As a minimal example: ...
17
votes
4answers
5k views

End of paragraph with ornament

How to make a line with ornament like one below {TEX} logo on this site? What is specific term for it?
20
votes
2answers
962 views

How can I put a coloured outline around fraction lines?

I use the contour package to put thick white outlines around labels in graphs, so they remain readable above the grid lines without taking up too much space. Unfortunately, the package is not able to ...
10
votes
1answer
3k views

Controlling the amplitude of the snake function in TikZ

I have been using TikZ with some success, but I can't figure out why the following code doesn't produce anything: \documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations.pathmorphing} ...
15
votes
2answers
2k views

Placement of arrowtips with TikZ’s markings

With the decoration library it is possible to place arrow tips at arbitrary positions along a path. TikZ places the front end of the arrow at the specified position, which is often exactly what one ...
21
votes
2answers
2k views

TikZ: multiple decorations on a path.

I would like to draw a squiggly line with an arrow somewhere in the middle of it. TikZ has a pathmorphing decoration that draws a squiggly line and a markings decoration to place an arrow tip. So a ...
40
votes
6answers
14k views

TikZ: How to draw an arrow in the middle of the line?

Like this: .------<------. | | v ^ | | '------>------' I am currently using \begin{scope}[very thick,->] \draw (-4,1)--(-4,0)--(0.1,0); \draw ...
98
votes
14answers
31k views

Totally sweet horizontal rules in LaTeX

I have been trying to find a way to easily drop a nice horizontal rule into a LaTeX document. \hline just makes a line across the page. It would seem that some package must provide something that is ...