1

I have this diagram. Is there any idea how to write the texts in the circles a better way?

\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}

compilation result

5

0

Browse other questions tagged or ask your own question.