TransWikia.com

Remove italics style in bibliography, use only upright font shape

TeX - LaTeX Asked by pengcheng on July 17, 2021

I have a question on the font style of the bibliography.

My references use italics for book titles. Is there any command I can set to make sure all text in the bibliography is in one style only, i.e., the upright style?

2 Answers

What should work for any bibliography style using either em (e.g., plain) or emph (e.g., plainnat) or the more basic itshape is to put the bibliography inside a group and to issue letitshapeupshape at the start of this group.

documentclass{article}

usepackage{filecontents}

begin{filecontents}{jobname.bib}
@book{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
}
end{filecontents}

begin{document}

nocite{*}

begingroup
letitshapeupshape

bibliographystyle{plain}
bibliography{jobname}

endgroup

end{document}

enter image description here

Answered by lockstep on July 17, 2021

Based on the following answer: https://tex.stackexchange.com/a/296150

For biblatex, you can disable all emphasizing (italics) with the following:

makeatletter
renewrobustcmd*{mkbibemph}{}
protectedlongdefblx@imc@mkbibemph#1{#1}
makeatother

Answered by TakingItCasual on July 17, 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