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

6
votes
1answer
168 views

Constraint for a decoration: only if edge is long enough

Title+Picture might make you guess my question: My goal is to modify the tikz-style companion such that in this example the text along path-decoration will only be shown if it fits, i.e. between ...
1
vote
0answers
526 views

Illuminated manuscripts & LaTeX [closed]

How can I produce Illuminated manuscripts (something like this)? Are there existing examples of illuminated manuscripts made with latex, or websites that provide initials or decorations with this ...
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
3answers
996 views

Help on decorations: how to draw a spiral coiled tube in TikZ

Hi everybody I was trying to draw a spiral coiled tube with TikZ decoration library. This is what i got so far: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{decorations} ...
11
votes
1answer
447 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 ...
13
votes
1answer
305 views

Decorate a path with little arrows parallel to it

I want to decorate a path with little arrows (with definable length) parallel to it. I tried to modify an example from the manual, but I was only able to get arrowtips and not complete arrows where I ...
4
votes
0answers
372 views

Decorate pgfplots mesh

In my quest to solve this question I'm trying to see if I can decorate a mesh-plot by drawing many circles or maybe rectangles with a radius determined by \pgfplotspointmetatransformed. But I can't ...
8
votes
1answer
839 views

Appending a line (of fixed length) to a spring drawn with tikz coil

Looking at the nice answer here: Draw mechanical springs in TikZ, I would like to attach a line of fixed length (say 5mm) to the top of the spring (to the platform) and bottom of the spring (to the ...
4
votes
2answers
226 views

Placing long table inside \shadowbox

I have a multi-page table produced by long table package and I want to put each page of the longtable inside \shadowbox. Here is what I have tried: \documentclass{article} \usepackage{fancybox} ...
5
votes
1answer
1k views

multi-line text for brace decoration in tikz

I'm trying to make a time-line with events by means of tikZ. Everything is going fine, I found (here) some nice examples and explanations but... I do a brace decoration for my time-line which has long ...
7
votes
2answers
464 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
725 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} ...
5
votes
2answers
412 views

I want a “Go on to next page” arrow where text is inscribed in arrow

I was wondering how i can create an arrow that says embedded "Go on to next page" the arrow should be something like the implies arrow or the rightarrow.
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. ...
53
votes
6answers
14k views

Package for certificates

Since LaTex can produce outstanding typesetting results and excellent graphics design, I began to wonder if it can recreate certificates. With so many packages and styles out there does anyone know if ...
38
votes
4answers
4k views

Does anybody know a good source of (free) ornaments, decorations, frames, backgrounds etc.?

I'd like to prepare a "fancy" typographical project, more interesting visually than a "boring" black-on-white text. I'm not very talented at drawing, though, so I'd like to ask about a place to find ...
8
votes
1answer
678 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. ...
105
votes
12answers
11k views

Contest: Show Off Your Skillz in TeX & Friends [TeX.sx birthday]

Submission Deadline and Voting are over, thank you for participating! Results Academic Gonzalo Medina – 31 Andy – 19 cmhughes – 11 mbork – 6 Other Yiannis Lazarides – 38 szantaii – 20 Ant – ...
6
votes
2answers
2k views

TIKZ : How to decorate a \path?

My question is about drawing a "commutative-type diagram" in mathematics. I would like to integrate an arrow of the type \rightsquigarrow, which is described how to be obtained here : Squiggly arrows ...
11
votes
4answers
4k views

Is there a TikZ dashed line decorator or some other way to make part of a path dashed?

The problem I would like to draw a parabolic path in TikZ that changes (abruptly) from a continuous line to a dashed line. The obvious way to change the appearance of a path over the course of its ...
19
votes
3answers
2k views

Modify TikZ coil decoration

Can I modify the existing tikz coil decoration, so that the downstrokes are not drawn in a certain interval, to produce a picture like this?
11
votes
1answer
684 views

TikZ finishes a morphed path with a straight segment

When, in TikZ, I apply a path morphing decoration (say, "snake") and specify the segment length option, I often finish up with a straight segment at the end of the path, such as which often is not ...
6
votes
2answers
396 views

Is it possible to have a two head arrow as a decorator?

I would like to have the analogue of \overrightarrow{x} but with a two headed arrow (as in \twoheadrightarrow, but above the variable). Is this possible?
15
votes
5answers
750 views

How to put a star (or other symbol) in sections that are “special” (difficult, optional, etc)?

I'm currently writing a book, and I'd like some of the sections to be clearly marked as "difficult" or "optional". Not only sections, but also exercises (I'm using the exercise package) and theorems ...
7
votes
1answer
382 views

Wedged/tapering paths in TikZ

Initial question Is there an easy way to vary the thickness of a path along its length to create a wedge (for instance, to create a stereochemical cue)? e.g. cis-cyclohexane-1,2-diol, drawn in ...
5
votes
2answers
861 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 ...
9
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
591 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
1k 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 ...
8
votes
1answer
866 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: ...
15
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
931 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
2k 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} ...
13
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 ...
37
votes
6answers
12k 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 ...
88
votes
14answers
29k 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 ...