Please, can anyone tell me can I draw the following schema in LaTeX?
Mathematic schema
commutative-diagramsmath-mode
Related Solutions
Here are 3 more script fonts for which there exists a LaTeX package (in math mode): Dutchcal
(from the esstix 13 font), Boondox (from the stix fonts) (two variants) and Adobe's Bickham. All exist in regular and boldface. The following code allows to test them, commenting and uncommenting the relevant lines:
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{dutchcal}
%\usepackage{boondox-cal}
%\usepackage{boondox-calo}
%\usepackage{bickham}
\pagestyle{empty}
\begin{document}%
\textbf{Dutchcal: }
%\textbf{boondox-cal}
%\textbf{boondox-calo}
%\textbf{bickham}
$ \begin{array}[t]{c@{\quad}c}
\verb+ \mathcal + & \verb+ \mathbcal + \\[6pt]
\mathcal{E} & \mathbcal{E}
\end{array} $
\end{document}
I recommend tikz-cd
. The syntax is simple and the output high quality.
The only trick here is the '
after the label to place it on the opposite side of the arrow (the default is on the left going from the source to the target).
\documentclass{article}
\usepackage{amsmath}
\usepackage{tikz-cd}
\begin{document}
\[
\begin{tikzcd}
1 \arrow[r] &
H \arrow[r,"\alpha"] \arrow[d,"\mathrm{id}"'] &
G \arrow[r,"\beta"] \arrow[d,"\theta"'] &
K \arrow[r] \arrow[d,"\mathrm{id}"'] &
1
\\
1 \arrow[r] &
H \arrow[r] &
H\times K \arrow[r] &
K \arrow[r] &
1
\end{tikzcd}
\]
\end{document}
The picture was produced with xy
.
\documentclass{article}
\usepackage{amsmath}
\usepackage[all]{xy}
\begin{document}
\[
\xymatrix{
1 \ar[r] &
H \ar[r]^{\alpha} \ar[d]_{\mathrm{id}} &
G \ar[r]^{\beta} \ar[d]_{\theta} &
K \ar[r] \ar[d]_{\mathrm{id}} &
1
\\
1 \ar[r] &
H \ar[r] &
H\times K \ar[r] &
K \ar[r] &
1
}
\]
\end{document}
However, I recommend
\usepackage[all,cmtip]{xy}
which produces much better arrows
Best Answer
The diagram in the picture uses the obsolete
CD
environment ofamsmath
. OK, thirty-five years ago it was better than nothing!We can do much better with more modern tools.
I added also the original for comparison.