I've end up with a monster of an equation and now I'll need to chop it into pieces as well as use brackets.
Here's what I tried, the brackets are the problem and the over-all look will be messy. Is there a way to make it tidy, basically so that the new lines begin where the first equals sign ends?
because \left,\right brackets spanning over several lines will cause a problem you could use \bigg, \Bigg etc. instead. If you want alignment, use the align environment instead of gather, for example:
Note that you have to insert invisible delimiters in the according lines in order not to run into troubles with the scaled parenthesis at the beginning and the end.
Thanks for the suggestions, both of them worked perfectly. Now the problem is the equation number, though. In Stefan's version the number is a bit too high, and Thorsten's version too low. Is there a way to get it vertically in the middle? I've tried placing the nonumber command after different lines, but it doesn't do anything.
timppapoika wrote:[...] In Stefan's version the number is a bit too high, and Thorsten's version too low. Is there a way to get it vertically in the middle? [...]
My approach should place the number exactly in the middle. Provide a minimal working example (MWE) that shows another behaviour.
timppapoika wrote: In Stefan's version the number is a bit too high, and Thorsten's version too low. Is there a way to get it vertically in the middle?
the equation is too wide. Try to write it shorter, or perhaps use a smaller font for that equation, then the tag would be placed in the middle, for example:
This behaviour is caused by the type area. There's not enough space to put the number to the right of the equation. Hence the number is put below at the right margin. Increase the line width and things will work fine. The geometry package will help you to set up an appropriate type area.