Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have 3 equations which are long. These equations should be subequations and should be split and aligned. They should be given labels as well. I am attaching the code below.

\begin{subequations} \label{e33}
\begin{align}
\begin{split}
      q^{*}& = \Bigg(\dfrac{\alpha^{*}W}{U\big(1+\alpha^{*}(\frac{W}{q_u^{*}})\big)}\Bigg)\  \overline{C}_1\overline{C}_3 - \Bigg(G_1^{*} +\overline{C}_2(T_p^{*}+T_1^{*})\cos\theta+G_2^{*}\overline{C}_1+G_3^{*}\overline{C}_1\overline{C}_3+ \overline{C}_1\overline{C}_4(T_p^{*}+T_2^{*})\cos\theta\Bigg)\  (\dfrac{W_{(i-1)}-2W_i+W_{(i+1)}}{(\Delta X)^{2}}) \label{e33a} 

        %\frac{\partial T_1^{*}}{\partial X}& = -\Bigg(q^{*}+G_1^{*}\frac{\partial^{2}W}{\partial X^{2}}\Bigg)\  \overline{D}_1 - \Bigg(\overline{C}_3\dfrac{\alpha^{*}W}{U\big(1+\alpha^{*}(\frac{W}{q_u^{*}})\big)} - \Big(G_2^{*}+G_3^{*} \overline{C}_3+\overline{C}_4(T_p^{*}+T_2^{*})\cos\theta \Big) \frac{\partial^{2}W}{\partial X^{2}}\Bigg)\  \overline{D}_2 \label{e33b} \\
        %\frac{\partial T_2^{*}}{\partial X}& = -\Bigg(\frac{1}{\overline{C}_1} \Big(q^{*}+\bigg(G_1^{*}+\overline{C}_2(T_p^{*}+T_1^{*})\cos\theta \bigg)\frac{\partial^{2}W}{\partial X^{2}} \Big) +G_2^{*}\frac{\partial^{2}W}{\partial X^{2}} \Bigg)\ \overline{D}_3 - \Bigg(\dfrac{\alpha^{*} W}{U\big(1+\alpha^{*}(\frac{W}{q_u^{*}})\big)} - G_3^{*}\frac{\partial^{2}W}{\partial X^{2}} \Bigg)\ \overline{D}_4       \label{e33c}
%\end{split}
%\end{align}
%\end{subequations}

Please provide me suggestions for the same.

share|improve this question

migrated from stackoverflow.com Aug 7 '11 at 12:13

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer 1

Here's a first attempt:

\begin{subequations}
\begin{equation}\label{e33a}
\begin{split}
  q^{*} = & \Bigg(\dfrac{\alpha^{*}W}{U\big(1+\alpha^{*}(\frac{W}{q_u^{*}})\big)}\Bigg)\  \overline{C}_1\overline{C}_3
  - \left(\dfrac{W_{(i-1)}-2W_i+W_{(i+1)}}{(\Delta X)^{2}}\right) \times \\
  & \Bigg(G_1^{*} +\overline{C}_2(T_p^{*}+T_1^{*})\cos\theta+G_2^{*}\overline{C}_1+G_3^{*}\overline{C}_1\overline{C}_3
  + \overline{C}_1\overline{C}_4(T_p^{*}+T_2^{*})\cos\theta\Bigg)
\end{split}
\end{equation}
\begin{equation}\label{e33b}
\begin{split}
  \frac{\partial T_1^{*}}{\partial X} = & -\Bigg(q^{*}+G_1^{*}\frac{\partial^{2}W}{\partial X^{2}}\Bigg)\  \overline{D}_1
    - \overline{D}_2 \Bigg(\overline{C}_3\dfrac{\alpha^{*}W}{U\big(1+\alpha^{*}(\frac{W}{q_u^{*}})\big)} \\
   & - \Big(G_2^{*}+G_3^{*} \overline{C}_3+\overline{C}_4(T_p^{*}+T_2^{*})\cos\theta \Big) \frac{\partial^{2}W}{\partial X^{2}}\Bigg)
\end{split}
\end{equation}
\begin{equation}\label{e33c}
\begin{split}
  \frac{\partial T_2^{*}}{\partial X} = & -\Bigg(\frac{1}{\overline{C}_1} \Big(q^{*}+\bigg(G_1^{*}
  + \overline{C}_2(T_p^{*}+T_1^{*})\cos\theta \bigg)\frac{\partial^{2}W}{\partial X^{2}} \Big)
    +G_2^{*}\frac{\partial^{2}W}{\partial X^{2}} \Bigg)\ \overline{D}_3 \\
  & - \Bigg(\dfrac{\alpha^{*} W}{U\big(1+\alpha^{*}(\frac{W}{q_u^{*}})\big)}
  - G_3^{*}\frac{\partial^{2}W}{\partial X^{2}} \Bigg)\ \overline{D}_4
\end{split}
\end{equation}
\end{subequations}

I think it's still way too cluttered. I would probably put some text in between and put each equation in a multline rather than a split.


Update: OK, I think the following is much nicer:

\begin{subequations}
Introductory text.
\begin{align}
  q^{*} = & \Bigg(\dfrac{\alpha^{*}W}{U\big(1+\alpha^{*}(\frac{W}{q_u^{*}})\big)}\Bigg)\  \overline{C}_1\overline{C}_3
    - \left(\dfrac{W_{(i-1)}-2W_i+W_{(i+1)}}{(\Delta X)^{2}}\right) \times \label{e33a}\\
  & \Bigg(G_1^{*} +\overline{C}_2(T_p^{*}+T_1^{*})\cos\theta+G_2^{*}\overline{C}_1+G_3^{*}\overline{C}_1\overline{C}_3
    + \overline{C}_1\overline{C}_4(T_p^{*}+T_2^{*})\cos\theta\Bigg) \nonumber \\
\intertext{First intermissive text.}
  \frac{\partial T_1^{*}}{\partial X} = & -\Bigg(q^{*}+G_1^{*}\frac{\partial^{2}W}{\partial X^{2}}\Bigg) \; \overline{D}_1 \label{e33b} \\
  & - \Bigg(\overline{C}_3\dfrac{\alpha^{*}W}{U\big(1+\alpha^{*}(\frac{W}{q_u^{*}})\big)}
    - \Big(G_2^{*}+G_3^{*} \overline{C}_3+\overline{C}_4(T_p^{*}+T_2^{*})\cos\theta \Big)
    \frac{\partial^{2}W}{\partial X^{2}}\Bigg) \; \overline{D}_2 \nonumber
\intertext{Second segway.}
  \frac{\partial T_2^{*}}{\partial X} = & -\Bigg(\frac{1}{\overline{C}_1} \Big(q^{*}+\bigg(G_1^{*}
    + \overline{C}_2(T_p^{*}+T_1^{*})\cos\theta \bigg)\frac{\partial^{2}W}{\partial X^{2}} \Big)
    + G_2^{*}\frac{\partial^{2}W}{\partial X^{2}} \Bigg)\ \overline{D}_3 \label{e33c} \\
  & - \Bigg(\dfrac{\alpha^{*} W}{U\big(1+\alpha^{*}(\frac{W}{q_u^{*}})\big)}
    - G_3^{*}\frac{\partial^{2}W}{\partial X^{2}} \Bigg)\ \overline{D}_4 \nonumber
\end{align}
\end{subequations}
share|improve this answer
    
Thank you very much for your answer sir. It was very helpful. But I have got another problem again. The first equation that I am going to paste is longer than the above one. –  Reshma B Aug 7 '11 at 9:50
1  
@Reshma: You can just keep breaking lines. Use & for the alignment, and say \nonumber on every subsequent line... –  Kerrek SB Aug 7 '11 at 9:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.