I think my question is clear from pictures. Pictures are output and its latex code .
Asked
Active
Viewed 643 times
0
1 Answers
1
You should avoid eqnarray and use the proper math notation using cases:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
& \mathrm{d}^2 g(F(\bar{x}) \mid \lambda) (\nabla F(\bar{x}) \omega) \\
& \qquad = \begin{cases}
\mathrm{d}^2 g(F(\bar{x})) (\nabla F(\bar{x}) \omega
& \text{if $\mathrm{d} g(F(\bar{x})) (\nabla F(\bar{x})) \omega = \langle \lambda, \nabla F(\bar{x}) \omega \rangle$} \\
\infty & \text{otherwise}
\end{cases}
\end{align*}
\end{document}
Werner
- 603,163
-
No problem. Thanks for your help. Your second code doesn't work in my system at all. I'll figure it out – Red shoes Jan 29 '18 at 06:23
-
-
-
@Redshoes: So it compiles without problem? You just can't view the output using your editor? Strange. – Werner Jan 29 '18 at 06:34
-
! Extra alignment tab has been changed to \cr. \endtemplate l.384 \end{align*} (That makes 100 errors; please try again.) Here is how much of TeX's memory you used: 19057 strings out of 493323 379991 string characters out of 3138196 473190 words of memory out of 3000000 22224 multiletter control sequences out of 15000+200000 11027 words of font info for 42 fonts, out of 3000000 for 9000 1141 hyphenation exceptions out of 8191 211i,19n,67p,1240b,399s stack positions out of 5000i,500n,10000p,200000b,50000s ! ==> Fatal error occurred, no output PDF file produced! – Red shoes Jan 29 '18 at 06:51
-
@Redshoes: I can't replicate the problem. Possibly because I don't have the
align*environment on l.384 of my document... – Werner Jan 29 '18 at 07:08 -
1


Herealso be covered by the left brace? – Werner Jan 29 '18 at 05:07