Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我使用以下内容时:
\begin{equation} \overline{d} \overline{q} \end{equation}
上划线未对齐,q 上的线低于 d 上的线。\overrightarrow 也会发生同样的事情。有没有办法解决这个问题?
\vphantom 可以修复它:
\begin{equation} \overline{d} \overline{q\vphantom{d}} \end{equation}
\vphantom 根据其参数的高度插入垂直空间,宽度为零。
你也可以使用
\begin{equation} \overline{\strut d} \overline{q \strut} \end{equation}