
¿Es posible obtener el "Apéndice X" y en la misma línea, tal vez con dos puntos después de la letra identificadora del apéndice?
MWE:
\documentclass{report}
\begin{document}
\tableofcontents
\chapter{CHapter one name}
\chapter{Chapter two name two}
\appendix
\chapter{Theory}
\section{Some theory}
\section{Some other theory}
\chapter{Method}
\section{LOLZ}
\section{ROLF}
\end{document}
Como puede ver, el PDF compilado escribe:
Appendix A
Theory
A.1 Some Theory
Quiero que sea algo como esto:
Appendix A: Theory
A.1 Some Theory
Respuesta1
Aquí hay una manera, con titlesec
y apptools
. Los capítulos del apéndice se encuentran en la parte superior de la página, pero los parámetros de espaciado se pueden cambiar a voluntad:
\documentclass{report}
\usepackage{showframe}
\usepackage{titlesec}
\usepackage{apptools}
\AtAppendix{\titleformat{\chapter}[block]{\LARGE\bfseries}{\appendixname~\thechapter:}{0.333em}{}%
\titlespacing*{\chapter}{0pt}{-20pt}{40pt}}
\begin{document}
\tableofcontents
\chapter{Chapter one name}
\chapter{Chapter two name two}
\appendix
\chapter{Theory}
\section{Some theory}
\section{Some other theory}
\chapter{Method}
\section{LOLZ}
\section{ROLF}
\end{document}