如何绘制交换图

如何绘制交换图

我想用 TeX 编写下图的代码,请问可以帮我写一下吗:在此处输入图片描述

答案1

使用起来非常简单tikz-cd

在此处输入图片描述

\documentclass{article}

\usepackage{amsmath}
\usepackage{tikz-cd}

\begin{document}

\begin{tikzcd}[column sep=2cm,row sep=2cm]
  \textbf{As}
  \arrow[r,"\bot","\text{Lie}_\text{as}"',yshift=-1ex]
  \arrow[d,"\dashv"',"\subset",xshift=1ex]
  &
  \textbf{Lie}
  \arrow[l,"U"',yshift=1ex]
  \arrow[d,"\vdash","\subset"',xshift=-1ex]
  \\
  \textbf{Dias}
  \arrow[r,"Lb","\top"',yshift=1ex]
  \arrow[u,"As",xshift=-1ex]
  &
  \textbf{Lb}
  \arrow[u,"\text{Lie}_\text{Lb}"',xshift=1ex]
  \arrow[l,"U_d",yshift=-1ex]
\end{tikzcd}

\end{document}

相关内容