5

I am trying to insert an abstract and acknowledgement page into my report. I want to suppress the (numbers in front of):

  1. Abstract
  2. Acknowledgment

part by using \section*. But by doing so, it is removed from the ToC as well. Is there a way to maintain an entry in the ToC, while at the same time preventing this?

Werner
  • 603,163

2 Answers2

9

Use

\section*{Section heading}
\addcontentsline{toc}{section}{Section heading}

If you're using the report document class, then you should use

\chapter*{Chapter heading}
\addcontentsline{toc}{chapter}{Chapter heading}
Werner
  • 603,163
2

When you are using your own section name it may lose count.

This is one option:

\section*{Your section name}
\addcontentsline{toc}{section}{Your section name}\stepcounter{section}

Just add a counter afterwards.

Leucippus
  • 1,636