is a low-level box construct which displays with the placement of box adjusted using the options given.


  • In the notebook front end, AdjustmentBox objects can typically be inserted and modified using , , , and ( on Macintosh). These keys move your current selection by one pixel at the current screen magnification.
  • The following options can be given:
  • BaseStyle{}the style to use
    BoxBaselineShiftuphow much the baseline should be shifted relative to those of neighboring boxes
    BoxMargins{{left,right},{bottom,top}}margins to leave around the contents of the box
    StripOnInputTruewhether to strip the box on evaluation
  • Horizontal motion specifications are in ems; vertical ones are in heights.
  • Motion specifications can be either positive or negative numbers.
  • Positive margin specifications increase the spacing around box; negative ones decrease it.
  • Moving the baseline affects, for example, vertical alignment in a RowBox.
  • Top and bottom margins affect, for example, placement in a FractionBox or an OverscriptBox.
  • In StandardForm and InputForm input, AdjustmentBox is by default ignored, so that AdjustmentBox[box,opts] is interpreted just as box would be.
  • Inserting an explicit spacing character such as \[ThinSpace] can have the same effect for display as AdjustmentBox, but the spacing character by default affects interpretation.
  • AdjustmentBox[box,opts] uses the options given only to adjust the position of box itself. Unlike StyleBox, it does not propagate the options to sub-boxes.


Basic Examples  (4)

Display letters with different amounts of baseline shift:

Click for copyable input

Display letters with different amounts of margin:

Click for copyable input

Display a letter with different margins on different sides:

Click for copyable input

Adjustments are typically ignored when an AdjustmentBox form is interpreted as input:

Click for copyable input
Click for copyable input

See Also

BaselinePosition  Style  Grid  ScriptBaselineShifts

Introduced in 1996