Alignment of Integrals

Compare the baseline alignment of integrals.

aka. What's up must come down.

typst

Download: ( source | pdf )

Input document

#show math.equation: set text(font: "Libertinus Math",fallback: false)

$ sum_(k=0)^oo integral_0^oo e^(-k x^2) dif x $

Render command

typst compile integral-alignment-typst.typ integral-alignment-typst.pdf

sile

Download: ( source | pdf )

Input document

\begin{document}
\use[module=packages.math]
\set[parameter=math.font.family,value=Libertinus Math]

\begin[mode=display]{math}
  \sum_{k=0}^\infty \int_{0}^\infty e^{-kx^2}\,\mo{d}x
\end{math}

\end{document}

Render command

sile -o integral-alignment-sile.pdf integral-alignment-sile.sil

xelatex

Download: ( source | pdf )

Input document

\documentclass{article}
\usepackage{unicode-math}
\setmathfont{Libertinus Math}

\begin{document}
    \[
        \sum_{k=0}^\infty \int_0^\infty e^{-kx^2}\,\symup{d}x
    \]
\end{document}

Render command

xelatex -interaction=batchmode -halt-on-error -jobname data/integral-alignment-xelatex integral-alignment-xelatex.tex