Skip to content

如何使用 LaTeX 公式?

如何使用 LaTeX 公式?

使用 mitex 包

typst
#import "@preview/mitex:0.2.5": *

Write inline equations like #mi("x") or #mi[y].

Also block equations (this case is from #link("https://katex.org/")[KaTeX]):

#mitex(`
  \newcommand{\f}[2]{#1f(#2)}
  \f\relax{x} = \int_{-\infty}^\infty
    \f\hat\xi\,e^{2 \pi i \xi x}
    \,d\xi
`)
Typst compiled image
What do you think?
  • 0
  • 0
  • 0
  • 0
  • 0
  • 0
Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v3.5.1

基于 MIT 许可发布