我喜欢在文档中使用该cochineal
字体,但据我所知,没有与该字体对应的数学字体。因此,我想问是否有人知道任何类似的字体,并且cochineal
还支持数学字体或与字体类似的数学字体cochineal
。
我正在使用该类KOMAscript
来处理文档。
谢谢大家。
答案1
newtxmath
与适当的选项一起使用。
这是对您的一个问题的回答的修改。
请注意,您不应加载amssymb
或amsfonts
。
\documentclass[a4paper, 11pt]{article}
\usepackage[T1]{fontenc}
%\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
% ----------------------------
% STANDARD PACKAGES FOR MATH
% ----------------------------
\usepackage{amsmath} % AMS Math Package
%\usepackage{amssymb}
%\usepackage{amsfonts}
\usepackage{amsthm} % theorem formatting
\usepackage{cochineal}
\usepackage[cochineal]{newtxmath}
\usepackage{bm} % bold math
\theoremstyle{plain} % default
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{corollary}[theorem]{Corollary}
\newcommand{\imag}{\mathtt{i}} % imaginary number
\newcommand{\vb}[1]{\mathbf{#1}}% might also be \bm{#1}
\newcommand{\bC}{\mathbb{C}}
\newcommand{\bE}{\mathbb{E}}
\newcommand{\bQ}{\mathbb{Q}}
\newcommand{\diff}{\mathop{}\!\mathrm{d}}
\begin{document}
T\textit{T}$T$ X\textit{X}$X$ a\textit{a}$a$
\begin{theorem}[Duffy, Pan and Singleton (2000)]
If $\vb{X}(t)$ is in the affine form, the discounted characteristic function defined as
\begin{equation}
\phi(\vb{u},\vb{X}(t),t,T) = \bE^{\bQ}
% \left[
\bigl[
e^{-\int_{t}^{T} r(\vb{X}(s))\diff s + \imag \vb{u}^{T} \vb{X}(T)}
% \;\middle|\;
\bigm|
\mathcal{F}_{t}
% \right]
\bigr]
\quad \forall \, \vb{u} \in \bC^{d},
\end{equation}
with boundary condition
\begin{equation}
\phi(\vb{u},\vb{X}(T),T,T) = e^{\imag \vb{u}^{T} \vb{X}(T)},
\end{equation}
has a solution of the following form
\begin{equation}\label{eq:AD_chf}
\phi(\vb{u},\vb{X}(T),t,T) = e^{A(\vb{u},t,T) + \vb{B}(\vb{u},t,T)^{T} \vb{X}(t)}
\end{equation}
\end{theorem}
\end{document}