Multi-line long equation vanishes few brackets

Clash Royale CLAN TAG#URR8PPP
up vote
5
down vote
favorite
begineqnarray*
M to P_j: & left left( n_1,n_2,left( profile,N_i,N_ileft( mathop leftrightarrow limits^K_S^i right)P_j,\ & # left( N_ileft( mathop leftrightarrow limits^K_S^i right)P_j right) right)_K_P^j right)_K_P^j,left( n_0,n_1,left( profile,N_i,N_i \ &left( mathop leftrightarrow limits^K_S^i right)P_j,# left( N_ileft( mathop leftrightarrow limits^K_S^i right)P_j right) right)_K_P^j,N_ileft( mathop leftrightarrow limits^K_S^i right)P_j, \ &# left( N_ileft( mathop leftrightarrow limits^K_S^i right)P_j right),N_imathop leftrightarrow limits^n_S^i M right)_K_TS^i = Hleft( K_p^j oplus n_S^i right) right
endeqnarray*
To split my long equation I used beginequation beginsplit, begineqnarray*,and beginmultline etc. But all the time few brackets from equation just disapear as shown in figure below.

The correct equation is given below and I want to split it into 4 lines

equations split eqnarray
add a comment |Â
up vote
5
down vote
favorite
begineqnarray*
M to P_j: & left left( n_1,n_2,left( profile,N_i,N_ileft( mathop leftrightarrow limits^K_S^i right)P_j,\ & # left( N_ileft( mathop leftrightarrow limits^K_S^i right)P_j right) right)_K_P^j right)_K_P^j,left( n_0,n_1,left( profile,N_i,N_i \ &left( mathop leftrightarrow limits^K_S^i right)P_j,# left( N_ileft( mathop leftrightarrow limits^K_S^i right)P_j right) right)_K_P^j,N_ileft( mathop leftrightarrow limits^K_S^i right)P_j, \ &# left( N_ileft( mathop leftrightarrow limits^K_S^i right)P_j right),N_imathop leftrightarrow limits^n_S^i M right)_K_TS^i = Hleft( K_p^j oplus n_S^i right) right
endeqnarray*
To split my long equation I used beginequation beginsplit, begineqnarray*,and beginmultline etc. But all the time few brackets from equation just disapear as shown in figure below.

The correct equation is given below and I want to split it into 4 lines

equations split eqnarray
1
(1) Never useeqnarrayit is broken in many ways and only kept for backwards compatability. Use the macros fromamsmath. (2) You cannot!!! break aleft ... rightconstruction across lines, you need to scale these manuallt. From the last image you post, you can clearly see that those fences are way too large, and the readability would benefit greatly by manual scaling. (3) Use a better construction to write aboveleftrightarrow, for example load themathtoolspackage, it provides the missingxleftrightarrow...that is missing fromamsmath.
â daleif
Sep 13 at 7:33
1
(4) Also you cannot have\inside a...group, so you'll need to clean that up as well.
â daleif
Sep 13 at 7:36
add a comment |Â
up vote
5
down vote
favorite
up vote
5
down vote
favorite
begineqnarray*
M to P_j: & left left( n_1,n_2,left( profile,N_i,N_ileft( mathop leftrightarrow limits^K_S^i right)P_j,\ & # left( N_ileft( mathop leftrightarrow limits^K_S^i right)P_j right) right)_K_P^j right)_K_P^j,left( n_0,n_1,left( profile,N_i,N_i \ &left( mathop leftrightarrow limits^K_S^i right)P_j,# left( N_ileft( mathop leftrightarrow limits^K_S^i right)P_j right) right)_K_P^j,N_ileft( mathop leftrightarrow limits^K_S^i right)P_j, \ &# left( N_ileft( mathop leftrightarrow limits^K_S^i right)P_j right),N_imathop leftrightarrow limits^n_S^i M right)_K_TS^i = Hleft( K_p^j oplus n_S^i right) right
endeqnarray*
To split my long equation I used beginequation beginsplit, begineqnarray*,and beginmultline etc. But all the time few brackets from equation just disapear as shown in figure below.

The correct equation is given below and I want to split it into 4 lines

equations split eqnarray
begineqnarray*
M to P_j: & left left( n_1,n_2,left( profile,N_i,N_ileft( mathop leftrightarrow limits^K_S^i right)P_j,\ & # left( N_ileft( mathop leftrightarrow limits^K_S^i right)P_j right) right)_K_P^j right)_K_P^j,left( n_0,n_1,left( profile,N_i,N_i \ &left( mathop leftrightarrow limits^K_S^i right)P_j,# left( N_ileft( mathop leftrightarrow limits^K_S^i right)P_j right) right)_K_P^j,N_ileft( mathop leftrightarrow limits^K_S^i right)P_j, \ &# left( N_ileft( mathop leftrightarrow limits^K_S^i right)P_j right),N_imathop leftrightarrow limits^n_S^i M right)_K_TS^i = Hleft( K_p^j oplus n_S^i right) right
endeqnarray*
To split my long equation I used beginequation beginsplit, begineqnarray*,and beginmultline etc. But all the time few brackets from equation just disapear as shown in figure below.

The correct equation is given below and I want to split it into 4 lines

equations split eqnarray
equations split eqnarray
edited Sep 13 at 7:22
Mico
264k30355733
264k30355733
asked Sep 13 at 5:57
MBK
1262
1262
1
(1) Never useeqnarrayit is broken in many ways and only kept for backwards compatability. Use the macros fromamsmath. (2) You cannot!!! break aleft ... rightconstruction across lines, you need to scale these manuallt. From the last image you post, you can clearly see that those fences are way too large, and the readability would benefit greatly by manual scaling. (3) Use a better construction to write aboveleftrightarrow, for example load themathtoolspackage, it provides the missingxleftrightarrow...that is missing fromamsmath.
â daleif
Sep 13 at 7:33
1
(4) Also you cannot have\inside a...group, so you'll need to clean that up as well.
â daleif
Sep 13 at 7:36
add a comment |Â
1
(1) Never useeqnarrayit is broken in many ways and only kept for backwards compatability. Use the macros fromamsmath. (2) You cannot!!! break aleft ... rightconstruction across lines, you need to scale these manuallt. From the last image you post, you can clearly see that those fences are way too large, and the readability would benefit greatly by manual scaling. (3) Use a better construction to write aboveleftrightarrow, for example load themathtoolspackage, it provides the missingxleftrightarrow...that is missing fromamsmath.
â daleif
Sep 13 at 7:33
1
(4) Also you cannot have\inside a...group, so you'll need to clean that up as well.
â daleif
Sep 13 at 7:36
1
1
(1) Never use
eqnarray it is broken in many ways and only kept for backwards compatability. Use the macros from amsmath. (2) You cannot!!! break a left ... right construction across lines, you need to scale these manuallt. From the last image you post, you can clearly see that those fences are way too large, and the readability would benefit greatly by manual scaling. (3) Use a better construction to write above leftrightarrow, for example load the mathtools package, it provides the missing xleftrightarrow... that is missing from amsmath.â daleif
Sep 13 at 7:33
(1) Never use
eqnarray it is broken in many ways and only kept for backwards compatability. Use the macros from amsmath. (2) You cannot!!! break a left ... right construction across lines, you need to scale these manuallt. From the last image you post, you can clearly see that those fences are way too large, and the readability would benefit greatly by manual scaling. (3) Use a better construction to write above leftrightarrow, for example load the mathtools package, it provides the missing xleftrightarrow... that is missing from amsmath.â daleif
Sep 13 at 7:33
1
1
(4) Also you cannot have
\ inside a ... group, so you'll need to clean that up as well.â daleif
Sep 13 at 7:36
(4) Also you cannot have
\ inside a ... group, so you'll need to clean that up as well.â daleif
Sep 13 at 7:36
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
7
down vote
Some suggestions:
Don't overuse curly braces to group math elements. A proliferation of
andsymbols makes the code nearly unreadable -- while doing absolutely nothing for TeX's ability to actually typeset the mess.As @daleif has already pointed out in a comment, do not use
eqnarray: It is seriously deprecated. Usealigninstead. When usingalign, use&only to indicate alignment points. Don't forget to terminate lines with\(double backslash).Don't use
leftandrightfor this multiline equation. It can't work. Instead, usebig,Big,biggandBiggsizing directives.Since there are quite a few parenthetic expressions, consider using square brackets instead of round parentheses for some of them.
Optional: Use
!("negative thinspace") directives to "snug up" subscript terms.Finally, again as @daleif has pointed out, load the
mathtoolspackage and use thexleftrightarrowmacro instead ofmathopleftrightarrowlimits. (At any rate,limitsisn't needed.)
With these observations in mind, I think it's possible to display the equation across three, rather than four, rows.

documentclassarticle
usepackagemathtools % for 'xleftrightarrow' macro
begindocument
beginalign*
M to P_jcolon
Biggl
&biggl[ n_1, n_2, Bigl(
textprofile, N_i,
N_i(xleftrightarrowK_S^i)P_j,
# bigl( N_i(xleftrightarrowK_S^i) P_j bigr)
Bigr)_!K_!P^j
biggr]_K_!P^j, \
&biggl[ n_0, n_1, Bigl(
textprofile, N_i,
N_i(xleftrightarrowK_S^i)P_j,
# bigl( N_i(xleftrightarrowK_S^i)P_j bigr)
Bigr)_!K_!P^j, \
&quad
N_i(xleftrightarrowK_S^i)P_j,
# bigl( N_i(xleftrightarrowK_S^i)P_j bigr),
N_ixleftrightarrown_S^iM
biggr]_K_mathitTS^i = H(K_!P^j oplus n_S^i)
Biggr
endalign*
enddocument
you're right of course, I'll delete my comment
â daleif
Sep 13 at 8:59
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
7
down vote
Some suggestions:
Don't overuse curly braces to group math elements. A proliferation of
andsymbols makes the code nearly unreadable -- while doing absolutely nothing for TeX's ability to actually typeset the mess.As @daleif has already pointed out in a comment, do not use
eqnarray: It is seriously deprecated. Usealigninstead. When usingalign, use&only to indicate alignment points. Don't forget to terminate lines with\(double backslash).Don't use
leftandrightfor this multiline equation. It can't work. Instead, usebig,Big,biggandBiggsizing directives.Since there are quite a few parenthetic expressions, consider using square brackets instead of round parentheses for some of them.
Optional: Use
!("negative thinspace") directives to "snug up" subscript terms.Finally, again as @daleif has pointed out, load the
mathtoolspackage and use thexleftrightarrowmacro instead ofmathopleftrightarrowlimits. (At any rate,limitsisn't needed.)
With these observations in mind, I think it's possible to display the equation across three, rather than four, rows.

documentclassarticle
usepackagemathtools % for 'xleftrightarrow' macro
begindocument
beginalign*
M to P_jcolon
Biggl
&biggl[ n_1, n_2, Bigl(
textprofile, N_i,
N_i(xleftrightarrowK_S^i)P_j,
# bigl( N_i(xleftrightarrowK_S^i) P_j bigr)
Bigr)_!K_!P^j
biggr]_K_!P^j, \
&biggl[ n_0, n_1, Bigl(
textprofile, N_i,
N_i(xleftrightarrowK_S^i)P_j,
# bigl( N_i(xleftrightarrowK_S^i)P_j bigr)
Bigr)_!K_!P^j, \
&quad
N_i(xleftrightarrowK_S^i)P_j,
# bigl( N_i(xleftrightarrowK_S^i)P_j bigr),
N_ixleftrightarrown_S^iM
biggr]_K_mathitTS^i = H(K_!P^j oplus n_S^i)
Biggr
endalign*
enddocument
you're right of course, I'll delete my comment
â daleif
Sep 13 at 8:59
add a comment |Â
up vote
7
down vote
Some suggestions:
Don't overuse curly braces to group math elements. A proliferation of
andsymbols makes the code nearly unreadable -- while doing absolutely nothing for TeX's ability to actually typeset the mess.As @daleif has already pointed out in a comment, do not use
eqnarray: It is seriously deprecated. Usealigninstead. When usingalign, use&only to indicate alignment points. Don't forget to terminate lines with\(double backslash).Don't use
leftandrightfor this multiline equation. It can't work. Instead, usebig,Big,biggandBiggsizing directives.Since there are quite a few parenthetic expressions, consider using square brackets instead of round parentheses for some of them.
Optional: Use
!("negative thinspace") directives to "snug up" subscript terms.Finally, again as @daleif has pointed out, load the
mathtoolspackage and use thexleftrightarrowmacro instead ofmathopleftrightarrowlimits. (At any rate,limitsisn't needed.)
With these observations in mind, I think it's possible to display the equation across three, rather than four, rows.

documentclassarticle
usepackagemathtools % for 'xleftrightarrow' macro
begindocument
beginalign*
M to P_jcolon
Biggl
&biggl[ n_1, n_2, Bigl(
textprofile, N_i,
N_i(xleftrightarrowK_S^i)P_j,
# bigl( N_i(xleftrightarrowK_S^i) P_j bigr)
Bigr)_!K_!P^j
biggr]_K_!P^j, \
&biggl[ n_0, n_1, Bigl(
textprofile, N_i,
N_i(xleftrightarrowK_S^i)P_j,
# bigl( N_i(xleftrightarrowK_S^i)P_j bigr)
Bigr)_!K_!P^j, \
&quad
N_i(xleftrightarrowK_S^i)P_j,
# bigl( N_i(xleftrightarrowK_S^i)P_j bigr),
N_ixleftrightarrown_S^iM
biggr]_K_mathitTS^i = H(K_!P^j oplus n_S^i)
Biggr
endalign*
enddocument
you're right of course, I'll delete my comment
â daleif
Sep 13 at 8:59
add a comment |Â
up vote
7
down vote
up vote
7
down vote
Some suggestions:
Don't overuse curly braces to group math elements. A proliferation of
andsymbols makes the code nearly unreadable -- while doing absolutely nothing for TeX's ability to actually typeset the mess.As @daleif has already pointed out in a comment, do not use
eqnarray: It is seriously deprecated. Usealigninstead. When usingalign, use&only to indicate alignment points. Don't forget to terminate lines with\(double backslash).Don't use
leftandrightfor this multiline equation. It can't work. Instead, usebig,Big,biggandBiggsizing directives.Since there are quite a few parenthetic expressions, consider using square brackets instead of round parentheses for some of them.
Optional: Use
!("negative thinspace") directives to "snug up" subscript terms.Finally, again as @daleif has pointed out, load the
mathtoolspackage and use thexleftrightarrowmacro instead ofmathopleftrightarrowlimits. (At any rate,limitsisn't needed.)
With these observations in mind, I think it's possible to display the equation across three, rather than four, rows.

documentclassarticle
usepackagemathtools % for 'xleftrightarrow' macro
begindocument
beginalign*
M to P_jcolon
Biggl
&biggl[ n_1, n_2, Bigl(
textprofile, N_i,
N_i(xleftrightarrowK_S^i)P_j,
# bigl( N_i(xleftrightarrowK_S^i) P_j bigr)
Bigr)_!K_!P^j
biggr]_K_!P^j, \
&biggl[ n_0, n_1, Bigl(
textprofile, N_i,
N_i(xleftrightarrowK_S^i)P_j,
# bigl( N_i(xleftrightarrowK_S^i)P_j bigr)
Bigr)_!K_!P^j, \
&quad
N_i(xleftrightarrowK_S^i)P_j,
# bigl( N_i(xleftrightarrowK_S^i)P_j bigr),
N_ixleftrightarrown_S^iM
biggr]_K_mathitTS^i = H(K_!P^j oplus n_S^i)
Biggr
endalign*
enddocument
Some suggestions:
Don't overuse curly braces to group math elements. A proliferation of
andsymbols makes the code nearly unreadable -- while doing absolutely nothing for TeX's ability to actually typeset the mess.As @daleif has already pointed out in a comment, do not use
eqnarray: It is seriously deprecated. Usealigninstead. When usingalign, use&only to indicate alignment points. Don't forget to terminate lines with\(double backslash).Don't use
leftandrightfor this multiline equation. It can't work. Instead, usebig,Big,biggandBiggsizing directives.Since there are quite a few parenthetic expressions, consider using square brackets instead of round parentheses for some of them.
Optional: Use
!("negative thinspace") directives to "snug up" subscript terms.Finally, again as @daleif has pointed out, load the
mathtoolspackage and use thexleftrightarrowmacro instead ofmathopleftrightarrowlimits. (At any rate,limitsisn't needed.)
With these observations in mind, I think it's possible to display the equation across three, rather than four, rows.

documentclassarticle
usepackagemathtools % for 'xleftrightarrow' macro
begindocument
beginalign*
M to P_jcolon
Biggl
&biggl[ n_1, n_2, Bigl(
textprofile, N_i,
N_i(xleftrightarrowK_S^i)P_j,
# bigl( N_i(xleftrightarrowK_S^i) P_j bigr)
Bigr)_!K_!P^j
biggr]_K_!P^j, \
&biggl[ n_0, n_1, Bigl(
textprofile, N_i,
N_i(xleftrightarrowK_S^i)P_j,
# bigl( N_i(xleftrightarrowK_S^i)P_j bigr)
Bigr)_!K_!P^j, \
&quad
N_i(xleftrightarrowK_S^i)P_j,
# bigl( N_i(xleftrightarrowK_S^i)P_j bigr),
N_ixleftrightarrown_S^iM
biggr]_K_mathitTS^i = H(K_!P^j oplus n_S^i)
Biggr
endalign*
enddocument
edited Sep 13 at 12:20
answered Sep 13 at 8:23
Mico
264k30355733
264k30355733
you're right of course, I'll delete my comment
â daleif
Sep 13 at 8:59
add a comment |Â
you're right of course, I'll delete my comment
â daleif
Sep 13 at 8:59
you're right of course, I'll delete my comment
â daleif
Sep 13 at 8:59
you're right of course, I'll delete my comment
â daleif
Sep 13 at 8:59
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f450662%2fmulti-line-long-equation-vanishes-few-brackets%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
(1) Never use
eqnarrayit is broken in many ways and only kept for backwards compatability. Use the macros fromamsmath. (2) You cannot!!! break aleft ... rightconstruction across lines, you need to scale these manuallt. From the last image you post, you can clearly see that those fences are way too large, and the readability would benefit greatly by manual scaling. (3) Use a better construction to write aboveleftrightarrow, for example load themathtoolspackage, it provides the missingxleftrightarrow...that is missing fromamsmath.â daleif
Sep 13 at 7:33
1
(4) Also you cannot have
\inside a...group, so you'll need to clean that up as well.â daleif
Sep 13 at 7:36