Text Formattingnatbib | Alter Citation Style

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
hugovdberg
Posts: 133
Joined: Sat Feb 25, 2012 6:12 pm

natbib | Alter Citation Style

Post by hugovdberg »

I have a little problem with the citestyles of natbib. Consider the following MWE:

Code: Select all

\RequirePackage{filecontents}
\begin{filecontents}{test.bib}
@BOOK{Masselink2011,
  author = {Masselink, Gerhard and Hughes, Micheal G. and Knight, Jasper},
  title = {Introduction to Coastal Processes \& Geomorphology},
  year = {2011},
  publisher = {Hodder Education},
}
\end{filecontents}

\documentclass{article}
\usepackage{natbib}
\bibliographystyle{agu}
\citestyle{egu}

\begin{document}
The course is based on the text book by \citet{Masselink2011}.
\bibliography{test}
\end{document}
I really like the agu-bibliographystyle, since it sorts on the first author's last name, and prints the first author's last name first (do you still get it? ;)). However, this bibliographystyle also prints the cited author names in italics, and I want them to be roman. I tried the plainnat bibliography style, but then the references are not listed as lastname, firstname in the bibliography.
Is there any other bibliography style I should consider, or alternatively, a way to change the citations to roman instead of italics?
Attachments
natbib_test.pdf
(38.05 KiB) Downloaded 365 times
Ubuntu 13.10 + Tex Live 2013 + Texmaker / Windows 7 Pro + MikTex 2.9 + TexnicCenter / Android 4.3 + TexPortal + DroidEdit

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

hugovdberg
Posts: 133
Joined: Sat Feb 25, 2012 6:12 pm

natbib | Alter Citation Style

Post by hugovdberg »

I fixed this already by using the apacite package and corresponding apacite bibliography style. I posted the full solution in another topic basically asking the same question, but for completeness, this is the setup I use now:

Code: Select all

\RequirePackage{filecontents}
\begin{filecontents}{test.bib}
@BOOK{Masselink2011,
  author = {Masselink, Gerhard and Hughes, Michael G. and Knight, Jasper},
  title = {Introduction to Coastal Processes \& Geomorphology},
  year = {2011},
  publisher = {Hodder Education},
}
@ARTICLE{Church1972,
  author = {Church, Michael and Ryder, June M.},
  title = {Paraglacial Sedimentation: A Consideration of Fluvial Processes Conditioned by Glaciation},
  journal = {Geological Society of America Bulletin},
  year = {1972},
  volume = {83},
  pages = {3059-3072},
  number = {10},
}
\end{filecontents}

\documentclass{article}
%\usepackage{natbib}
\usepackage[natbibapa]{apacite}
\bibliographystyle{apacite}
\citestyle{egu}

\begin{document}
The course is based on the text book by \citet{Masselink2011} and the article 
by \citet{Church1972}.
\bibliography{test}
\end{document}
Ubuntu 13.10 + Tex Live 2013 + Texmaker / Windows 7 Pro + MikTex 2.9 + TexnicCenter / Android 4.3 + TexPortal + DroidEdit
Post Reply