🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #671

Re: LaTeX Section question.

#671
From: Chris Torek
Date: Tue, 29 Aug 1989 23:00
30 lines
1729 bytes
In article <BRISTER.89Aug29102815@aries.td2cad.intel.com>
brister@td2cad.intel.com (James Brister) writes:
>... I'd like sections to be indented relative to their depth.  e.g. 
>
>	1.0 Foo
>	   1.1 Foo subsection
>	      1.1.1 Foo subsubsection
>           1.2 Another Foo subsection
>        2.0 Bar
>           2.1 Bar subsection
>           2.2 Bar subection number 2

I hope that you would like this because a layout designer told you to
do it this way (not that I would necessarily believe the layout
designer: I think this looks horrid, and would look only marginally
less so if the `1.1' were under the `F' in `Foo', etc.).  Note also
that LaTeX normally numbers sections as `1', not `1.0', etc.

>Do I need to explicitly set the \oddsidemargin and \evensidemargin each
>time?

No.  In fact, you must not set these.  The quantity that needs to
be adjusted is called `\leftskip'.  The section depth goes in the
`secnumdepth' counter.  For clues as to how to work with the internals
of the sectioning commands, look in latex.tex for the definition
of `\@startsection' and in the style files that you are now using
for the definitions of \section, \subsection, etc.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris@mimsy.umd.edu	Path:	uunet!mimsy!chris
Technical Details
Message-ID: <19316@mimsy.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!mimsy!chris
References: <BRISTER.89Aug29102815@aries.td2cad.intel.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!mimsy!chris
From: chris@mimsy.UUCP (Chris Torek)
Newsgroups: comp.text
Subject: Re: LaTeX Section question.
Message-ID: <19316@mimsy.UUCP>
Date: 29 Aug 89 23:00:19 GMT
References: <BRISTER.89Aug29102815@aries.td2cad.intel.com>
Distribution: usa
Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742
Lines: 30