I want to get a spiral as shown in this post:
Text spirals with TikZ
at the same time, I need to use Cyrillic:
"Пример: нужно написать по спирали это предложение."
I found a way to change the language to Greek: Text spirals with TikZ using greek text
Doing by analogy, I realized that I should use lines such as:
\usepackage[english,russian]{babel}
\usepackage[T2A]{fontenc}
\selectlanguage{russian}
but I didn't manage to get the result
\documentclass[tikz,border=5]{standalone}
\usepackage[english,russian]{babel}
\usepackage[T2A]{fontenc}
\usetikzlibrary{decorations.text}
\begin{document}
\selectlanguage{russian}
\begin{tikzpicture}[
decoration={
reverse path,
text effects along path,
text={Пример: нужно написать по спирали это предложение.},
text effects/.cd,
text along path,
character count=\i, character total=\n,
characters={scale=1-\i/\n}
}
]
\draw [decorate] (0,0)
\foreach \i [evaluate={\r=(\i/2000)^2;}] in {0,5,...,2880}{ -- (\i:\r)};
\end{tikzpicture}
\end{document}