我必须绘制下图中的图表:
我正在尝试使用此代码,但无法绘制垂直部分。
\begin{tikzcd}
0 \arrow[r]
& L(-D) \arrow[r] \arrow[d]
& L \arrow[r] \arrow[d]
& L/L(-D) \arrow[r] \arrow[d]
& 0 \\
0 \arrow[r]
& L(-D) \arrow[r]
& L(D) \arrow[r]
& L(D)/L(-D) \arrow[r]
& 0 \\
\end{tikzcd}
有任何想法吗?
答案1
% arara: pdflatex
\documentclass{article}
\usepackage{tikz-cd}
\usepackage{amsfonts}
\begin{document}
\begin{tikzcd}
& & 0 \arrow{d} & 0 \arrow{d} & \\
0 \arrow{r} & L(-D) \arrow{r}\arrow[equal]{d} & L \arrow{r}\arrow{d} & L/L(-D) \arrow{r}\arrow{d} & 0 \\
0 \arrow{r} & L(-D) \arrow{r} & L(D) \arrow{r}\arrow{d} & L(D)/L(-D) \arrow{r}\arrow{d} & 0 \\
& & E(\mathfrak{a})/E \arrow[equal]{r}\arrow{d} & E(\mathfrak{a})/E \arrow{d} & \\
& & 0 & 0 &
\end{tikzcd}
\end{document}