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.

I am using Mathematica to layout some mathematical formulas for publication. The guidelines specify that in case of nested parentheses the encompassing ones need to be bigger than the inner ones. So is there a way to make parentheses bigger easily? Below is an example of what I want. It is made by inserting an invisible column at the beginning of the grouping, but that creates a ugly gap in the formula. enter image description here

share|improve this question
2  
Please include copyable code in your post. –  Mr.Wizard Jan 15 '13 at 14:41
    
If you're using Mathematica just to set up the formulas to go into a publication, then you'd be better off exporting to LaTeX and then, if necessary, tweaking there. –  murray Jan 15 '13 at 21:38
add comment

2 Answers

up vote 5 down vote accepted

It is a bit messy but you can manually fix this by highlighting the stuff to the left of the parenthesis, and the left hand parenthesis, and nudge the stuff to the right

enter image description here

The result will look like this:

enter image description here

share|improve this answer
    
Yeah that works, but is messy as you say. Wonder if it would be possible to automate this tough. I'm Accepting your answer for now as its enough for my current situation. –  joojaa Jan 15 '13 at 20:54
    
Yes you could automate this because the nudging is adjustment boxes so when you have something you like you can use show expression to have a look at the underlying box structure. But to go to the work of automating I would want to be doing several of these formulas with the same structure/format otherwise I'd just cut and paste. –  Mike Honeychurch Jan 15 '13 at 21:01
    
Yeah your right I can just make a number of different sizes and copy paste them. –  joojaa Jan 15 '13 at 21:12
add comment

There is the way to insert a column consisting of three elements into the parantheses, and make the first and the third of them white (and thus, invisible). Namely,

  1. Type (, type Ctrl+Enter, type Ctrl+Space, once more type Ctrl+Space, type ). You get a 3-element column enclosed by the parantheses.

  2. Make the first and third elements white.

  3. Mark the first element, go to Menu/Format/Font and choose a smaller font size, say, 6 pts. Make the same with the third column element.

  4. Type your expression into the second element.

The snapshot one may see below. To my taste this method is not really satisfactory, since the outer parantheses are too large This is the snapshot of the formula obtained this way. Sorry for its size, I do not know how to improve it

share|improve this answer
    
Oh, yes. It might work better if you put it in grid with two elements center align and SpanFromAbove. Still needs tweak tough but is less buggy than what im finding the tweak to be. I must investigate further. Still not perfect. –  joojaa Jan 17 '13 at 11:56
add comment

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.