Prev Next center

Centering Text

$center text$$

See Also
pre , math , table

Centers the output specified by text , where text is any input sequence and may have embedded commands; i.e., there may be occurrences of the $ character in text .

The following table contains an example for each of the fonts: In the input
     $bold variable$$  $cend $bold output$$ $rend
     x                 $cend 1              $rend
     y                 $cend 2
the last $$ terminates the center command. The input above results in the following output
variable output
x 1
y 2

Input File: center.omh