|
beamerでtikzcdが使えないです
Beamer Tikz-cd Problem
在使用 LaTeX 的 beamer 类时,若在幻灯片中插入 tikz-cd 绘制的交换图,通常需要为对应的 frame 添加 fragile 选项,即使用如下结构:
- \begin{frame}[fragile]
- \frametitle{交换图示例}
- \[
- \begin{tikzcd}
- A \arrow[r] \arrow[d] & B \arrow[d] \\
- C \arrow[r] & D
- \end{tikzcd}
- \]
- \end{frame}
Copy the Code
因为 tikz-cd 中的命令涉及 &  |
|