TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm writing a thesis and I would create an intro that should go into table of contents. Any idea how to put it into table of contents?

this is my code

{\Huge \textbf{Intro}}





This is my table of contents

Table of Contents



Intro <- Here where I want put my intro

1 Chapter 1 1.1 section

share|improve this question
At which level? \addcontentsline{toc}{<level>}{<text>} where <level> is part, chapter, … and <text> could be Intro. (Or just plain \chapter{Intro}?) This could also be something for an abstract environment or macro. – Qrrbrbirlbel Nov 17 '12 at 16:02
I'm not sure if it's what you want, but you can try /frontmatter. – maria Nov 17 '12 at 16:04
after you put \chapter*{Intro} and afetr \addcontentsline{toc}{section}{Intro} – maria Nov 17 '12 at 16:11
yeah now it worked...thanks maria – Mazzy Nov 17 '12 at 16:19
@maria Please, can you provide a minimal, but complete, code as an answer? – egreg Nov 18 '12 at 20:48
up vote 1 down vote accepted

\addcontentsline{toc}{section}{Introduction} % what looks better section or chapter?
\section*{Introduction} % * prevents the numbering. We already added it manually to toc above

Example for Introduction

thanks to the comment I found a better solution in the book 2:

use one of the commands

\addpart[short]{long headline}
\addpart*{long headline}
\addchap[short]{long headline}
\addchap*{long headline}
\addsec[short]{long headline}
\addsec*{long headline}

Working example



\addpart[Day 1]{Day one}
\addpart[Experiments]{Nice experiments}

Koma Script Page 115 in Kohm, Markus und Morawski, Jens-Uwe: KOMA-Script - Die Anleitung; DANTE e.V., Lehmanns Media, 4., erweiterte Aufl. 2012 592 Seiten (ISBN 978-3-86541-459-5;

share|improve this answer
Why not \addsec{Introduction} that avoids the need to use \addcontentsline? – egreg Nov 18 '12 at 23:28

Well, there is the solution with \frontmatter command:

%& --translate-file=utf-8



Some text 


 Some more text



share|improve this answer
In the frontmatter, you may simply use \chapter{Intro} (the non-starred version), as \frontmatter switches off chapter numbering. – lockstep Nov 19 '12 at 15:53
@lockstep when I use non-starred version, there is two "Intro" lines in TOC. – maria Nov 19 '12 at 15:56
Of course, you should remove \addcontentsline{toc}{section}{Intro}. – lockstep Nov 19 '12 at 15:57
@lockstep Of course :) – maria Nov 19 '12 at 16:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.