我正在用 LaTeX 编写一个包含方程式的大型文档。我突然注意到出现了一个小问题。我正在编写如下方程式:
\begin{equation}
f_{c}(t) = 1.0 + 0.024 C(t) - 3.5\cdot10^{-3} C(t)^{2} + 2.8\cdot10^{-4} C(t)^{3}
\end{equation}
但在我的最终 pdf 中结果如下
f_{c}(t) = 1 0 + 0 024 C(t) - 3 5\cdot10^{-3} C(t)^{2} + 2 8\cdot10^{-4} C(t)^{3}
也就是说,所有小数点都消失了,并像空格一样生成。我找不到发生这种情况的任何原因。我该如何解决这个问题?
@Herbert 关于字体,我现在正在加载这个:
\usepackage{xunicode}
\usepackage{xltxtra}
\defaultfontfeatures{Mapping=tex-text} % converts LaTeX specials (``quotes'' --- dashes etc.) to unicode
\setromanfont [Ligatures={Common}, BoldFont={Times New Roman}, ItalicFont={Times New Roman}]{Times New Roman}
\setsansfont [Ligatures={Common}, BoldFont={Calibri}, ItalicFont={Calibri}]{Calibri}
\setmonofont[Scale=0.8]{Monaco}
@Seamus 我的工作文件看起来像这样,作为方程式的示例
\input preamble
\begin{document}
\selectlanguage{english}
\begin{equation}
\epsilon_{clear}(t) = 0.711 + 5.6\cdot10^{-3}\ \vartheta_{dew}(t)
\end{equation}
\end{document}
我的序言是以下布局文件:
\usepackage[squaren]{SIunits}
\usepackage{cite,xunicode,xltxtra}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont [Ligatures={Common}, BoldFont={Times New Roman}, ItalicFont={Times New Roman}]{Times New Roman}
\setsansfont [Ligatures={Common}, BoldFont={Calibri}, ItalicFont={Calibri}]{Calibri}
\setmonofont[Scale=0.8]{Monaco}
% HEADINGS
\usepackage{sectsty}
\usepackage[normalem]{ulem}
\chapterfont{\sffamily\bfseries\upshape\Huge}
\sectionfont{\sffamily\bfseries\upshape\Large}
\subsectionfont{\sffamily\bfseries\upshape\large}
\subsubsectionfont{\sffamily\bfseries\upshape\normalsize}
\RequirePackage[times]{quotchap}
\renewcommand{\sectfont}{\sffamily\bfseries\upshape\Huge}
\makeatletter
\newcommand\citaat{\if@openright\cleardoublepage\else\clearpage\fi\thispagestyle{plain}}
% chapters that do not start at new page...
\newcommand\chapterNoPageBreak{\thispagestyle{plain}\global\@topnum\z@\@afterindentfalse\secdef\@chapter\@schapter}
\makeatother
\usepackage[dutch,english]{babel}
\usepackage{fancyhdr,graphicx,listings}
\renewcommand\lstlistlistingname{List of Listings} % default is Listings
\lstset{language=JAVA}
\usepackage{fancyhdr}
\pagestyle{fancyplain}
\usepackage{moreverb}
\addtolength{\headheight}{3pt} % allow 1 lines in 12pt
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0pt}
\renewcommand{\plainheadrulewidth}{0pt}
\renewcommand{\plainfootrulewidth}{0pt}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\lhead[\fancyplain{}{\rm\thepage}]{\fancyplain{}{\rightmark}}
\chead[]{}
\rhead[\fancyplain{}{\leftmark}]{\fancyplain{}{\rm\thepage}}
\lfoot[]{}
\cfoot[]{\fancyplain{\rm\thepage}{}}
\rfoot[]{}
\input{macros.def}
...