I'm new here. I'm typing my Thesis and I'm using two languages (Spanish, English). This is my code:
\documentclass[hidelinks,letterpaper,titlepage,12pt,oneside,spanish,final]{report_eie}
\usepackage[english,spanish]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amssymb}
.
.
\usepackage{indentfirst} %(Because I have declared a new language, english)
\usepackage[apaciteclassic]{apacite}
\usepackage[round,authoryear]{natbib}
.
.
\begin{document}
\selectlanguage{spanish}
.
.
.
\bibliographystyle{apacite}
\renewcommand{\bibname}{REFERENCIAS}
\let\oldbibsection\bibsection
\bibliography{biblioteca}
.
.
.
\end{document}
All works but the bibliography is showed in English (for example, the ordinal numbers are showed "Nth", instead of Nª, "and" instead of "y", etc). If I type \usepackage[spanish]{babel}
and delete \selectlanguage{spanish}
the bibliography is showed in Spanish. What I can do? I need to use both languages.
\documentclass[spanish]{..}
with\usepackage[english,spanish]{babel}
doesn't make Spanish the main language (the secondspanish
is just ignored). If you want to setspanish
as the main language, you must upgrade to babel 3.9 and use\usepackage[english,main=spanish]{babel}
or removespanish
from the global options.spanish
from the line\documentclass[hidelinks,letterpaper,titlepage,12pt,oneside,spanish,final]{report_eie}
and everything seems to work fine.\selectlanguage{spanish}
. Without it, the language isenglish
. On the other hand,spanish
makes some additional changes when it's the main language.