Linked Questions

3
votes
0answers
164 views

How to define a pgf curve with points instead of controls? [duplicate]

The syntax to produce a Bézier curve in pgf is \pgfpathcurveto{first control point}{second control point}{target} This defines the curvature by control points. Considering the degrees of freedom the ...
164
votes
5answers
101k views

Easy curves in TikZ

I find myself needing to draw lots of elegantly curved paths in TikZ. Ideally, I'd just specify a series of points, and TikZ would calculate the extra data itself to draw a nice series of curves ...
32
votes
7answers
10k views

How to make a “krul” (unofficial Dutch symbol for OK)

Time and again I have been wanting to use a krul/krulletje in my documents. For instance in proofs consisting of multiple parts, as an alternative \qedsymbol, etc. But never could I find one. How ...
29
votes
8answers
4k views

Showcase of “programming your document” paradigm

A feature of latex is that you can "program your document". You can do this by using TeX/LaTeX directly (remember that it is Turing complete) or by other languages like lua or python (especially sage) ...
27
votes
6answers
2k views

Are there examples written in PSTricks and they cannot be done using TikZ?

I am comparing the cores of PSTricks with TikZ and their capabilities. I am not considering whether or not a library has been implemented. Are there examples written in PSTricks and they cannot be ...
22
votes
3answers
3k views

Amoeba shape with TikZ

I would like to draw generic amoeba-like shapes with TikZ and don't really want to think too deeply about its boundary. Basically a closed connected set with smooth locally convex boundaries. Any ...
21
votes
2answers
3k views

Making a labeled Klein bottle using TikZ or pgfplots?

I'd like to be able to draw the following cell complex structure on the (three-dimensional embedding of the) Klein bottle using LaTeX. I am pretty pleased with my hand-drawn rendition, but LaTeX is ...
25
votes
2answers
2k views

Implementing a syntax: Smooth curves with specified points and tangents

Note: the following question is similar to the final version of this question, but none of the answers to that question appear to answer my question. Often, I find it desirable to specify a curve by ...
12
votes
4answers
373 views

number of arguments that is a multiple of a number in a macro for curves with continuously varying thickness

In some mathematical figures it's nice to vary curve thickness smoothly along a path. That's for reproducing hand drawn mathematical figures made with inking liners. \documentclass{article}\...
8
votes
2answers
788 views

Generating graphs with smooth edges?

Is there some way to produce these figures using TeX itself preferably using TikZ? If yes, then I would also like to add labels right next to the nodes rather than using a legend. This is a ...
6
votes
2answers
1k views

Where in the world is tikzlibraryhobby.code.tex?

I was trying to reproduce Claudio Fiandrino's answer to How can we draw a Hannukah Menorah with decorations, using TikZ?. However, I do not have the hobby package by Andrew Stacey in my local ...
8
votes
1answer
1k views

Programming with pgf arrays : how to create an array?

I am trying to do some automatic drawing in tikz. The point is I want to be able to provide the minimal quantity of information to my macro, and still have it work. More precisely (but without ...
4
votes
2answers
220 views

improve the code for a rabbit

I have the following code for a rabbit. Could you help to improve it? \documentclass[12pt]{standalone} \usepackage{pgf,tikz} \begin{document} \begin{tikzpicture} \draw[ultra thick] (...
4
votes
1answer
708 views

TikZ - Smooth curve surrounding points without specifying control points

This is what I have right now: \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning,automata} \definecolor{light-gray}{gray}{0.6} \begin{document} \begin{tikzpicture}[line width=.1cm,...
2
votes
1answer
1k views

TikZ: Smooth curve through three points without changing direction

In another question (see here) I was asking about how to put the control points of a curve on the tangent of a specific curve point. While the given answers where helpful for that particular ...

15 30 50 per page