[texhax] need a section hack

George Georgalis george at galis.org
Wed Nov 29 17:15:18 CET 2006


On Wed, Nov 29, 2006, wrote:
>to get rid off the section-numbers the following should work:
>
>\renewcommand{\thesection}{}
>\renewcommand{\thesubsection}{\arabic{subsection}}

that is the simplest and it almost works, however the section names
are still indented to accommodate spacing for the numbers. :-\

On Wed, Nov 29, 2006 at 10:38:33AM +0100, Luca Turchetti wrote:
>Are you using the Report class?
>Anyway, the simplest way (I can figure out)  to obtain what you want is:
>- use \section* and \subsection*  for the sections and subsections you 
>want unnumbered
>- include in the document preamble the following command:
>     \renewcommand{\thesubsection}{\arabic{subsection}}
>-use \subsection only for the subsections of section 3

Yes, report class and this works perfect. Thanks all for your help.

// George


-- 
George Georgalis, systems architect, administrator <IXOYE><


More information about the texhax mailing list