🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #720

Re: LaTeX Section question.

#720
From: Brian T. Schellenberger
Date: Sun, 03 Sep 1989 12:39
37 lines
2334 bytes
To get the desired indentation, you need to muck about with the style files
(.sty) and create a special version; eg, if you use 11-point article now,
copy article.sty into artindent.sty and art11.sty into arti11.sty.  Then
change the files to accomplish this.  There should be ".doc" version of the
".sty" files available somewhere which have internal documentation to explain
what the .sty files are doing.  However, the LaTeX manual won't help you.
There is no paper documentation for the LaTeX internals used in the style
files, and you *will* need the TeXbook to explain the lower-level commands
used therein.  You may also need to look at latex.tex (which has lots of
interntal documentation) to set the documentation for the LaTeX internal
macros.  All in all, this is a difficult task.

If, however, you need this for a small number of documents, especially if
they are short (and if not, heaven help your poor reader, given the
desired style), then you would probably be better off using list environments
(or simple enumerate) rather than the actual sectioning commands.  These are
easier to set up---look at the documentation for \begiin{list} in the LaTEX
book, and use \renewenvironment to define your own environments.  Then use
them as:

\begin{chapter}{The first chapter}
    \begin{section}{The first section}
	\begin{subsection}{The first subsection}
	    This is in the first subsection.  Isn't it fun?
	\end{subsection}
	\begin{subsection}

. . . you can have your environments do the \item so you needn't type it
in yourself, and you can even define
	\newcommand \newsection {\end{section}\begin{section}}
to save on typing . . .
-- 
-- Brian, the Man from Babble-on.		...!mcnc!rti!sas!bts
--
"Every jumbled pile of person has a thinking part that wonders what the part
that isn't thinking isn't thinking of" -- THEY MIGHT BE GIANTS
Technical Details
Message-ID: <1186@sas.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!mcnc!rti!sas!bts
References: <BRISTER.89Aug29102815@aries.td2cad.intel.com> <19316@mimsy.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!mcnc!rti!sas!bts
From: bts@sas.UUCP (Brian T. Schellenberger)
Newsgroups: comp.text
Subject: Re: LaTeX Section question.
Message-ID: <1186@sas.UUCP>
Date: 3 Sep 89 12:39:48 GMT
References: <BRISTER.89Aug29102815@aries.td2cad.intel.com> <19316@mimsy.UUCP>
Reply-To: bts@sas.UUCP (Brian T. Schellenberger)
Distribution: usa
Organization: SAS Institute Inc, Cary NC
Lines: 37