CellBaseline

CellBaseline
is an option for Cell which specifies where the baseline of the cell should be assumed to be when it appears inside another cell.

DetailsDetails

  • CellBaseline is used to determine the vertical alignment of cells that are embedded in text, typically in TextData objects.
  • CellBaseline->pos specifies that position pos in the Cell should be assumed to be the baseline of the Cell and should therefore be aligned with the baselines of other boxes.
  • Possible settings are:
  • Axisaxis of the expression in the cell
    Baselinebaseline of the expression in the cell (default)
    Bottombottom of the expression in the cell
    Centercenter of the expression in the cell
    Toptop of the expression in the cell

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Put some expressions into a line of text with various choices of CellBaseline:

In[1]:=
Click for copyable input
Introduced in 1996
(3.0)