[Tex/LaTex] How to use the upright integral symbol of Stix Two Math font

fontsstixunicode-math

Is there a way to use the upright integral symbol from the recently released Stix Two Math font? Probably a solution, if there is one, would require the package unicode-math and xelatex or lualatex. That'd be OK.

Best Answer

There's not yet a STIX Two distribution for pdflatex, so you need XeLaTeX and LuaLaTeX with unicode-math.

According to the specs, the upright integrals are obtained via ss08:

\documentclass{article}
\usepackage{unicode-math}

\setmainfont{STIX Two Text}
\setmathfont{STIX Two Math}[StylisticSet=08]

\begin{document}

\[
\int \iint \iiint \oint
\]

\end{document}

enter image description here

Without the option, we get

enter image description here

Related Question