Is there any way I can fit this equation into column width?
\begin{equation}\label{eq19}
\begin{aligned}
\frac{\partial P_k}{\partial V_{r_o}} =
\begin{cases}
& 2V_{r_k}G_{kk}(T) + \sum^{n}_{i=1} (G_{ki}(T)V_{r_i}-B_{ki}(T)V_{m_i}) \\
& \sum_{o=1}^{n} (B_{ko}(T)V_{r_o}+G_{ko}(T)V_{m_o})
\end{cases}
\end{aligned}
\end{equation}
Because I am working on IEEEtrans
style, every page is two columns and I want to fit it in single column width.
Thanks.
Update
This is what I am trying to get
\begin{equation}\label{eq19}
\frac{\partial P_k}{\partial V_{r_o}} =
\begin{dcases}
2V_{r_k}G_{kk}(T) + \sum^{n}_{i=1} (G_{ki}(T)V_{r_i}-B_{ki}(T)V_{m_i})
\textnormal{for $o=k$}\\
\sum_{o=1}^{n} (B_{ko}(T)V_{r_o}+G_{ko}(T)V_{m_o}) \textnormal{for $o\neq k$}
\end{dcases}
\end{equation}
But the conditions need to be aligned and the entire equation, I was hoping, could be possibly fit in the column.
Update
This is where I am so far
\begin{equation}\label{eq19}
\frac{\partial P_k}{\partial V_{r_o}} =
\begin{dcases}
2V_{r_k}G_{kk}(T) + \sum^{n}_{i=1} (G_{ki}(T)V_{r_i}-B_{ki}
(T)V_{m_i})~&\textnormal{for $o=k$} \\
(V_{r_k}G_{ko}(T)+V_{m_k}B_{ko}(T))~&\textnormal{for $o\neq k$}
\end{dcases}
\end{equation}
\begin{equation}
\frac{\partial P_k}{\partial V_{r_o}} =
\left\lbrace\begin{aligned}
&2V_{r_k}G_{kk}(T) + \sum^{n}_{i=1}(G_{ki}(T)V_{r_i}-B_{ki}(T)V_{m_i})~&&\textnormal{for $o=k$} \\
&\sum_{o=1}^{n} (B_{ko}(T)V_{r_o}+G_{ko}(T)V_{m_o})~&&\textnormal{for $o\neq k$}
\end{aligned}\right.
\end{equation}
Anyway now to fit them into the column width without multiline or splitting?
Best Answer
Since you still not provide a Minimal Working Example (MWE) which we can test, is difficult to help you. In your code and mentioned document class, which you should use, I found more issues:
IEEEtrans
is corrupted with message of the person who claim that he improved it. So, if you receive any result, than you didn't use it. To resolve this, please (I ask you again) complete your code snipped, that we can see, what is really going on in your document.cases
is real necessary, the use ofaligned
environment is surplus.cases
is not complete: in it I miss condition when one of equations is valid.To solve your basic problem, you need to break first equation in
cases
into two lines, for example as follows:which in my math testbed using
\documentclass{IEEEtran}
gives:For any further help, please consider my comments above.
Addendum:
Considering David Carlisle assumption in his answer, you can rewrite your equation into following form:
by:
Edit:
After end it seems, that your equation will have some condition. For it writing in equation you need space, so the your problem can become more acute: for their writing is only for four letter space left! As possible solution you can write: