Linked Questions

35
votes
3answers
1k 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{...
9
votes
2answers
827 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
2k 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
9k 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
1k 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 ...
6
votes
2answers
560 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 ...
4
votes
2answers
1k 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} ...
9
votes
1answer
915 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 ...
4
votes
2answers
429 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: \...
7
votes
1answer
867 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/...
5
votes
2answers
282 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 ...
4
votes
1answer
133 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.
3
votes
2answers
158 views

How to reduce the width of a composite figure with the command arc and a line in TikZ?

I have this tikzpicture: \documentclass[10pt]{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw[line width=0.5cm] (10cm,1cm)--(12cm,1cm) arc(90:-90:1.3cm and 0.943cm) --(...
6
votes
1answer
247 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