3

I've written a latex document with bibliography references in spanish and english. I wanted to know if there is way to cite in both languages. I mean, I wanted cites like:

"Author1 and Author2 (year1)" and

"Author3 y Author4 (year2)"

in the same document.

The code below show what I've done, it just produces references in english.

\usepackage[spanish]{babel}
\usepackage{natbib}
...
\begin{document}
...
...
...

%-----------------------------------
%   BIBLIOGRAPHY
%-----------------------------------

\label{Bibliography}
\lhead{\textsc{Bibliograf\'ia}} % Change the page header to say "Bibliografía"
\bibliographystyle{dcu} % Use the "dcu" BibTeX style for formatting the Bibliography
\nocite*{}
\bibliography{Bibliography.bib} % The references (bibliography) information are stored in the file named "Bibliography.bib"

\end{document}
  • Welcome to TeX.SX! I'm not sure if bibtexwith natbib let you achieve what you request easily, but biblatexcan do it. Since you use babelyou can do it easily: Now, my doubt is if you want to cite the same reference twice: once in Spanish and the other in English or simply cite references in Spanish or English. – Aradnix Sep 30 '14 at 22:03
  • Hi Aradnix, I wanted to cite once per language. Do you have any suggestion? – Uzg Sep 30 '14 at 22:19
  • Well, my suggestion is move to biblatex. You can use aliases for the bibtex and natbib options and use the babel language options for cite correctly in both languages. – Aradnix Sep 30 '14 at 23:18
1

The template is obsolete. An updated version can be found on latextemplates.com. It uses the new features of package biblatex, where it is very easy to do what you want.

uzgBiblatexDifferentLanguages

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[ngerman,spanish,french,english]{babel}
\usepackage[style=authoryear,autocite=inline]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
Wombats are cool \autocite{sigfridsson}

\selectlanguage{french}
Paulo est un canard \autocite{bertram}

\selectlanguage{spanish}
Soy un peng\"uino. \autocite{companion}

\selectlanguage{ngerman}
Ich spreche alle Sprachen \autocite{brandt}
\end{document}
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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