# how to correct commutative diagram

I have a commutative diagram

$\textbf{As} ~\bar{\longrightarrow} \arrow{d} & \textbf{Lie} \arrow{d} \\ \textbf{Dias}~ \bar{\longrightarrow} &\textbf{ Leib} \end{tikzcd}$


be after running, it does not provide a correct diagram. Can you please help me to correct that?

• You missed \begin{tikzcd} – Sigur Mar 12 '18 at 15:11

Do you mean something like this?

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

\begin{document}

$\begin{tikzcd} \mathbf{As} \arrow[r,"-"] \arrow[d] & \mathbf{Lie} \arrow[d] \\ \mathbf{Dias} \arrow[r,"-"] & \mathbf{Leib} \end{tikzcd}$

\end{document}


• Silently changed to math fonts in math mode :-) – John Dorian Mar 12 '18 at 15:31