1

I'm writing a book using Latex

\documentclass[parskip=full,12pt,a4paper,twoside,frenchb,openany,fleqn]{book}

How can I add my \Chapter* to my TOC, because only \chapter titles appear.

Guen_hamza
  • 201
  • 1
  • 7

1 Answers1

1

You can use

 \addcontentsline{toc}{chapter}{name}

to make an entry in your table of contents.

\documentclass[parskip=full,12pt,a4paper,twoside,frenchb,openany,fleqn]{book}

\begin{document}

\tableofcontents

\chapter{Test}
\section{Test}
\chapter*{Test2}
\addcontentsline{toc}{chapter}{Test2}
\end{document}
SLx64
  • 2,823