I have a drawing of a circle with some text following the curve, as below:
\documentclass[border=2mm]{standalone}
\usepackage{tikz}
\usepackage{fontspec}
\usetikzlibrary{decorations.text}
\setmainfont{Times New Roman}
\begin{document}
\fontspec{Times New Roman}
\addfontfeature{LetterSpace=50.0}
\begin{tikzpicture}
\draw [
thick,
postaction={
decorate,
decoration={
raise=-4.5ex,
text along path,
reverse path,
text align={left},
text={A bunch of text}
}
},
] (0,0) circle (3.5cm);
\end{tikzpicture}
\end{document}
What I want, obviously, is expanded spacing between letters, but it looks like TiKZ is treating each word as a letter, and increasing the space between words. Is there a way to get letterspacing in this situation, and if so what is it?
text align = fit to path
ortext align = fit to path stretching spaces
. If you only want to fill part of the circle you need a new path and then chose either of the abovetext align
options. See p596 of the TikZ manual.tikz
behavior is given here: tex.stackexchange.com/a/358705/101651.