Text FormattingSimple question about TOC pts

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
jgaspard
Posts: 20
Joined: Tue Aug 19, 2008 4:16 pm

Simple question about TOC pts

Post by jgaspard »

Hi all!

Hope you can resolve this little thing.

I'd like the "Résumé" and "Introduction" words to be 10pt instead of 12pt.

How could I do that?

Best.

Here is my file.tex:

Code: Select all

\documentclass[10pt,a4paper]{report}
\usepackage[francais]{babel}
\usepackage[applemac]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{cite}
\usepackage{graphicx}
\usepackage{lscape}
\usepackage{fullpage}
\pagestyle{empty}
\usepackage{geometry}
\usepackage{fancyhdr}
\usepackage{url}
\geometry{hmargin=2.5cm, vmargin=2.5cm}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{4} 
\renewcommand{\baselinestretch}{1.1}
\makeatletter 
\renewcommand\@biblabel[1]{#1.}
\makeatother 

\begin{document}

\newpage

\pagestyle{plain}

\tableofcontents

\chapter*{Résumé}
\addcontentsline{toc}{part}{Résumé}

\chapter*{Introduction}
\addcontentsline{toc}{part}{Introduction}


\chapter{Aperçu théorique}
\end{document}

Recommended reading 2024:

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

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

phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Simple question about TOC pts

Post by phi »

One possibility is to set the size explicitly:

Code: Select all

\chapter*{\normalsize Résumé}
Another one is to use a document class that allows greater flexibility, like one of the KOMA-Script classes:

Code: Select all

\documentclass[fontsize=10pt,paper=a4,version=last,pagesize=auto]{scrreprt}
...
\begingroup
\addtokomafont{chapter}{\normalsize}
\addchap{Résumé}
\addchap{Introduction}
\endgroup
jgaspard
Posts: 20
Joined: Tue Aug 19, 2008 4:16 pm

Re: Simple question about TOC pts

Post by jgaspard »

Ok! It works all fine. Thanks a lot!
Post Reply