Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % special thanks to Sálvio Marcelo Soares
- % http://tex.stackexchange.com/a/185033
- \makeatletter
- \renewcommand
- {\appendixtocname}{Ap\^{e}ndices}
- \renewcommand
- {\appendixpagename}{Ap\^{e}ndices}
- \renewcommand
- {\appendixname}{Ap\^{e}ndice} \let\oriAlph\Alph
- \let\orialph\alph
- \renewcommand{\@resets@pp}
- {\par\@ppsavesec
- \stepcounter{@pps}%
- \setcounter{section}{0}%
- \if@chapter@pp
- \setcounter{chapter}{0}%
- \renewcommand\@chapapp{\appendixname}%
- \renewcommand\thechapter{\@Alph\c@chapter}%
- \else
- \setcounter{subsection}{0}%
- \renewcommand\thesection{\@Alph\c@section}%
- \fi
- \if@pphyper
- \if@chapter@pp
- \renewcommand
- {\theHchapter}
- {\theH@pps.\oriAlph{chapter}}%
- \else
- \renewcommand
- {\theHsection}
- {\theH@pps.\oriAlph{section}}%
- \fi
- \def\Hy@chapapp
- {appendix}%
- \fi
- \restoreapp
- }
- \makeatother
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement