Skip to content

公式中的正体加粗和正体,是什么代码啊?

公式中的正体加粗和正体,是什么代码啊?

也就是 LaTeX 中的 \mathbf\mathrm

typst
#let mathrm(x) = math.upright(x)
#let mathbf(x) = math.bold(math.upright(x))

$ y=3+4 mathrm(i) $

$ nabla times mathbf(H) $
Typst compiled image

贡献者

The avatar of contributor named as QuadnucYard QuadnucYard
The avatar of contributor named as flaribbit flaribbit

页面历史

Comments
  • Latest
  • Oldest
  • Hottest

基于 MIT 许可发布