答案1
另一个版本(辐条数量可以改变)
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\def\NumSpokes{6}
\def\InnerR{1}
\def\OuterR{3}
\draw (0,0) circle (\InnerR);
\draw (0,0) circle (\OuterR);
\foreach \k in {1,...,\NumSpokes}{%
\draw (\k*360/\NumSpokes:\InnerR) -- (\k*360/\NumSpokes:\OuterR);}
\node at (0,0){$\mathrm{Princ}(C)$};
\node[anchor=south west] at (45:\OuterR){$\mathrm{Div}^0(C)$};
\end{tikzpicture}
\end{document}
答案2
当然有很多解决方案,其中之一就是下面的例子。
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[line width=1pt] (0,0) circle (2cm);
\foreach \phi in {0,60,120} \draw[line width=0.5pt] (\phi:2cm) -- (\phi+180:2cm);
\draw[line width=1pt,fill=white] (0,0) node {$Princ(C)$} circle (0.8cm);
\node[above right] at (45:2.1cm) {$Div^0(C)$};
\end{tikzpicture}
\end{document}
答案3
您必须以某种方式修改文本输出,但因为无论如何您都想标记它,所以使用 tikznodes
访问其边框上的任何角度的选项可能会派上用场
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\node[shape=circle, draw, thick, minimum width=1cm] (inner) at (0, 0) {$Princ(C)$};
\node[shape=circle, draw, thick, minimum width=3cm] (outer) at (0, 0) {};
%\draw (inner.0) -- (outer.0);
%\draw (inner.60) -- (outer.60);
%...
\foreach \angle in {0,60,...,300}\draw (inner.\angle) -- (outer.\angle);
\node[anchor=south west] at (outer.50) {$Div^0(C)$};
\end{tikzpicture}
\end{document}
您可以使用\foreach
进行常规剖面,或使用绘制命令进行任意角度的绘制(得益于斯蒂芬在评论中)
结果是:
然而,尤尔根的答案也有效,所以它可能更多地取决于你打算用它做什么。
答案4
简短的代码如下pstricks
:
\documentclass[12pt, border=3pt]{standalone}
\usepackage{pstricks}
\usepackage{pst-plot, auto-pst-pdf}
\begin{document}
\begin{pspicture}(-5,-5)(5,6)
\bfseries\slshape
\pscircle[linewidth=3pt]{4.5}%
\multido{\i=0+60}{6}{\psline[linewidth=1.5pt](1.5; \i)(4.5; \i)}
\pscircle[linewidth=2.4pt]{1.5}%
\uput{1em}[r](4.5;60){ Div\textsuperscript{0}(C)}
\rput(0,0.5){Princ(C)}
\end{pspicture}
\end{document}