Message Boards Message Boards

Avoid Issue with open bracket size?

Posted 5 years ago

Hello,

I try to write a basic expression in mathematica. ]-pi/2,pi/2[ When I use open close brackets, their size match the size of the expression : enter image description here

When I use open bracket on the left and close on the right, it is the same : enter image description here But as soon as I want to use open bracket on the right of the expression, the right bracket display in small : enter image description here

Do you please have an idea how to fix this ? Thank you for kind help best Regards

POSTED BY: sunny rose

I don't know of a satisfying way to do that. Here is an approximation:

DisplayForm[
 RowBox[{Style["]", 30], "\[NegativeMediumSpace]", 1/2, ",", Pi/2, 
   "\[NegativeMediumSpace]", Style["[", 30]}]]

The options DelimiterMatching and SpanMaxSize may have to do with solving the problem, but I have found no way to trick Mathematica into treating "[" as a closing delimiter, or "]" as an opening delimiter. TeX has the \mathclose and \mathopen, of \left \right commands that do that.

POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract