Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.
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?

share|improve this question
    
Hm.. Maybe try an AdjustmentBox? I have to go now! –  Jacob Akkerboom Apr 3 at 16:10

1 Answer 1

up vote 3 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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