
Citar \cite{paper1,paper2,paper3}
, con el apalike
estilo, algunos artículos de un mismo autor me da algo como
[Apellido, 2001, Apellido, 2002, Apellido, 2003]
Preferiría algo como esto:
[Apellido, 2001, 2002, 2003]
Gracias por cualquier sugerencia.
Respuesta1
El formato de cita que desea ya está definido en apalike
, a menos que haya modificado el estilo. Pruebe lo siguiente y, si no ayuda, tal vez actualice su natbib
paquete.
En mybib.bib
tengo tres entradas de diferentes años, donde las dos primeras tienen los mismos autores y la tercera está modificada:
@article{jd12,
author={Doe, J. and Bar, F. and Smith, J.},
title={Some title 1},
journal={Some journal},
year={2012},
}
@article{jd13,
author={Doe, J. and Bar, F. and Smith, J.},
title={Some title 2},
journal={Some journal},
year={2013},
}
@article{jd14,
author={Doe, J. and Simpson, H. and Bar, F.},
title={Some title 3},
journal={Some journal},
year={2014},
}
Ahora para el documento principal:
\documentclass[12pt]{report}
\usepackage{natbib}
\begin{document}
Cite the first pair normally \cite{jd12,jd13}, then the second pair in text \citet{jd13,jd14} and now the first and the third in brackets \citep{jd12,jd14}.
We can also cite them all at once, e.~g. in brackets \citep{jd12,jd13,jd14}, or switch them \citet{jd14,jd12,jd13}.
\bibliographystyle{apalike}
\bibliography{mybib}{}
\end{document}
Lo que dará esto como resultado:
EDITAR de Ansa211:
Incluso puede definir comandos personalizados que utilicen la lista combinada de autores; por ejemplo, si escribe con frecuencia \citeauthor{X}'s \citeyearpar{X}
, puede agregar esto a su preámbulo: