[texhax] plain tex: Center all text in a paragraph?
jwdevel at gmail.com
Mon Feb 23 07:31:19 CET 2009
I jumped the gun - just found it.
\leftskip, \rightskip, and \parfillskip do the job nicely
On Sun, Feb 22, 2009 at 9:44 PM, jw <jwdevel at gmail.com> wrote:
> Feels like a dumb question, but I have searched around, and can't
> figure out how to center an entire paragraph (or ideally several
> paragraphs) of text.
> LaTeX has the \center environment, but I'm restricted to plain TeX.
> \centerline works for a single line, but I want TeX to do
> line-breaking over an entire paragraph, and center the final text.
> It seems like what I really want is to add a \hfil to both ends of
> each line, but I haven't found the right incantation yet...
> Anyone know how to do this?
More information about the texhax