![我怎样才能画出这样的图?](https://linux22.com/image/465616/%E6%88%91%E6%80%8E%E6%A0%B7%E6%89%8D%E8%83%BD%E7%94%BB%E5%87%BA%E8%BF%99%E6%A0%B7%E7%9A%84%E5%9B%BE%EF%BC%9F.png)
答案1
我完全不确定这是否接近您所追求的,但也许它可以在某种程度上帮助您:
\documentclass{article}
\usepackage{nicematrix, tikz, siunitx}
\usepackage[version=4]{mhchem}
\DeclareSIUnit\M{\textsc{m}}
\begin{document}
\renewcommand{\arraystretch}{1.2}%
\begin{NiceTabular}{cccccl}
%
\ce{CH3COOH_{(aq)}} & \ce{<=>} & \ce{H^+_{(aq)}} & \ce{+} & \ce{CH3COO^-_{(aq)}} & \\
\qty{0.1}{\M} & & 0 & & 0 & \textbf{Text 1} \\
$(0.1-x)$\,\si{\M} & & $x$\,\si{\M} & & $x$\,\si{\M} & \textbf{Text 2} \\
%
\ce{CH3COONa_{(s)}} & \ce{->} & \ce{Na^+_{(aq)}} & \ce{+} & \ce{CH3COO^-_{(aq)}} & \\
\qty{0.1}{\M} & & 0 & & 0 & \textbf{Text 3} \\
0 & & \qty{0.1}{\M} & & \qty{0.1}{\M} & \textbf{Text 4} \\
%
& & & & \textbf{Text 5} & \\
%
\CodeAfter
\tikz \draw[dashed, rounded corners] (1-|5) rectangle (7-|6);
\end{NiceTabular}
\end{document}