[texhax] Numbering subsubsections in Book.cls ...

E. Krishnan ekmath at asianetindia.com
Wed Mar 21 00:17:58 CET 2007


On Mon, 19 Mar 2007, Vince Pileggi wrote:

> 1.       Number the \subsubsections (i.e.,(1.1.1.1)); and

Include the line

      \setcounter{secnumdepth}{3}

in the preamble.


> 2.       Align all header counters in the left margin or left of the page
> (right justified)


Include this piece of code in the premable:

    \makeatletter
      \def\@seccntformat#1{%
        \protect\makebox[0pt][r]{%
          \csname the#1\endcsname\quad}}
    \makeatother



-- 
Krishnan


More information about the texhax mailing list