[texhax] need a section hack

Luca Turchetti luca.turchetti at uniroma1.it
Wed Nov 29 10:38:33 CET 2006


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

Luca

George Georgalis ha scritto:
> I have a report, where we only need/want section
> numbers for the subsections of section 3.
>
> so rather than
>
> 1 Section
> 2 Section
> 3 Section
> 3.1 SubSection
> 3.2 SubSection
> 3.3 SubSection
> 3.4 SubSection
> 4 Section
> 5 Section
>
> we have
>  
> Section
> Section
> Section
> 1 SubSection
> 2 SubSection
> 3 SubSection
> 4 SubSection
> Section
> Section
>
> The result would be preferred but not required, I
> wouldn't expect this a pretty hack but I don't
> expect it too difficult either. This doc uses
> sectsty and there is no contents generated.
>
> Any takers?
>
> // George
>
>   


More information about the texhax mailing list