Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I typed in the preamble

\usepackage[round]{natbib}
\usepackage{cite}
\newcommand{\bibfont}{times}

Then at the end

\bibliography{mybibfile}{}
\bibliographystyle{plainnat}
\nocite{*}

In bib file I wrote e.g.

@article{colizza08,
title = "Epidemic modeling in metapopulation systems with heterogeneous coupling pattern:       Theory and simulations",
journal = "Journal of Theoretical Biology",
volume = "251",
number = "",
pages = "450-467",
year = "2008",
url = "",
author = "Vittoria Colizza and Alessandro Vespignani",
}

In tex file I cite as \citep{colizza08}

I want to appear in paper as:

Colizza, V., Vespignani, A., 2008. Epidemic modeling in metapopulation systems with heterogeneous coupling pattern: theory and simulations. J.Theor.Biol. 251, 450–467.

while I get:

Vittoria Colizza and Alessandro Vespignani. Epidemic modeling in metapopulation systems with heterogeneous coupling pattern: Theory and simulations. Journal of Theoretical Biology, 251:450–467, 2008.

Even if I write author = "Colizza,V. and Vespignani,A.",

I still get:

V. Colizza and A. Vespignani. Epidemic modeling in metapopulation systems

So how do I mak the author name appears in order: surname, first letter of 1st name, with the same output I want?

share|improve this question
    
I recommend to switch to biblatex. –  Marco Daniel May 21 '12 at 16:48
    
@ Marco Daniel thank you. but this sort names alphabetically according to the first name, and not the last name! and consequently cite as (first name et. al. 2008) –  Aya May 21 '12 at 17:45
    
But you can easily change it by DeclareNameFormat –  Marco Daniel May 21 '12 at 17:52
    
I did not know about this, I will try. Thank you very much –  Aya May 21 '12 at 18:15
add comment

1 Answer

up vote 3 down vote accepted

Here's how to achieve the desired author name format using biblatex. (The authoryear-comp style is a rough equivalent of natbib with author-year format plus cite.) For general information about customizing the bibliography format, see Guidelines for customizing biblatex styles.

\documentclass{article}

\usepackage[style=authoryear-comp,firstinits=true]{biblatex}

\DeclareNameAlias{sortname}{last-first}

\renewcommand*{\multinamedelim}{\addcomma\space}
\renewcommand*{\finalnamedelim}{\addcomma\space}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@article{colizza08,
title = "Epidemic modeling in metapopulation systems with heterogeneous coupling pattern:       Theory and simulations",
journal = "Journal of Theoretical Biology",
volume = "251",
number = "",
pages = "450-467",
year = "2008",
url = "",
author = "Vittoria Colizza and Alessandro Vespignani",
}
\end{filecontents}

\addbibresource{\jobname.bib}

\nocite{*}

\begin{document}

\printbibliography

\end{document}

enter image description here

share|improve this answer
    
Thank you very much. excuse me, what if I want volume in bold,and all coauthors written, not just first or two followed by et al. Can I achieve these by adding simple things to this code? –  Aya Jun 16 '12 at 20:34
    
answer here <tex.stackexchange.com/questions/60352/…; –  Aya Jun 19 '12 at 10:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.