Paragraphs in tables

TUGboat, Volume 3, No. 2
EangiDg pmefuati011
Problem #2: The term "hanging punctuation"
describes punctuation gymbola that extend into the
margin eo that lineinitial and line-final letters will
be aJigned even when followed by punctuation. The
following paragraph illustrates the technique:
Problems
Send Submiwions to:
Lynne A. Priee
TUG Macro Coo~dirrator
Calm RtYD
587 Lakeside Drive
'Now ia the time for all good men to come
Sunnyuaie, CA 94086
Paragraph in table8
Problem #I: It is occaeiody us&l to produce
tables in which the contents of eome hlds wnsist of
entire paragraph8. At the hut TUG meeting, Mark
B h f o r d suggested the fofluwing technique
\input basic
\hiin.PantCcmri8H\bigfont>
blign€#\hf I1
&\quad 8Wil
&\saveO\hbox p u 1 . 5 b
€#H\vtopC\unboto3$
\cr
thie is a t e a t
&of vtop
$ \ h t M-\lnftf)t€+\inity>8
lPkr is a e tlm for
a l 1 g o o d m e n t o c o ~ w t o t h . a l d o ft h e i r
party. The qulck brom
far 1-6
over thr lazy dog. H. ha ha.
\a
A rrecond
4-W.ph
&me. €\bigfont a larger) font in order to t e s t
what is really going on and daes thla work? '
\cr
>
\vfill\e j e c t \ d
which can be used to produce the following:
tbia is a test
of vbp
It,"NOW ia the time for all
good men to wme to the
aid of their party. The
quick brown fax jumps
wem the lamy dog. Ha ha
ha.
A second
parsgraph
a larger
to the aid of their party.' 'I hope this
works.' "Do you also?'" "Hope it works,
I mean." 'In quotes.' 'In single quotee.'
"In double quotes." How now brown cow?
"The rain in spain stays mainly on the
plain." This is a sentence. I should take
the time to look for a nicely typeaet book
that haa paragrapha, paragraphs, and
paragrapha with hanging punctuation, so
that I will have esamples of characters,
such as periods, commae, and quotation
marks, that Uprotrude"into the margin.
If I am lucky, this rather short, and very
disjointed, paragraph will illustrate what
I need to use to debug these macros.
The problem for this column ia to prepme a 6le
PUIUCTUATION. TEX, so that the input shown belaw
will produce the above paragraph. A eolution will
be given in the next h e .
\input punctuation
'Nan is the time for a l l good men
to c m to the aid of their party.
'I hope this works.' "Do you also?"
"Hope it works, I mean."
-
'In quotes.' 'In single quotes.'
"In double quotes."
How POI h r m can? "The rain i n Bpaio
stays mainly on the plaln. ''
This i s a sentence.
I should take the tiae to look for a
nicely typeset book that ha8 paragrapha.
paragraphs, and paragraphs with
hanging punctuation, so that I rill
have exsmples of characters,
such as periods, c m a , and quotation
narks, that "protrude"
Into
the margin. If I aD lucky, this
rather short. and very dlsjolnted,
paragraph w i l l i l l u s t r a t e what I need
to w e to debug these macros.
\par\vfill\e j ect\end
font
Hint for Problem #2: U m of vereiom of
in order to test what is
that
do not provide the \ifx control sequence may
really going on and does
want
to modify the input slightly, by hwdng backtb mrk?
dash characters bdom punctuation eymboh.