14

I'm using:

\documentclass[journal,transmag]{IEEEtran}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{breqn}
\begin{document}
\begin{align}
 something&\left(\sum_{n}\right.\nonumber\\
&\quad\left.\vphantom{\sum_{n}}+y\right)/\left(x\right)^2.
\end{align}
\end{document}

With \vphantom{\sum_{n}} I get the big right parenthesis in the second line which is what I want. How can I get a larger division symbol as well?

1
  • Larger how? Would it be possible for you to include an image of what you want to achieve?
    – Alenanno
    Apr 24, 2015 at 19:53

2 Answers 2

15

I understand it's only an example, but your usage of \left and \right is wrong.

\begin{align}
 something &\biggl(\sum_{n}\nonumber\\
&\quad+y\biggr) \bigg/ x^2.
\end{align}

enter image description here

5
  • Why does your code complain in my Tex? :| It says "missing } inserted", "extra \right", "missing \endgroup inserted" etc...
    – Alenanno
    Apr 24, 2015 at 20:00
  • 1
    @Alenanno I forgot to remove a \right.
    – egreg
    Apr 24, 2015 at 20:00
  • Ah ok, fixed. :)
    – Alenanno
    Apr 24, 2015 at 20:02
  • Can you explain why using \left and \right as OP did is wrong? I also learned such usage from some references. I know you always have good reasons for your recommends, so I am very curious now. Nov 14, 2019 at 1:01
  • @TheGreatSeo one cannot have \left in one row of an alignment and \right in another one. Anyway, don’t overuse them, because they tend to make larger delimiters than necessary.
    – egreg
    Nov 14, 2019 at 7:25
2

To get the scaled division symbol, you probably want to use the \left ... \middle ... \right construction:

\begin{align}
 something&\left(\sum_{n}\right.\nonumber\\
&\quad\left.\left.\vphantom{\sum_{n}}+y\right)\middle/\left(x\right)^2\right..
\end{align}

latex output

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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