系统:win10+TeXLive2024+texstudio/vscode
\documentclass[utf8]{ctexart}
\usepackage{amsmath}
\usepackage{zhlipsum}
\begin{document}
\zhlipsum[2-3]
\[
\sum_{i=1}^{n} a^{\theta n} = \int \mathrm{e}^{5^{x}} \mathrm{d} x
\]
\end{document}