[Tugindia] Re: changing section counter display
amitabhtrehan at softhome.net
amitabhtrehan at softhome.net
Thu Jul 10 01:48:10 CEST 2003
Herbert Voss writes:
thanks a lot. this should work though I can't try out for a week since I am
away.
Amitabh
>
> maybe this helps
>
> Herbert
>
> \documentclass{article}
> \def\thechapter{4}
> \renewcommand{\thesection}{\thechapter.\arabic{section}}
> \makeatletter
> % for a better looking TOC
> \renewcommand*\l at section{\@dottedtocline{1}{1.5em}{2.3em}}
> \renewcommand*\l at subsection{\@dottedtocline{2}{3.8em}{3.2em}}
> \makeatother
> \begin{document}
> \tableofcontents
> \section{Introduction}
> blah
> \section{Objectives}
> blah
> \section{Keyboard}
> \subsection{QWERTY}
> blah
> \end{document}
>
> _______________________________________________
> Home: http://www.tug.org.in/
> unsubscribe: http://tug.org/mailman/listinfo/tugindia
More information about the tugindia
mailing list