![用括号解释等式的一部分](https://linux22.com/image/405575/%E7%94%A8%E6%8B%AC%E5%8F%B7%E8%A7%A3%E9%87%8A%E7%AD%89%E5%BC%8F%E7%9A%84%E4%B8%80%E9%83%A8%E5%88%86.png)
答案1
此解决方案使用 tikz 绘制气泡。气泡包含在对齐中,而不是被覆盖。
如果您打算经常这样做,您可以尝试查找或创建一个 tikz“形状”。
\documentclass{article}
\usepackage{amsmath}
\usepackage{mathstyle}% for \currentmathstyle
\usepackage{tikz}
\makeatletter
\newcommand{\mymathbox}[1]{%
\tikz[baseline=(temp.base)]{%
\node(temp){$\m@th\currentmathstyle#1$};
\draw (temp.south)+(2pt,0pt) -- +(0pt,-1ex) -- +(-2pt,0pt)% all offsets from (temp.south)
[rounded corners] -- (temp.south west) -- (temp.north west) -- (temp.north east) -- (temp.south east)
[sharp corners] -- cycle;
}%
}
\makeatother
\begin{document}
\begin{equation*}
\mymathbox{\frac{d}{dt}I(t)} = \frac{d}{dt}I(t)
\end{equation*}
\end{document}