Article View: comp.text.tex
Article #342Re: \indent fails to work in article style
From: hank
Date: Thu, 23 Jul 1992 00:50
Date: Thu, 23 Jul 1992 00:50
25 lines
1783 bytes
1783 bytes
In article <1992Jul22.173833.1@tesla.njit.edu>, erh0362@tesla.njit.edu (Elliotte Rusty Harold) writes:
> A journal I'm preparing an article for requires all
> paragraphs to be indented. Apparently the article style in LaTeX does not
> indent the first paragraph of a new section. As per page 155 of Lamport I've
> tried to use \indent to force indentation but without success. The following
Here's an easy way to indent after sections. There may be an update--look
for posts from George Greenwade for info on the mail server fileserv@shsu.edu.
--darrel hankerson hank@ducvax.auburn.edu
% Document style option indsec. From TeXhax v88, n75.
% Usage: \documentstyle[...,indsec,...]{anystyle}
% last update: 6 April 1988 - GDG
% This style option produces an indented paragraph following section heads.
% Redefine @startsection to always get indentation after section headings.
% NOTE: Use \noindent to over-ride automatic indentation, if desired.
\def\@startsection#1#2#3#4#5#6{\if@noskipsec \leavevmode \fi
\par \@tempskipa #4\relax
\@afterindenttrue
\ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \relax\fi
\if@nobreak \everypar{}\else
\addpenalty{\@secpenalty}\addvspace{\@tempskipa}\fi \@ifstar
{\@ssect{#3}{#4}{#5}{#6}}{\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
Technical Details
Message-ID:
<1992Jul22.195002.1@ducvax.auburn.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!news.duc.auburn.edu!ducvax.auburn.edu!hankReferences:
<1992Jul22.173833.1@tesla.njit.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!news.duc.auburn.edu!ducvax.auburn.edu!hank From: hank@ducvax.auburn.edu Newsgroups: comp.text.tex Subject: Re: \indent fails to work in article style Message-ID: <1992Jul22.195002.1@ducvax.auburn.edu> Date: 23 Jul 92 00:50:02 GMT References: <1992Jul22.173833.1@tesla.njit.edu> Sender: usenet@news.duc.auburn.edu (News Account) Organization: Auburn University, AL Lines: 25 Nntp-Posting-Host: ducvax