.tex
我使用一个文件传递了一个包含大量求和(Σ)的算法amsmath
,一切正常,现在我使用模板将这个文件和适当的转换包含在论文的序言中,classicthesis
所有求和(Σ)的符号都以粗体显示。我真的不知道出了什么问题,也找不到任何可以提供帮助的答案。我希望有人能提出建议,提前谢谢!
以下是一个例子。对于序言:
% book example for classicthesis.sty
\documentclass[
% Replace twoside with oneside if you are printing your thesis on a single side
% of the paper, or for viewing on screen.
%oneside,
oneside,
11pt, a4paper,
footinclude=true,
headinclude=true,
cleardoublepage=empty
]{scrbook}
\setlength{\parindent}{4em}
\usepackage{lipsum}
\usepackage[linedheaders,parts,pdfspacing]{classicthesis}
\usepackage{amsmath}
\usepackage{acronym}
\usepackage{graphicx}
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
\usepackage[margin=0.8in]{geometry}
\usepackage{multirow}
\usepackage{keyval}
\usepackage{colortbl}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{csquotes}
\usepackage{fancybox}
\usepackage{varwidth}
\usepackage{parskip}
\usepackage[titles]{tocloft}
\usepackage{tocloft}
\usepackage{minitoc}
\usepackage{mathptmx}
\usepackage{setspace}
\usepackage{bbding}
\usepackage{pifont}
\usepackage{wasysym}
\usepackage{amssymb}
\renewcommand{\sectionmark}[1]{}
\renewcommand{\contentsname}{TABLE OF CONTENTS}%
\renewcommand{\listfigurename}{LIST OF FIGURES}%
\renewcommand{\cftchapfont}{\normalfont}
\setlength{\cftbeforefigskip}{0.2in}
\renewcommand{\cftchappagefont}{\normalfont}
\renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}}
\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}
\renewcommand{\cftsubsecleader}{\cftdotfill{\cftdotsep}}
\renewcommand{\cftsubsubsecleader}{\cftdotfill{\cftdotsep}}
\renewcommand{\cftfigleader}{\cftdotfill{\cftdotsep}}
\renewcommand{\cfttableader}{\cftdotfill{\cftdotsep}}
\title{A Sample Thesis}
\author{A.N. Other}
\date{July 2013}
\titlehead{A Thesis submitted for the degree of Doctor of Philosophy}
\setlength{\parindent}{4em}
\begin{document}
\maketitle
\frontmatter
\tableofcontents
\listoffigures
\listoftables
\chapter{Acknowledgements}
I would like to thank my supervisor, Professor Someone. This
research was funded by the Imaginary Research Council.
\chapter{Abstract}
A brief summary of the project goes here.
\chapter{Abbreviations}
\mainmatter
\include{tool}
\backmatter
\begin{thebibliography}{100} % 100 is a random guess of the total number of
%references
\end{thebibliography}
\end{document}
对于 tool.tex:
\chapter{Design of Decision Support Models}
\label{ch:problem}
\section {Target of the project}
\section{Description of the Model}
\subsection{VAP basic model}
\begin{align}
\min \quad
& \sum_{t=0}^{T} \sum_{i\in N}\sum_{j\in N,i \neq j} f_{ij}x_{ijt}+p_{ki}y_{ki}
\end{align}
Subject to:
\begin{align}
\sum_{j \in N}(x_{ijt}+y_{ijt})-\sum_{k \in N, k\neq i,t \geq \tau_{ki}} (x_{ki(t-\tau_{ki})}+y_{ki(t-\tau_{ki})})- y{iit-1}-m_{it}+y_{iit} =0&& \forall (i,t)
\end{align}
\begin{center}
\begin{align}
x_{ijt}\geq d_{ijt}&& i \in N, j \in N, t \in {0,...,T}\\
x_{ijt} \geq 0&& i \in N, j \in N, t \in {0,...,T}\\
y_{ijt} \geq 0&& i \in N, j \in N, t \in {0,...,T}
\end{align}
\end{center}
答案1
此示例可简化为以下内容:
\documentclass{scrbook}
\usepackage[linedheaders,parts,pdfspacing]{classicthesis}
\usepackage{mathptmx}
\begin{document}
\[ \sum \]
\end{document}
事实上,它可能还可以进一步减少,但对于这个演示来说,这不值得付出努力。处理的结果如下:
这是该包提供的总和mathptmx
。注释掉该包,您将得到以下结果:
查看日志,我们发现该mathpazo
包是由 加载的classicthesis.sty
,所以这是来自字体的总和mathpazo
。
我们可以将它们与熟悉的现代计算机总和进行比较,方法是使用article.cls
不需要任何附加包的命令:
因此,您看到的“粗体”是符号设计的差异。通常建议坚持使用与主文本字体“兼容”的符号字体。此外,用不同字体替换单个符号很麻烦(尽管可能),所以您最好坚持使用现有的字体,因为这种风格确实比大多数其他选项更兼容,即使您不太喜欢它。