Eine Möglichkeit wäre
Code:
\documentclass{standalone}
\usepackage{tikz}
\newcommand\startwinkel{40}
\begin{document}
\begin{tikzpicture}
%\begin{scope}
\clip [preaction={draw,line width=0.05em}] (0,0) circle [radius=.34em];
\fill (1,0)--+(\startwinkel:.34em)arc[start angle=\startwinkel,delta angle=180,radius=.34em];
%\end{scope}
\end{tikzpicture}
\end{document}
Das Clippen ist dabei nötig, weil arc die Bounding Box vergrößern kann. Wird noch mehr in der gleichen tikzpicture Umgebung gezeichnet, muss man das Clippen mit einem scope lokal halten.
Da Du mehrere Halbkreise brauchst, könnte man auch ein pic definieren:
Code:
\documentclass{standalone}
\usepackage{tikz}
\tikzset{
halbkreis/.pic={
\clip [preaction={draw,line width=0.05em}] (0,0) circle [radius=.34em];
\fill (0,0)--+(#1:.34em)arc[start angle=#1,delta angle=180,radius=.34em];
}
}
\begin{document}
\begin{tikzpicture}
\foreach \i in {0,...,3}
\pic at ({\i*1em},0) {halbkreis={\i*90}};
\end{tikzpicture}
\end{document}
Gruß
Elke
Lesezeichen