TransWikia.com

Changing formatting in bibliography (bibLaTeX)

TeX - LaTeX Asked on July 15, 2021

I’m using the authoryear style with biber backend for biblatex.

I need the following formatting for my bibliography:

  • I want @book titles to be in italic.
  • I want @article titles, @thesis titles and @misc titles to be printed in regular font without quotation marks.

Right now, book titles are printed as I want them in italic. However:

  • @misc titles are printed in italic
  • @article and @thesis titles are printed in regular font, but with quotation marks.

How do I remove the quotation marks, and how do I get the @misc titles to be italic?

One Answer

So to rephrase the question you are wondering how to do to change a document like

documentclass{article}

usepackage[style=authoryear]{biblatex}
addbibresource{biblatex-examples.bib}

begin{document}
I refer to a book autocite{nussbaum},
an article autocite{moore},
a thesis autocite{loh},
but no misc.

printbibliography

end{document}

so that it doesn't put quotation marks around the titles of the book and the thesis. (You also explicitly mention miscs, but as far as I understand they are already as you want them to be.)

Answer: Put these two lines in the preamble:

DeclareFieldFormat[article]{title}{#1}
DeclareFieldFormat[thesis]{title}{#1}

Then you get this:

enter image description here

Correct answer by pst on July 15, 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