1

Here is my code:

\documentclass{book}
\begin{document}
\tableofcontents
\chapter{Hello}
hello
\appendix
bar
\end{document}

When I compile this and create a PDF with command pdflatex foo.tex && pdflatex foo.tex, the output PDF does not contain the Appendix section at all. What is the mistake I am making in this code? The output "bar" is present in PDF but it is present in the same chapter as "Hello".

Lone Learner
  • 3,226
  • 24
  • 44
  • 2
    the appendix only changes the chapter counter, it doesn't do any typesetting. You will have to add a \chapter command yourself. – Ulrike Fischer May 16 '21 at 16:08

0 Answers0