🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #3

(None)

#3
From: REGI's
Date: Thu, 15 Oct 1992 13:21
42 lines
1836 bytes
>X-Envelope-to: info-tex@SHSU.edu
>X-VMS-To: IN::"info-tex@SHSU.edu"

1
15-OCT-1992 05:33:13.38
   1 00:00:00.00
16-OCT-1992 05:33:13.38
ITeX-Mgr@SHSU.edu
alcon@CICA.ES

Received: from Niord.SHSU.edu by ESEVVX.CICA.ES ; 12-OCT-1992 05:33:11.82
Errors-To: ITeX-Mgr@SHSU.edu
X-ListName: TeX-Related Network Discussion List <INFO-TeX@SHSU.edu>
Received: from TRIUMFER (ASND) by SHSU.edu (MX V3.1B) with Jnet; Thu, 01 Oct
          1992 03:36:47 CDT
Date: Thu,  1 Oct 1992 01:31 PDT
From: Donald Arseneau <ASND%TRIUMFER.BITNET@SHSU.edu>
Reply-To: Donald Arseneau <ASND%TRIUMFER.BITNET@SHSU.edu>
Subject: How to center last line of a paragrraph
To: info-tex@SHSU.edu
Original_To:  JNET%"dont@csearn",JNET%"info-tex@shsu"

From: Miroslav Dont <DONT%CSEARN.BITNET@SHSU.edu>:

> How to center the last line of a paragraph?

The most elegant way avoids fiddling with boxes, but is counterintuitive
(elegance = counterintuitiveness very often in TeX!!)

\leftskip=0pt plus1fil \rightskip=-\leftskip % these cancel on most lines
\parfillskip=\leftskip \multiply\parfillskip by 2 % or \parfillskip=0pt plus2fil

I think I first heard this from barbara beeton.

> More concrete - I need this in the LaTeX caption command
> when the caption has more than one line ...

Take the definition of \@makecaption from the appropriate style file,
put \begingroup and the two lines above at the very beginning; put
\endgroup at the end.

Donald
Technical Details
Message-ID: <01GPZBDCIWQO0001ZZ@esevvx.cica.es>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!usc!news.service.uci.edu!unogate!mvb.saic.com!info-tex

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!usc!news.service.uci.edu!unogate!mvb.saic.com!info-tex
From: REGI's <NUNEZ@esevvx.cica.es>
Newsgroups: comp.text.tex
Subject: (None)
Message-ID: <01GPZBDCIWQO0001ZZ@esevvx.cica.es>
Date: Thu, 15 Oct 1992 14:21:00 UTC+0100
Organization: Info-Tex<==>Comp.Text.Tex Gateway
X-Gateway-Source-Info: Mailing List
Lines: 42