Message Boards Message Boards

8 Replies
1 Total Likes
View groups...
Share this post:

Making a half closed bracket for display?

Posted 10 years ago
When I attempt to make a  half closed interval [a,b) in DisplayMath(Not for computation) Mathematica does not recognize that  the bracket is paired with the parenthesis and the sizing gets funny.  Anybody know a way to make it recognize this?
POSTED BY: Laurence Forshaw
8 Replies
I think you can achieve that by adding an option to the DisplayFormula cells, or simply add it to the stylesheet. Just click Format -> Edit Stylesheet, find the styles you want to modify, add the following option to them:
SpanMaxSize -> Infinity

Also you can refer to this detailed video I recorded about how to edit the stylesheet.
POSTED BY: Silvia Hao
DisplayMath is LaTeX right?
You can use \left and \right commands, and also the \big, \Big, \bigg, \Bigg commands. or pair them with invisible braces  \right.  \left. (notice the extra dot). 

Again, without a proper example this is really hard to answer.
POSTED BY: Sander Huisman
I think what he means is that the sizing is not good with e.g. HalfClosed[3, x^2/2].  The brackets should grow to match the size of the enclosed content.
POSTED BY: Szabolcs Horvát
'To expand' ?
Do you have an photo of an example of how you would like it?
POSTED BY: Sander Huisman
What about specifiying a Format:
Is that what you want?
POSTED BY: Sander Huisman
That's passible,  although getting the [ and ) to expand the standard eclosing parentheses would be nice.
POSTED BY: Laurence Forshaw
Does not work if I want it to be part of a more complex expression.
POSTED BY: Laurence Forshaw
I think it would be easier to create a string "[a,b)"
POSTED BY: Frank Kampas
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract