Text Formattingabout index

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
mlle-f
Posts: 2
Joined: Fri May 09, 2014 11:10 pm

about index

Post by mlle-f »

Hi!

I have a problem about my table of contents. I am creating it before acknowledgements. I don't want to give a chapter number to introduction, but I want it to takeplace in table of contents.

\maketitle
\tableofcontents
\acknowledgements
\chapter*{introduction}


moreover, while I am writing introduction, at the top of the page it is written on the line "table of contents" instead of "introduction".


Please help me :( Thank you very much!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

about index

Post by Johannes_B »

To give a precise answer, a minimum working example is needed, since the solution is highly dependent on the documentclass and packages.

Here is an example using KOMA-script.

Code: Select all

\documentclass{scrbook}
\usepackage{blindtext}
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\author{mlle-f}
\title{using KOMA and addchap}
\begin{document}
\maketitle
\tableofcontents
%\acknowledgements
\addchap{Introduction}
\blindtext[7]
\blinddocument
\blinddocument
\blinddocument
\blinddocument
\blinddocument
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
mlle-f
Posts: 2
Joined: Fri May 09, 2014 11:10 pm

about index

Post by mlle-f »

Code: Select all

\documentclass[12pt, french, fancyChapter, fancyPart, squeezeCommittee]{these-LUNAM}
\maketitle
\selectlanguage{english}

\frontmatter
\tableofcontents

\chapter*{Acknowledgements}
.....

\mainmatter
\chapter*{Introduction}
....
Sorry, I am really new in latex. I want table of the contents like in the following:

Introduction............................................. 7
I Résultats algébriques................................. 13
1 Objets de base.........................................15
1.1 Gèbres différentielles graduées . . . . . . . . . . .20
Last edited by Stefan Kottwitz on Sat May 10, 2014 5:22 pm, edited 1 time in total.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: about index

Post by Johannes_B »

Hi, please follow the link i gave above and carefully read how to prepare a minimum working example. The code boxes have a link included called »Open in writelatex«. You can click it and be sure that we all see the same.

You class is a special one, either using a predefined class or beeing completely independant. I can't tell, i don't have it. Maybe the maintainers of the class could be of more help, since they know best.
Usually infos about the maintainer are stored in the file as comments.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply