This is what I want :
I'm really being crazy with latex.
this is my code for toc :
\renewcommand\tableofcontents{%
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse
\fi
\chapter*{\contentsname
\@mkboth{%
\MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
{\raggedleft\normalfont Hal \par}%
\@starttoc{toc}%
\linespread{1}
\if@restonecol\twocolumn\fi
}
Hal is page number.
could anyone help me please ?
Many thanks in advance
Best Answer
Here's a solution using the
tocloft
package: