![如何在 latex 中写出行等价矩阵?](https://linux22.com/image/411224/%E5%A6%82%E4%BD%95%E5%9C%A8%20latex%20%E4%B8%AD%E5%86%99%E5%87%BA%E8%A1%8C%E7%AD%89%E4%BB%B7%E7%9F%A9%E9%98%B5%EF%BC%9F.png)
答案1
举个例子,我已经通过编辑创建了图像的最后一个矩阵非常好的用户@egreg:
%% Compile and read me!
\documentclass[a4paper,12pt]{article}
\usepackage{mathtools}
\usepackage{newtxtext,newtxmath}
\begin{document}
\[\mathrel{\underset{\sim}{R}}\begin{bmatrix}
1 & 0 & 0 \\
0 & 1 & 0 \\
0 & 0 & 0
\end{bmatrix}
\begin{matrix}
\\
\,\text{by }\,\mathsf{R}_{1}+\mathsf{R}_{3}\text{ and }\,\mathsf{R}_{2}-\mathsf{2R}_{3}\\
\\
\end{matrix}\]
\end{document}