Skip to content

长公式换行后,上标的位置不对

长公式换行后,上标的位置不对

可以使用宽度为 0 的 box 来提高上标的位置凑合一下,像下面第 3 个公式一样。

typst
$ [sum a / b + \ c]^2 $

$ [sum a / b + \ c]""^2 $

$ [sum a / b + \ c]#box(height: 1em)^2 $
Typst compiled image

贡献者

The avatar of contributor named as Y.D.X. Y.D.X.
The avatar of contributor named as 梦飞翔 梦飞翔

页面历史

Comments
  • Latest
  • Oldest
  • Hottest

基于 MIT 许可发布