[Tex/LaTex] change name of appendices

appendicesnaming

I am trying to change the name of the Appendices. This is what I've done:

\begin{appendices}
\input{muonSF}
\input{Wmass}
\input{BDTCrossCheck}
\end{appendices}

using the package appendices. My problem is that I need to change the name of appendix to Anexo (spanish for appendix), and also I need a page before all appendices with only the word Anexo.

How can I do that?

Best Answer

Use \appendixpage to get a heading in the style of a \part; to change the name appearing in this heading you need to redefine \appendixpagename; to change the name used for the appendices, you need to redefine \appendixname. Here's a little example (I assumed that you are using babel with the spanish option):

\documentclass{book}
\usepackage[spanish]{babel}
\usepackage{appendix}

\addto\captionsspanish{%
  \renewcommand\appendixname{Anexo}
  \renewcommand\appendixpagename{Anexos}
}

\begin{document}

\appendixpage
\begin{appendices}
\chapter{Anexo Uno}
\chapter{Anexo Dos}
\end{appendices}

\end{document}