文本的更好形状

文本的更好形状

我有这个图表。有没有什么办法可以更好地在圆圈内书写文字?

\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{decorations.text}
\begin{document}
\begin{frame}[fragile]

    \begin{tikzpicture}[my text decoration/.style={decoration={text along path,
                                                   reverse path,
                                                   text align={align=center},
                                                   text={#1}
                                                   }
                                                    }]
    \coordinate (O) at (0,0);
    \begin{scope}[xshift=0cm,scale=1]
    \coordinate (O) at (0,0);
    \draw[fill=blue!40] (O) circle (1.80);
    \draw[fill=pink!70] (O) circle (1.00);
    \draw[my text decoration={L-Lor(R)}, decorate] (0.5,0) arc (0:180:0.5);
    \draw[my text decoration={Lor(R)}, decorate] (1.3,0) arc (0:180:1.3);
    \end{scope}

    \begin{scope}[xshift=7cm,scale=1]
    \coordinate (O) at (0,0);
    \draw[fill=blue!40] (O) circle (1.80);
    \draw[fill=pink!70] (O) circle (1.00);
    \draw[my text decoration={K(R)}, decorate] (0.5,0) arc (0:180:0.5);
    \draw[my text decoration={Koma(R)}, decorate] (1.3,0) arc (0:180:1.3);
    \end{scope}
    \end{tikzpicture}

\end{frame}
\end{document}

编译结果

相关内容