Linked Questions

39
votes
3answers
2k views

Simulating paintbrush strokes in TikZ

I am wondering if there exists a way to simulate paintbrush strokes in TikZ when filling in a shape. So given the following: \documentclass{article} \usepackage{tikz} \begin{document} \begin{...
11
votes
2answers
1k views

Randomly curved arrows in TikZ

Any suggestions on how to draw something like this picture using TikZ? Thanks!
18
votes
2answers
4k 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 However, ...
19
votes
1answer
3k views

How do I draw a plot with a variable line width in pgfplots?

I have highly dimensional data for which I'd like to draw a plot where I vary the line-width, somewhat similar to the famous Minard chart: I suspect this can be done with some combination of point ...
11
votes
2answers
10k views

lines with variable width in TikZ (to convert handwritten Xournal files to tikz)

I am trying to convert handwritten text or handdrawn sketches to TikZ. Usually the thickness of a pen stroke varies when the writer applies more or less pressure to the surface. I am looking for a ...
3
votes
2answers
2k views

How can I draw an arc with varying line thickness?

I'm trying to redraw existing figures with TikZ as an exercise to learn it. This time I have choosen an interesting logo and I'm having difficulties drawing the arc. Here is the logo I noticed that ...
4
votes
2answers
986 views

tikz: draw multicolor curve with smooth gradient

Yes, I know there are several topics about, but no one referred to my case. While colormap seems works only with plots, how can I draw a multicolor curve with smooth gradient? This is my attempt: \...
4
votes
2answers
2k views

Drawing Curved Arrow Using Tikz

I have the figure like the below one: The image is produced using the code below: \documentclass[tikz, border=3mm]{standalone} \usetikzlibrary{arrows.meta,chains,matrix,decorations.pathreplacing} ...
7
votes
2answers
739 views

MetaPost: Randomly variably thick curves

Overview Looking to emulate the following sinusoidal wave having random variations in both its filled and outline thickness: The wave has two parts: a variably thick filling and a variably thick ...
9
votes
1answer
1k views

TikZ decoration to draw a winding or twisting ribbon

I enjoy TikZ styles and decorations a lot, but I still dabble with them. I know how to draw ribbons with a style, if they aren't meant to twist. But I'd like to define a style that has a twist of the ...
7
votes
1answer
1k 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 ACD/...
7
votes
1answer
293 views

Custom line cap to simulate inked line in TikZ

Looking for a way to add a custom line cap (slight bulbous) like one would get when inking a line on real paper.
6
votes
0answers
2k views

Trying to draw a line that changes color [closed]

I'm trying to use tikz to draw a line that changes color at two different points. As you can see from the code below, what I want is a line that starts solid red, changes to dotted gray, and ends as ...
5
votes
2answers
366 views

Is it possible to increase the line's width from its start to its end?

I was wondering if it is possible to let the line's width dynamically increase from its start to its end. I found such an illustration in a book: I am a TikZ noob but what I came up with would be the ...
7
votes
1answer
362 views

Gradient coloring in tikz

I have a figure where coloring should be gradient along the wires. To be precise, the coloring should be like sinusoidal function. \documentclass[border=2mm]{standalone} \usepackage{tikz} \...

15 30 50 per page