仅将文本字体更改为 Times New Roman,但保留数学符号为默认字体

仅将文本字体更改为 Times New Roman,但保留数学符号为默认字体

在我的文档中,我有数学符号/方程式以及纯文本,文本必须采用 Times New Roman 字体,因此我使用\usepackage{pslatex}。但是,这也会改变数学符号的字体以及 封装的任何内容$$。有没有办法只让我的文本采用 Times New Roman 字体,而数学符号全部采用默认的 LaTeX 字体?例如:

\documentclass[twoside, a4paper, 12pt]{article}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{mathtools}
\usepackage{amsmath, amssymb}
\usepackage{pslatex}
\linespread{1}
\usepackage[top=0.5cm, bottom=0.5cm, left=0.5cm, right=0.5cm, includefoot]{geometry}

\begin{document}

Following \cite{yu}, we employ maximum constant relative risk aversion utility and minimum value at risk for optimisation. The resulting two optimization models are:
\begin{gather*}
\max\left[\left(w_1\exp\left(r\Delta t\right)\right)^{1-\gamma_1}/(1-\gamma_1) + \sum_{i=2}^6 \exp\left(w_i\left(\alpha_i - 0.5 \sigma_i^2 \right)\Delta t \right)^{1-\gamma_i}/(1-\gamma_i) \right] \\
\min\left[\sum_{i=2}^6 w_i \exp\left(\left(\alpha_i - 0.5\sigma_i^2 \right)\Delta t / \sigma_i \sqrt{\Delta t} + \Phi^{-1}\left(\beta_i \right) \right) \right]
\end{gather*}
where $\gamma_i$ is the relative risk aversion coefficient for asset $i$, $w_i$ is the weighting of asset $i$, $\Delta t$ is the length of the investment period, $\beta_i$ is the confidence level of the value at risk of asset $i$, and $\Phi^{-1}$ is the standard normal inverse cumulative distribution function.

\end{document}

产生这个:

在此处输入图片描述

但是,我希望数学方程式/符号以以下字体显示:(注意:此处忽略文本字体) 在此处输入图片描述

这只是我的文档中的一个摘录,我在align、、gather环境中有很多数学符号$$,如何才能将所有数学符号普遍更改为默认的 LaTeX 字体?

答案1

仅代替您的包裹使用\renewcommand\rmdefault{ptm}

您还可以使用字体包,例如 newtxtext(如 Manual 所建议的),或 tgtermes,甚至 times(它也会更改 sans serif 和 tt)。所有这些仅影响文本字体。

相关内容