[Tex/LaTex] Appendix from letter to roman numeral

appendicesnumberingsectioning

How can I change the standard latex Appendix heading from "Appendix A" to "Appendix I" using roman numerals?

Best Answer

As has been pointed out in the comments, you need to redefine the typeset counter, which is done by \appendix using alphabetical numeration by default. If the class in use does not provide chapters, the sections are the highest level and their typeset counter has to be redefined.

Since roman numerals get out of line pretty quick, i used package tocstyle that takes care of this. You need some compilations to finish the itereation though.

\documentclass{report}
\usepackage[tocgraduated]{tocstyle}
\usetocstyle{standard}
\begin{document}
\tableofcontents
\chapter{duck}
\chapter{goose}
\chapter{hen}
\chapter{hen}
\appendix
\renewcommand{\thechapter}{\Roman{chapter}}
%\renewcommand{\thesection}{\Roman{section}}%If there are no chapters
\chapter{duckling}
\chapter{gosling}
\chapter{chick}
\chapter{poult}
\end{document}
Related Question