Graphics, Figures & TablestikZ | Control Points

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

tikZ | Control Points

Post by ghostanime2001 »

How can I add more than 2 control points using tikz? For example I want to draw a random letter "S" or a really crazy looking curve?
Last edited by ghostanime2001 on Fri Nov 11, 2011 8:41 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

torbjorn t.
Posts: 162
Joined: Wed Jun 17, 2009 10:18 pm

tikZ | Control Points

Post by torbjorn t. »

You can't, but just add another segment with control points immediately afterward.

Code: Select all

\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (2,4) .. controls (0,4) and (0,2) ..
      (1,2) .. controls (2,2) and (2,0) .. (0,0);
\end{tikzpicture}
\end{document}
Post Reply