答案1
和matrix
\documentclass{article}
\usepackage {amsmath,amssymb}
\begin{document}
\[
0 \leftarrow \Bbbk
\xleftarrow[\partial_0]{%
\begin{bmatrix}
1&1&1&1&1
\end{bmatrix}}%
\Bbbk^5
\xleftarrow[\partial_1]{%
\begin{bmatrix}
-1&-1&0&0&0\\
1&0&-1&-1&0\\
0&1&1&0&-1\\
-0&0&0&1&1\\
0&0&0&0&0
\end{bmatrix}}
\Bbbk^5
\xleftarrow[\partial_2]{%
\begin{bmatrix}
1\\-1\\1\\0\\0
\end{bmatrix}}
\Bbbk
\leftarrow 0
\]
\end{document}
和array
\documentclass{article}
\usepackage {amsmath,amssymb}
\begin{document}
\[
0 \leftarrow \Bbbk
\xleftarrow[\partial_0]{%
\left[\begin{array}{ccccc}
1&1&1&1&1
\end{array}\right]}%
\Bbbk^5
\xleftarrow[\partial_1]{%
\left[\begin{array}{rrrrr}
-1&-1&0&0&0\\
1&0&-1&-1&0\\
0&1&1&0&-1\\
-0&0&0&1&1\\
0&0&0&0&0
\end{array}\right]}
\Bbbk^5
\xleftarrow[\partial_2]{%
\left[\begin{array}{r}
1\\-1\\1\\0\\0
\end{array}\right]}
\Bbbk
\leftarrow 0
\]
\end{document}
来自:bsmallmatrix
mathtools
\documentclass{article}
\usepackage{amsmath,mathtools,amssymb}
\begin{document}
\[
0 \leftarrow \Bbbk
\xleftarrow[\partial_0]{%
\begin{bsmallmatrix}
1&1&1&1&1
\end{bsmallmatrix}}%
\Bbbk^5
\xleftarrow[\partial_1]{%
\begin{bsmallmatrix}
-1&-1&0&0&0\\
1&0&-1&-1&0\\
0&1&1&0&-1\\
-0&0&0&1&1\\
0&0&0&0&0
\end{bsmallmatrix}}
\Bbbk^5
\xleftarrow[\partial_2]{%
\begin{bsmallmatrix}
1\\-1\\1\\0\\0
\end{bsmallmatrix}}
\Bbbk
\leftarrow 0
\]
\end{document}