When using \section*{XXXXXX} it won't show in the table of contents. Is there any way to show this section without a number in the toc?
Asked
Active
Viewed 54 times
0
-
This question is also relevant: Making the bibliography appear in the table of contents – barbara beeton May 20 '19 at 14:10
1 Answers
0
Try
\documentclass{article}
\begin{document}
\tableofcontents
\section*{XXXXXX}
\addtocontents{toc}{XXXXXX}
\end{document}
wun
- 302
-
-
Thanks wun, it almost worked --> \addcontentsline{toc}{section}{XXXXX} – Gaetaan A May 20 '19 at 17:47