\documentclass{amsart}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{tikz-cd}
\usepackage{mathtools,amscd}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{babel}
\usepackage{dynkin-diagrams}
\usetikzlibrary{backgrounds}
\begin{document}
\begin{enumerate}
\item[]$\widehat{L_2}$
\item[]$\begin{tikzcd}[column sep=small,row sep=small]
\widehat{K_3} & \bullet \arrow[rr, no head, bend left] \arrow[rr, no head, bend right] \arrow[rr, no head] & & \bullet
\end{tikzcd}$
\item[]$\begin{tikzcd}[column sep=small,row sep=small]
& \bullet \arrow[rrrrdd, no head] & & \bullet \arrow[rrdd, no head] & & \bullet \arrow[dd, no head] & & \bullet \arrow[lldd, no head] & & \bullet \arrow[lllldd, no head] \\
\widehat{S_5} & & & & & & & & & \\
& & & & & \bullet & & & &
\end{tikzcd}$
\item[]$\begin{tikzcd}
\widehat{A_0} & \bullet \arrow[out=150,in=210,loop,no head]
\arrow[r, no head]&\bullet
\end{tikzcd}$
\item[]$\begin{tikzcd}[column sep=small,row sep=small]
\widehat{A_1} & \bullet \arrow[rr, no head, bend left] \arrow[rr, no head, bend right] & & \bullet \arrow[rr, no head] & & \bullet
\end{tikzcd}$
\item []$\begin{tikzcd}[column sep=small,row sep=small]
& \bullet \arrow[dd, no head] \arrow[rrd, no head] & & & & \\
\widehat{A_2} & & & \bullet \arrow[rr, no head] & & \bullet \\
& \bullet \arrow[rru, no head] & & & &
\end{tikzcd}$
\item []$\begin{tikzcd}[column sep=small,row sep=small]
& & \bullet \arrow[rd, no head] & & & \\
\widehat{A_3} & \bullet \arrow[ru, no head] \arrow[rd, no head] & & \bullet \arrow[rr, no head] & & \bullet \\
& & \bullet \arrow[ru, no head] & & &
\end{tikzcd}$
\item []$\begin{tikzcd}[column sep=small,row sep=small]
& \bullet \arrow[rr, no head] \arrow[dd, no head] & & \bullet \arrow[rrd, no head] & & & & \\
\widehat{A_4} & & & & & \bullet \arrow[rr, no head] & & \bullet \\
& \bullet \arrow[rr, no head] & & \bullet \arrow[rru, no head] & & & &
\end{tikzcd}$
\item[]$\begin{tikzcd}[column sep=small,row sep=small]
& & \bullet \arrow[rr, no head] & & \bullet \arrow[rd, no head] & & & \\
\widehat{A_5} & \bullet \arrow[ru, no head] \arrow[rd, no head] & & & & \bullet \arrow[rr, no head] & & \bullet \\
& & \bullet \arrow[rr, no head] & & \bullet \arrow[ru, no head] & & &
\end{tikzcd}$
\item[]$\begin{tikzcd}[column sep=small,row sep=small]
& \bullet \arrow[rr, no head] \arrow[dd, no head] & & \bullet \arrow[rr, no head] & & \bullet \arrow[rrd, no head] & & & & \\
\widehat{A_6} & & & & & & & \bullet \arrow[rr, no head] & & \bullet \\
& \bullet \arrow[rr, no head] & & \bullet \arrow[rr, no head] & & \bullet \arrow[rru, no head] & & & &
\end{tikzcd}$
\item[]$\begin{tikzcd}[column sep=small,row sep=small]
& \bullet \arrow[rd, no head] & & \bullet \arrow[rr, no head] & & \bullet \\
\widehat{D_4} & & \bullet \arrow[rd, no head] \arrow[ru, no head] & & & \\
& \bullet \arrow[ru, no head] & & \bullet & &
\end{tikzcd}$
\item[]$\begin{tikzcd}[column sep=small,row sep=small]
& \bullet \arrow[rrd, no head] & & & & & & \bullet \arrow[rr, no head] & & \bullet \\
\widehat{D_5} & & & \bullet \arrow[rr, no head] & & \bullet \arrow[rru, no head] \arrow[rrd, no head] & & & & \\
& \bullet \arrow[rru, no head] & & & & & & \bullet & &
\end{tikzcd}$
\item[]$\begin{tikzcd}[column sep=small,row sep=small]
& \bullet \arrow[rrd, no head] & & & & & & & & \bullet \arrow[rr, no head] & & \bullet \\
\widehat{D_6} & & & \bullet \arrow[rr, no head] & & \bullet \arrow[rr, no head] & & \bullet \arrow[rru, no head] \arrow[rrd, no head] & & & & \\
& \bullet \arrow[rru, no head] & & & & & & & & \bullet & &
\end{tikzcd}$
\item[]$\begin{tikzcd}[column sep=small,row sep=small]
& \bullet \arrow[rrd, no head] & & & & & & & & & & \bullet \arrow[rr, no head] & & \bullet \\
\widehat{D_7} & & & \bullet \arrow[rr, no head] & & \bullet \arrow[rr, no head] & & \bullet \arrow[rr, no head] & & \bullet \arrow[rru, no head] \arrow[rrd, no head] & & & & \\
& \bullet \arrow[rru, no head] & & & & & & & & & & \bullet & &
\end{tikzcd}$
\item[]$\begin{tikzcd}[column sep=small,row sep=small]
& \bullet \arrow[rrd, no head] & & & & & & & & & & & & \bullet \arrow[rr, no head] & & \bullet \\
\widehat{D_8} & & & \bullet \arrow[rr, no head] & & \bullet \arrow[rr, no head] & & \bullet \arrow[rr, no head] & & \bullet \arrow[rr, no head] & & \bullet \arrow[rru, no head] \arrow[rrd, no head] & & & & \\
& \bullet \arrow[rru, no head] & & & & & & & & & & & & \bullet & &
\end{tikzcd}$
\item[]$\begin{tikzcd}
& & & \bullet \arrow[d, no head] & & & \\
& & & \bullet \arrow[d, no head] & & & \\
\widehat{E_6} & \bullet \arrow[r, no head] & \bullet \arrow[r, no head] & \bullet \arrow[r, no head] & \bullet \arrow[r, no head] & \bullet \arrow[r, no head] & \circ
\end{tikzcd}$
\item[]$\begin{tikzcd}
& & & & \bullet \arrow[d, no head] & & & & \\
\widehat{E_7} & \bullet \arrow[r, no head] & \bullet \arrow[r, no head] & \bullet \arrow[r, no head] & \bullet \arrow[r, no head] & \bullet \arrow[r, no head] & \bullet \arrow[r, no head] & \bullet \arrow[r, no head] & \circ
\end{tikzcd}$
\item[]$\begin{tikzcd}
& & & \bullet \arrow[d, no head] & & & & & & \\
\widehat{E_8} & \bullet \arrow[r, no head] & \bullet \arrow[r, no head] & \bullet \arrow[r, no head] & \bullet \arrow[r, no head] & \bullet \arrow[r, no head] & \bullet \arrow[r, no head] & \bullet \arrow[r, no head] & \bullet \arrow[r, no head] & \circ
\end{tikzcd}$
\end{enumerate}
\end{document}
我绘制了以下图表,但您能帮我用 ? 在最右边的项目符号周围写出空心圆圈吗tikz-cd
?我可以L_2
使用 ? 制作循环图吗tikz-cd
?
答案1
一种方法是添加
\tikzset{
OpenCirc/.style={
label={[inner sep=0,minimum size=10mm, circle, draw, densely dotted]center:{}}
}
}
到序言部分,并添加|[OpenCirc]|
到要圈出项目符号的单元格的开头。例如
... & |[OpenCirc]| \bullet \arrow[llldd, no head]
顺便说一句,如果你想让线条到达子弹,那么你可以定义
Bullet/.style={
circle, fill, draw, inner sep=0, minimum size=4pt
}
并在单元格中使用|[Bullet]|
代替\bullet
。若要使用带圆圈的项目符号,请使用|[Bullet, OpenCirc]|
。
关于你的另一个问题,你可以这样做
\begin{tikzpicture}
\node [Bullet] (a) {};
\draw (a)
arc[start angle=0,end angle=360,radius=5mm]
arc[start angle=0,end angle=360,radius=8mm];
\end{tikzpicture}
采用Bullet
上面定义的样式。
这是一个完整的例子:
\documentclass{amsart}
\usepackage{tikz-cd}
\tikzset{
OpenCirc/.style={
label={[inner sep=0,minimum size=10mm, circle, draw, densely dotted]center:{}}
},
Bullet/.style={
circle, fill, draw, inner sep=0, minimum size=4pt
}
}
\begin{document}
$\begin{tikzcd}[column sep=small,row sep=small]
& |[Bullet]| \arrow[rrrrdd, no head] & & |[Bullet]| \arrow[rrdd, no head] & & |[Bullet]| \arrow[dd, no head] & & |[Bullet]| \arrow[lldd, no head] & & |[OpenCirc, Bullet]| \arrow[lllldd, no head] \\
\widehat{S_5} & & & & & & & & & \\
& & & & & |[Bullet]| & & & &
\end{tikzcd}$
\begin{tikzpicture}
\node [Bullet] (a) {};
\draw (a)
arc[start angle=0,end angle=360,radius=5mm]
arc[start angle=0,end angle=360,radius=8mm];
\end{tikzpicture}
\end{document}