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

tarl
  • 147
  • 1
    Certainly this is a matter of opinion. I think you can use smaller fonts, a bigger drawing, use straight lines text... Several options are possible, is matter of choice, your choice. – Guilherme Zanotelli Nov 12 '16 at 17:00
  • Foe example I use \tiny {} but latex then dose not work. – tarl Nov 12 '16 at 17:25
  • 1
    not \tiny{...} but {\tiny ....} or better define font size in node options font=\tiny. – Zarko Nov 12 '16 at 17:59
  • See http://tex.stackexchange.com/questions/57823/how-to-reduce-font-size-in-tikz-nodes or http://tex.stackexchange.com/questions/177088/tikz-nodes-with-text-scale-or-large-large-huge or http://tex.stackexchange.com/questions/107057/adjusting-font-size-with-tikz-picture – Guilherme Zanotelli Nov 12 '16 at 18:05
  • My personal opinion is: Do not bend them at all. Your are labeling the area, not the boundary. – Symbol 1 Nov 12 '16 at 19:07

0 Answers0