TransWikia.com

How to properly reference a thesis?

TeX - LaTeX Asked by Peclet on February 5, 2021

I am using the following:

bibliographystyle{ieeetr} 

And I have a PhD Thesis in my references directory as show below:

@phdthesis{SomePerson,
author = {Some, Person},
school = {Some University},
title = {{Some very very very very very very very very very loooooooooooooooooooooooooong title}},
year = {2020}
}

This generates an output like this:
It looks like this

I don’t understand where I am making mistake. For other 35 references everything is fine. Thank you for your contribution, in advance.

One Answer

You probably have usepackage{ulem} somewhere in your preamble (i.e., at the start of your document). This redefines the emph command (for emphasis, by default this is printed in italics) to underline. The bibliography uses emphasis, therefore the title becomes underlined. Underlines do not always correctly handle line breaks, in this case the line in the bibliography does not get the intended line break (while in the main document underlines with ulem do get correct line breaks).

As a solution, the ulem package provides the package option normalem (i.e., normal emphasis) that restores emphasis to italics, which solves the problem.

To reproduce the issue:

documentclass{article}
usepackage{ulem}
begin{document}
cite{SomePerson}
bibliographystyle{ieeetr}
bibliography{ieeethesis}
end{document}

enter image description here

Solution:

documentclass{article}
usepackage[normalem]{ulem}
begin{document}
cite{SomePerson}
bibliographystyle{ieeetr}
bibliography{ieeethesis}
end{document}

enter image description here

Answered by Marijn on February 5, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP