[Tex/LaTex] How to type out this integral

math-modesymbols

I am fairly new to TeX, and I am currently using TexStudio.

I am wondering how I can exactly replicate the typesetting of the integral below, including the font and the upright integral sign? What packages, what font?
enter image description here

Thank you.

Best Answer

This seems quite similar to newtxmath with the upint option:

\documentclass{article}

\usepackage{newtxtext}
\usepackage[upint]{newtxmath}

\newcommand{\diff}{\mathop{}\!d}

\begin{document}

\[
\int x^n\diff x
\]

\end{document}

enter image description here

Related Question