is a low-level formatting construct that represents in notebook expressions.

Details and OptionsDetails and Options

  • Inside can be input as .
  • In a notebook a FractionBox can be created using Ctrl+/. Ctrl+Space moves out of the fraction.
  • In StandardForm and InputForm, FractionBox[x,y] is interpreted on input as .
  • The axis of FractionBox[x,y] is taken to go through the fraction line. The baseline lies below the axis by the distance between the axis and the bottom of characters such as in the current font.
  • The width of the fraction line can be given in x heights as the setting for the SpanLineThickness option in StyleBox.
  • If FractionBox[x,y] does not fit on a single line, it is output as .
  • In StandardForm, explicit FractionBox objects are output literally. You can use DisplayForm to see the display form of such objects.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Display a typeset fraction:

Click for copyable input

Display a fraction with typeset structures in the numerator and denominator:

Click for copyable input
Introduced in 1996
Translate this page: