[XeTeX] changing \chaptername in polyglossia

Pablo Rodríguez oinos at web.de
Mon May 17 18:44:52 CEST 2010


Hi there,

from section 6 from the polyglossia documentation, I guess that I can 
replace the Spanish chapter name with Tema writing:

     \gappto\spanishcaptions{\renewcommand{\chaptername}{Tema}}

But the following code has the standard name “Capítulo” as chapter name:

     \documentclass[10pt]{book}
     \usepackage{polyglossia}
     \setdefaultlanguage{spanish}
     \gappto\spanishcaptions{\renewcommand{\chaptername}{Tema}}
     \begin{document}
     \chapter{Hola}
     Este es un documento de prueba.
     \end{document}

Could anyone tell me what I am doing wrong here?

Thanks for your help,


Pablo


More information about the XeTeX mailing list