Prev Next center

Centering Text

Syntax
$center text$$

See Also
pre , math , table

Description
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 .

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

Input File: center.omh