[texhax] plain tex: Center all text in a paragraph?

Oleg Katsitadze olegkat at gmail.com
Tue Feb 24 05:50:57 CET 2009


On Sun, Feb 22, 2009 at 10:31:19PM -0800, jw wrote:
> \leftskip, \rightskip, and \parfillskip do the job nicely

FWIW here's the def from Texinfo:

\def\raggedcenter{%
  \parindent=0pt \rightskip0pt plus1em \leftskip0pt plus1em
  \spaceskip.3333em \xspaceskip.5em \parfillskip=0pt
  \hbadness=10000 % Last line will usually be underfull, so turn off
                  % badness reporting.
}


HTH,
Oleg


More information about the texhax mailing list