TransWikia.com

How can I change the order of author, year, title, and publisher on bibliography with natbib?

TeX - LaTeX Asked on September 9, 2020

By default, bibtex would put the year in the end. But how to change the order, so the year placed after the author? Like this:

Author. 2020. This is The Title of The Book. City: Publisher.

This is my MWE:

documentclass{book}
usepackage{blindtext}
usepackage{natbib}
begin{document}
    section*{Whatever}
    blindtext
    bibliographystyle{plainnat}
    bibliography{dafpus}
    nocite{*}
end{document}

bib file:

@book{DK86,
    author = {D.E. Knuth},
year = 1986,
    title = {The {TeX}book,
    publisher = {Addison Wesley},
}

@article{DK89,
    author = "D.E. Knuth",
 year = 1989,
    title = {Typesetting Concrete Mathematics},
    journal = {TUGboat},
    volume = {10},
    number = {1},
    pages = {31--36},
}

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