Article View: comp.text
Article #3783Doing ".ip" type paragraphs in LaTeX (or plain TeX)
From: salzman
Date: Thu, 04 Jun 1987 05:16
Date: Thu, 04 Jun 1987 05:16
49 lines
2295 bytes
2295 bytes
I'd like to produce something similar to the ".ip" macro of troff -me
macros with TeX or LaTeX. Plain TeX has a macro "\item{xxx}" which
will do this:
ITEM this is the paragraph.
Etc., etc., etc...
ITEM 1 this is the paragraph.
Etc., etc., etc...
In LaTeX you can use "\begin{description} ... \item[xxx]" which will
do this:
ITEM this is the paragraph.
Etc., etc., etc....
ITEM 1 this is the paragra-
ph Etc., etc., etc.
And what I want is this (".ip" does it correctly):
ITEM this is the paragraph.
Etc., etc., etc....
IT this is the paragraph.
Etc., etc., etc....
ITEM 1
this is the paragraph.
Etc., etc., etc....
Get it? Headings are alligned vertically as well as the paragraphs. I'm
not a TeX guru yet, so does someone have a TeX macro that will do the
trick. It's a bit trick since you have to know whether or not the
heading will fit in the paragraph indent.... Any help would be appreciated.
Thanks!
--
* Isaac Salzman - Systems Analyst/Admin. ----
* Research Development Labs (RDL) /o o/ /
* 5721 W. Slauson Ave. | v | |
* Culver City, California, 90230 _| |_/
* AT&T: +1 213 410 1244, x118 / | |
* UUCP: ...!{psivax,csun,sdcrdcf,ttidca}!rdlvax!salzman | | |
* ARPA: salzman@rdlvax.RDL.COM | |
* NOTE: ** Our SMTP connection isn't up yet even though
* we're in the host tables. Please use the UUCP
* path to reply.
Technical Details
Message-ID:
<94@rdlvax.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ames!cit-vax!oberon!sdcrdcf!psivax!rdlvax!salzmanShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ames!cit-vax!oberon!sdcrdcf!psivax!rdlvax!salzman From: salzman@rdlvax.UUCP Newsgroups: comp.text Subject: Doing ".ip" type paragraphs in LaTeX (or plain TeX) Message-ID: <94@rdlvax.UUCP> Date: Thu, 4-Jun-87 01:16:23 EDT Article-I.D.: rdlvax.94 Posted: Thu Jun 4 01:16:23 1987 Date-Received: Sat, 6-Jun-87 06:30:14 EDT Reply-To: salzman@rdlvax.UUCP (Gumby) Distribution: world Organization: Research Development Labs, Culver City, CA. Lines: 37 Keywords: TeX, LaTeX, troff, text processing