rpgtex/DND-5e-LaTeX-Template

Numberless chapters

notsag opened this issue · 2 comments

I'd like to be able to Have a numberless chapter for introduction, but I am unable to do so.
I managed to do it by using the following syntax : \chapter*{Introduction}, but then it doesn't show in the ToC. Is there any better way?

You can try playing with secnumdepth.

You can find more info about setting it secnumdepth and other parts of document structure, including frontmatter and mainmatter, here.
https://en.wikibooks.org/wiki/LaTeX/Document_Structure

Thanks, I manged to do what I wanted by doing the following :

\chapter*{Introduction}
\addcontentsline{toc}{chapter}{Introduction}