vycentrovany text
David Necas (Yeti)
yeti at physics.muni.cz
Tue Feb 18 12:48:44 CET 2003
On Tue, Feb 18, 2003 at 12:38:41PM +0100, David Andrs wrote:
>
> mohl byste mi nekdo poradit jak v plainu centrovat delsi (tzn. pres
> vice radek, odstavcu) text.
>
> Chtel bych, aby to fungovalo asi takto:
>
> \begcenter
> text text text...
>
> text text text...
> \endcenter
Centrování dosáhnete
\parindent=0pt
\parfillskip=0pt
\leftskip=0pt plus30pt
\rightskip=0pt plus30pt
kde 30pt je hodnota, jejíž správná velikost samozřejmě
závisí na šířce textu, písmu a tak. Takže do \begcenter asi
\par\begingroup + výše uvedené a
\def\endcenter{\par\endgroup}
Yeti
More information about the csTeX
mailing list