Hi,
how can I make a text hug an ellipse i.e. the text is written along the boundary of the ellipse, in Tikz?
Graphics, Figures & Tables ⇒ Text in tikz
Text in tikz
Last edited by jhapk on Wed Jul 07, 2010 3:53 am, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Text in tikz
Hi,
you can use something like this:
Refer to the Section 27.5 Text Decorations of the pgfmanual for further information.
you can use something like this:
Code: Select all
\documentclass{book}
\usepackage{tikz}
\usetikzlibrary{decorations.text}
\begin{document}
\begin{tikzpicture}[decoration={text along path,
text={Some long text along an ellipse used for this simple example}}]
\draw [decorate] (0,0) ellipse (2cm and 1cm);
\end{tikzpicture}
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...