Get Math Help

GET TUTORING NEAR ME!

(800) 434-2582

By submitting the following form, you agree to Club Z!'s Terms of Use and Privacy Policy

    Home / Get Math Help

    Center Function

    Usage

    Center is a symbol that represents the center for purposes of alignment and positioning.

    Basic examples

    Align the contents of a grid with the center:
In[1]:=Grid[{{a, sqrt(x), b, x/y, c}}, Alignment->{Automatic, Center}, Frame->{True, All}]
Out[1]=a | sqrt(x) | b | x/y | c
Align the center of a grid with the baseline of the text:
In[1]:={x, Grid[{{a, b}, {c, d}}, Frame->All, BaselinePosition->Center], y}
Out[1]={x, a | b
c | d, y}
Align text with the center:
In[1]:=t=StringJoin@@Table[abcd , {60}];
In[2]:=Framed@Text[Style[t, TextAlignment->Center]]
Out[2]=abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd

    Attribute

    Protected

    Relationships with other entities

    Left | Right | Top | Bottom | Axis

    Relationships with other entities

    Typical ranks of usage in programs

    199th most common (1 in 5560 symbols)

    101st most common (1 in 1150 symbols)

    255th most common (1 in 3390 symbols)

    History

    introduced in Version 1 (June 1988)

    Timeline

    Timeline

    Back to List | POWERED BY THE WOLFRAM LANGUAGE