I want to write some math text arround a circle, it works fine for math formulas but when I tried to write \varSigma
and \varPi
from amsmath
package, it doesn't work. How can I fix this?
code
\documentclass{article}
\usepackage{tikz,amsmath}
\usetikzlibrary{decorations.text}
\begin{document}
\begin{tikzpicture}[decoration={text along path, text={$\varSigma \varPi MAX$}}]
\path [decorate]
(0,0) .. controls (0,6) and (9,6) .. (9,0);
\end{tikzpicture}
\end{document}
{$\varSigma$} {$\varPi$} {$MAX$}
{$\varSigma$}{$\varPi$}{$MAX$}{}
works fine. add your comment as an answer please and i'll give you the points because you solved the problem. Thanks