我正在写我的博士论文。当我引用博士论文时,论文的标题会加下划线。当标题太长时,没有分隔符,标题会写出页面边缘。我向你展示了我使用的代码,然后是一个示例。
LaTeX 代码
%!TEX TS-program = latexmk
%!TEX encoding = IsoLatin
\documentclass[PhD,english,francais]{ulthese}
\ifxetex\else \usepackage[latin1]{inputenc}\fi
\usepackage{amsmath}
\usepackage{icomma}
\usepackage{graphicx}
\usepackage{mathptmx}
\usepackage{array,multirow,makecell}
\usepackage{colortbl}
\definecolor{grisfonce}{rgb}{192,192,192}
\definecolor{grisclair}{rgb}{204,204,204}
\usepackage{soul}
\usepackage{media9}
\usepackage{easylist}
\usepackage{ulem}
\usepackage[pdftex]{hyperref}
\hypersetup{%
colorlinks=true,allcolors=ULlinkcolor,citecolor=blue,pdftitle={Mémoire de thèse}, pdfauthor={Sébastien Meghezi}, pdfsubject={Biomécanique et génie tissulaire}, pdfkeywords={mécanique, génie tissulaire, collagène, cellules, agents de réticulation, remodelage} %
}
\newcommand{\hlgrisclair}[1]{\sethlcolor{grisclair}\hl{#1}}
\addto\captionsfrench{\def\tablename{Tableau}}
\usepackage[acronym,section,nonumberlist]{glossaries}
\newglossarystyle{modlong3col}{%
\glossarystyle{long3col}%
\renewcommand{\glsgroupskip}{}
}
\makeglossaries
\frenchbsetup{%
CompactItemize=false,
ThinSpaceInFrenchNumbers=true
}
\bibliographystyle{apalike} % plain, abbrv, apalike, ieeetr
\titre{Title}
\auteur{Author}
\programme{Ph.D.}
\faculteUL{Faculty of Science and Engineering}
\annee{2015}
\settocdepth{subsection}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\usepackage[comma,authoryear]{natbib}
\begin{document}
\frontmatter % pages liminaires
\pagetitre % production de la page titre
\cleardoublepage
\tableofcontents % production de la TdM
\cleardoublepage
\listoftables % production de la liste des tableaux
\cleardoublepage
\listoffigures % production de la liste des figures
\cleardoublepage
\mainmatter
\citep{Zaman2013}
\citep{LHeureux2007}
\bibliography{Bibliotrial} % production de la bibliographie
\end{document}
Bibliotrial.bib 文件
Automatically generated by Mendeley Desktop 1.13.6
Any changes to this file will be lost if it is regenerated by Mendeley.
BibTeX export options can be customized via Preferences -> BibTeX in Mendeley Desktop
@phdthesis{Zaman2013,
author = {Zaman, Nishat},
file = {:Users/Sebastien/Documents/Doctorat/Bibliographie/Articletheque/Zaman - Influence of Loading and Matrix Stiffness on Airway Smooth Muscle Contractile Function and Phenotype within a 3D Microtissue Cul.pdf:pdf},
pages = {132},
school = {Dalhousie University (Halifax), Canada},
title = {{Influence of Loading and Matrix Stiffness on Airway Smooth Muscle Contractile
Function and Phenotype within a 3D Microtissue Culture Model}},
type = {Master of Applied Science},
year = {2013}
}
@article{LHeureux2007,
author = {L'Heureux, Nicolas and McAllister, Todd N and de la Fuente, Luis M},
doi = {10.1056/NEJMc071536},
file = {:Users/Sebastien/Documents/Doctorat/Bibliographie/Articletheque/L'Heureux, McAllister, de la Fuente - Tissue-engineered blood vessel for adult arterial revascularization. - 2007.pdf:pdf},
issn = {1533-4406},
journal = {The New England journal of medicine},
keywords = {80 and over,Adult,Aged,Arteriovenous Shunt,Blood Vessel Prosthesis,Humans,Middle Aged,Prosthesis Design,Renal Dialysis,Surgical,Tissue Engineering,Vascular Surgical Procedures},
month = oct,
number = {14},
pages = {1451--3},
pmid = {17914054},
title = {{Tissue-engineered blood vessel for adult arterial revascularization.}},
url = {http://www.ncbi.nlm.nih.gov/pubmed/17914054},
volume = {357},
year = {2007}
}
结果
感谢您的帮助!
塞巴斯蒂安
答案1
罪魁祸首是\usepackage{ulem}
改变\em
(和\emph
)的意思是强调而不是斜体。
下划线是印刷文本中绝对不应该出现的东西;该包ulem
在这方面非常原始,其下划线功能禁止换行。但是,任何人都不应该将其用于任何目的。
因此,删除,\usepackage{ulem}
或者,如果你的论文中确实需要它的某些功能,请将其加载为
\usepackage[normalem]{ulem}
所以它不会破坏\em
和\emph
。
答案2
您没有包含 Bibliotrial.bib 文件,但我猜您在那里使用了下划线命令。.bib 文件应该只包含参考书目的原始数据;所有样式选择都应使用参考书目样式文件(在本例中为 apalike.bst)进行。因此,您应该选择一种不同的样式来满足您的要求。如果您所在大学的某人已经为您提供了论文模板,他们可能也有一个您可以使用的样式文件。如果您必须遵循您所在领域的期刊的样式,该期刊的网站也可能会在作者/提交说明中提供他们的样式文件。如果您是自己,您可以制作/修改样式文件,以便参考文献完全按照您的喜好显示(请参阅有没有(简单的)方法来创建或个性化.bst 文件?)。
也就是说,如果您只是需要一个快速但丑陋的修复,您可以在 .bib 文件中手动拆分下划线命令:
title={\underline{Influence of Loading and Matrix Stiffness on Airway
Smooth Muscle Contractile} \\ \underline{Function and ...}},