\vcenter - Tex Command


Advertisements

vcenter

\vcenter - Used to center the argument on the 'math axis',which is at half the height of an 'x', or about the position of a minus sign.

SYNOPSIS

{ \vcenter #1}

DESCRIPTION

\vcenter command centers the argument on the 'math axis',which is at half the height of an 'x', or about the position of a minus sign.

EXAMPLE

  1. \left(\Rule{1ex}{2em}{0pt}\right)
    $ \left(\Rule{1ex}{2em}{0pt}\right) $
  2. \left(\vcenter{\Rule{1ex}{2em}{0pt}}\right)
    $ \left(\vcenter{\Rule{1ex}{2em}{0pt}}\right) $
  3. \left(\frac{a+b}{\dfrac{c}{d}}\right)
    $ \left(\frac{a+b}{\dfrac{c}{d}}\right) $
  4. \left(\vcenter{\frac{a+b}{\dfrac{c}{d}}}\right)
    $ \left(\vcenter{\frac{a+b}{\dfrac{c}{d}}}\right) $
Print
Advertisements