- Tex Commands Reference
- Tex - Tutorial Home
\vcenter - Tex Command
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
\left(\Rule{1ex}{2em}{0pt}\right)
$ \left(\Rule{1ex}{2em}{0pt}\right) $\left(\vcenter{\Rule{1ex}{2em}{0pt}}\right)
$ \left(\vcenter{\Rule{1ex}{2em}{0pt}}\right) $\left(\frac{a+b}{\dfrac{c}{d}}\right)
$ \left(\frac{a+b}{\dfrac{c}{d}}\right) $\left(\vcenter{\frac{a+b}{\dfrac{c}{d}}}\right)
$ \left(\vcenter{\frac{a+b}{\dfrac{c}{d}}}\right) $
Advertisements