3
$\begingroup$
Style[
 DisplayForm@RowBox[{"(", SubsuperscriptBox[2, 6, 7], ")"}],
 18, Bold, ScriptSizeMultipliers -> 1, ScriptBaselineShifts -> {1, 3}]

enter image description here

or for ScriptBaselineShifts -> {4, 1}

enter image description here

This is at least undesired effect. I'd like to cut those parentheses just below 6. Why ScriptBaselineShifts affects both limits equally? Is there a walkaround?

$\endgroup$
  • $\begingroup$ Hm.. Maybe try an AdjustmentBox? I have to go now! $\endgroup$ – Jacob Akkerboom Apr 3 '14 at 16:10
3
$\begingroup$

The default rule for spanning characters is to span symmetrically above and below the central axis of the whole expression, so in your example 2 is put at the center. To shrink the parentheses asymmetrically, option SpanSymmetric needs to be set to False:

Style[
    DisplayForm@RowBox[{"(", SubsuperscriptBox[2, 6, 7], ")"}],
    18, Bold,
    ScriptSizeMultipliers -> 1,
    ScriptBaselineShifts -> {4, 1},
    SpanSymmetric -> False]

asymmetrical parentheses

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.