[XeTeX] changing \chaptername in polyglossia

Ulrike Fischer news3 at nililand.de
Tue May 18 09:39:34 CEST 2010


Am Mon, 17 May 2010 18:44:52 +0200 schrieb Pablo Rodríguez:

> 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}}

I think this is an error in the documentation. It should be
\captionsspanish instead of \spanishcaptions:

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

-- 
Ulrike Fischer 



More information about the XeTeX mailing list