对于我的论文,我使用了一个结合了多个包的模板。如示例所示,我有两段文本,其中第一段的文本超出了文本边距,而第二段没有问题。我还没有找到解决这个问题的解决方案。
来自我的文本的一个“最小示例”:(我希望我没有包含太多不必要的代码。)
\documentclass[10pt,a4paper,
openright,titlepage,fleqn,
headinclude,parskip,footinclude,
numbers=noenddot,cleardoublepage=empty]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[breaklinks=true]{hyperref}
\usepackage[british]{babel}
\usepackage{scrhack} % ignore warnings about deprecated KOMA-Script
\usepackage[style=apa,backend=biber, natbib]{biblatex}
\DeclareLanguageMapping{british}{british-apa}
\usepackage[floatperchapter,dottedtoc,eulerchapternumbers,pdfspacing,linedheaders]{classicthesis}
\usepackage{arsclassica}
% Custom Layout width of page
% For Final thesis use Classicthesis margins
\usepackage[left=1.5in,right=1in,top=1in,bottom=1in]{geometry}
\usepackage{filecontents}
\begin{filecontents*}{example.bib}
@article{Day2009InformationChains,
title = {{Information Flow Impediments in Disaster Relief Supply Chains}},
year = {2009},
author = {Day, Jamison and Junglas, Iris and Silva, Leiser},
}
@article{Hsu2014Risk-basedOperations,
title = {{Risk-based spatial zone determination problem for stage-based evacuation operations}},
year = {2014},
author = {Hsu, Yu-Ting and Peeta, Srinivas}
}
@article{Yuan2015MultimodalArea,
title = {{Multimodal}},
year = {2015},
author = {Yuan, Fang and Puchalsky, Christopher M.}
}
@article{Karbovskii2018MultimodelDynamics,
title = {{Multimodel agent-based}},
year = {2018},
author = {Karbovskii, Vladislav and Voloshin, Daniil and Karsakov, Andrey and Bezgodov, Alexey and Gershenson, Carlos}
}
\end{filecontents*}
\addbibresource{example.bib}
\begin{document}
\pagestyle{plain}
As mentioned, post-disaster information is dynamic in nature. \citet{Day2009InformationChains}~identify eight theoretical categories of information flow impediments, which could explain this dynamic ....
The focus of recent models for mass evacuation has been on including risk~\citep{Hsu2014Risk-basedOperations} and integrating multimodality in mass evacuation models~\citep{Yuan2015MultimodalArea,Karbovskii2018MultimodelDynamics}. However, mass evacuation literature ....
\printbibliography
\end{document}
该代码生成的结果文本是:
从生成的 PDF 中可以看出,第一段文字超出了边距,而第二段文字没有超出。我的问题是:如何让 Latex 将所有文字放在文本边距内。
这对我不起作用:
我尝试添加以下几行,正如这里建议的那样,但这对我不起作用:
\usepackage[breaklinks=true]{hyperref}
\usepackage{breakcites}
当然,我可以重写那段文字来解决这个问题,但我确信应该有更好的方法来解决这个问题。另外因为我的文本很长,这个问题出现得更频繁。