! 无法加载 12.0pt 处的字体 \csname\endcsname=rsfs10:未找到公制 (TFM) 文件

! 无法加载 12.0pt 处的字体 \csname\endcsname=rsfs10:未找到公制 (TFM) 文件

我是 Latex 初学者,正在使用 Latex 做一个项目。在出现这个问题之前一切都很好。我不知道如何解决这个问题。我目前正在我的 Macbook 上使用 texmaker 编辑我的 Latex 文件。以下是我对文件的原始设置:

\documentclass[12pt, a4paper]{article}
\usepackage{mathptmx}
\usepackage[utf8]{inputenc}
\usepackage{graphicx} 
\usepackage{float} 



\usepackage{longtable}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}


\usepackage{xcolor}
\usepackage{enumerate}

% Times new roman font
%\usepackage{mathptmx}
% Preserve mathcal
%\DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n}

\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{claim}[theorem]{Claim}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}

\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{conjecture}[theorem]{Conjecture}
\newtheorem*{observation}{Observation}
\newtheorem{example}[theorem]{Example}
\newtheorem{question}[theorem]{Question}
\newtheorem{problem}[theorem]{Problem}

\theoremstyle{remark}
\newtheorem*{remark}{Remark}
\newtheorem*{solution}{Solution}
\newtheorem*{comments}{Note}
\newtheorem*{notation}{Notation}

\usepackage{graphicx}
\usepackage[left=2.54cm,right=2.54cm,top=2.54cm,bottom=2.54cm]{geometry}

\let\oldproof\proof
\renewcommand{\proof}{\color{black}\oldproof}
\let\oldsol\solution
\renewcommand{\solution}{\color{blue}\oldsol}
\date{}

当我输入以下代码时出现问题,这看起来很正常:

$\frac{dS}{dt} = -rSI - \lambda $

我不知道发生了什么

相关内容