LaTeX forum ⇒ Math & ScienceAutomatically scaled Delimiters in multiline Equations Topic is solved

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Posts: 6
Joined: Mon May 14, 2012 3:38 am

Automatically scaled Delimiters in multiline Equations

Postby gmgpina20 » Tue Dec 17, 2013 3:29 am

Dear users, can you help me in introducing an equation in {eqnarray} environment? The equation in question is this.
  1. \begin{eqnarray}\label{eq:verom}
  2. \mathcal{L}(\alpha,\Omega) &\propto&\left|\Omega \otimes \mathbb{I}_{T}\right|^{-1/2}exp\left\{-\frac{1}{2}\left(\alpha-\alpha_{ols}\right)^{\prime}\left(\Omega^{-1}\otimes \mathbb{X}^{\prime}\mathbb{X}\right)\left(\alpha-\alpha_{ols}\right) \nonumber \\
  3. &-&\frac{1}{2}\left[\left(\Omega^{-1/2}\otimes \mathbb{I}_{T}\right)y-\left(\Omega^{-1/2}\otimes \mathbb{X}\right)\alpha_{ols}\right]^{\prime}\left[\left(\Omega^{-1/2}\otimes \mathbb{I}_{T}\right)y-\left(\Omega^{-1/2}\otimes \mathbb{X}\right)\alpha_{ols}\right]\right\}
  4. \end{eqnarray}

When I run the file, I got some errors because \exp\left\{ \right\} is not recognized for separate equation. How can I open { in one line and close it again -}- in another line in {eqnarray} environment?

Thank you for you help.
Last edited by cgnieder on Tue Dec 17, 2013 10:16 am, edited 2 times in total.


User avatar
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Tue Dec 17, 2013 10:43 am

Avoid eqnarray! Use the corresponding environments provided by amsmath (perhaps enhanced by mathtools from the mh bundle).

Regardless of that you can't split automatically scaled pairs of delimiters over several lines. Either use a closing invisible delimiter or manual delimiter scaling.

Further reading

LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

Posts: 6
Joined: Mon May 14, 2012 3:38 am

Postby gmgpina20 » Thu Dec 19, 2013 3:32 am

Thank you for your help and for the article. it was very helpful. Here is the correct specification.
  1. \begin{equation}\label{eq:veronormawish}
  2. \begin{split}
  3. \mathcal{L}\left(\alpha,\Omega\right) \propto{}& \abs{\Omega \otimes
  4. \mathbb{I}_{T}}^{-1/2}
  5. \exp\Bigl\{-\tfrac{1}{2}(\alpha-\alpha_{ols})^{\prime}(\Omega^{-1}\otimes
  6. \mathbb{X}^{\prime}\mathbb{X})(\alpha-\alpha_{ols})
  7. \\
  8. &-\frac{1}{2}\bigl[(\Omega^{-1/2}\otimes
  9. \mathbb{I}_{T})y-(\Omega^{-1/2}\otimes
  10. \mathbb{X})\alpha_{ols}\bigr]^{\prime}
  11. \\
  12. &\times\bigl[(\Omega^{-1/2}\otimes
  13. \mathbb{I}_{T})y-(\Omega^{-1/2}\otimes
  14. \mathbb{X})\alpha_{ols}\bigr]\Bigr\}
  15. \end{split}
  16. \end{equation}

Return to “Math & Science”

Who is online

Users browsing this forum: No registered users and 4 guests