[Tugindia] numbering

Duvvuri Venu Gopal venugopal_duvvuri at rediffmail.com
Tue Mar 15 05:55:16 CET 2011



On Mon, 14 Mar 2011 09:45:15 , atul srivastava <atulshaswat at gmail.com> wrote
How I divide a chapter in three parts.



Use package titelsec and the following code :

\usepackage{titlesec}

\titleclass{\subchapter}{straight}[\chapter]
\newcounter{subchapter}
\renewcommand{\thesubchapter}{\Alph{subchapter}}
\titleformat{\subchapter}%[block]
{\LARGE
\addvspace{6pt}%
\normalfont\sffamily}
{\thesubchapter.}{1em}{}
\titlespacing{\subchapter}{1pc}{*1}{*1}[1pc]


This is will add a command \subchapter{fjskjfkjsjfkjskjkjkjk }

If you want any other changes you can experiment with above code.

D Venu Gopal


More information about the tugindia mailing list