Equation exceeds single column of IEEE template
The equation is attached here.
begin{multline}label{eq6}
MIleft( {E,{E^t},E_k^n,E_l^m} right) =
sumlimits_i {sumlimits_j {pleft( {{E_i=0},E_j^t=0,E_k^n=0,E_l^m=0} right)
{{log }_2}left( {frac{{pleft( {{E_i=0},E_j^t=0,E_k^n=0,E_l^m=0} right)}}
{{pleft( {{E_i=0}} right)pleft( {E_j^t=0} right)pleft( {E_k^n=0} right)
pleft( {E_l^m=0} right)}}} right)} }+{pleft( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1} right)
{{log }_2}left( {frac{{pleft( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1} right)}}
{{pleft( {{E_i} = 0} right)pleft( {E_j^t = 0} right)
pleft( {E_k^n = 0} right)pleft( {E_l^m = 1} right)}}} right)}
end{multline}
math-mode line-breaking
add a comment |
The equation is attached here.
begin{multline}label{eq6}
MIleft( {E,{E^t},E_k^n,E_l^m} right) =
sumlimits_i {sumlimits_j {pleft( {{E_i=0},E_j^t=0,E_k^n=0,E_l^m=0} right)
{{log }_2}left( {frac{{pleft( {{E_i=0},E_j^t=0,E_k^n=0,E_l^m=0} right)}}
{{pleft( {{E_i=0}} right)pleft( {E_j^t=0} right)pleft( {E_k^n=0} right)
pleft( {E_l^m=0} right)}}} right)} }+{pleft( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1} right)
{{log }_2}left( {frac{{pleft( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1} right)}}
{{pleft( {{E_i} = 0} right)pleft( {E_j^t = 0} right)
pleft( {E_k^n = 0} right)pleft( {E_l^m = 1} right)}}} right)}
end{multline}
math-mode line-breaking
Hi ! Please attach a minimal working example (MWE) for us to be able to help !
– BambOo
Apr 16 '18 at 8:26
Possible duplicate of Equation exceeds one column of IEEE
– Johannes_B
14 mins ago
add a comment |
The equation is attached here.
begin{multline}label{eq6}
MIleft( {E,{E^t},E_k^n,E_l^m} right) =
sumlimits_i {sumlimits_j {pleft( {{E_i=0},E_j^t=0,E_k^n=0,E_l^m=0} right)
{{log }_2}left( {frac{{pleft( {{E_i=0},E_j^t=0,E_k^n=0,E_l^m=0} right)}}
{{pleft( {{E_i=0}} right)pleft( {E_j^t=0} right)pleft( {E_k^n=0} right)
pleft( {E_l^m=0} right)}}} right)} }+{pleft( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1} right)
{{log }_2}left( {frac{{pleft( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1} right)}}
{{pleft( {{E_i} = 0} right)pleft( {E_j^t = 0} right)
pleft( {E_k^n = 0} right)pleft( {E_l^m = 1} right)}}} right)}
end{multline}
math-mode line-breaking
The equation is attached here.
begin{multline}label{eq6}
MIleft( {E,{E^t},E_k^n,E_l^m} right) =
sumlimits_i {sumlimits_j {pleft( {{E_i=0},E_j^t=0,E_k^n=0,E_l^m=0} right)
{{log }_2}left( {frac{{pleft( {{E_i=0},E_j^t=0,E_k^n=0,E_l^m=0} right)}}
{{pleft( {{E_i=0}} right)pleft( {E_j^t=0} right)pleft( {E_k^n=0} right)
pleft( {E_l^m=0} right)}}} right)} }+{pleft( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1} right)
{{log }_2}left( {frac{{pleft( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1} right)}}
{{pleft( {{E_i} = 0} right)pleft( {E_j^t = 0} right)
pleft( {E_k^n = 0} right)pleft( {E_l^m = 1} right)}}} right)}
end{multline}
math-mode line-breaking
math-mode line-breaking
edited 2 mins ago
![](https://i.stack.imgur.com/c7PDj.jpg?s=32&g=1)
![](https://i.stack.imgur.com/c7PDj.jpg?s=32&g=1)
Mico
284k31388778
284k31388778
asked Apr 16 '18 at 8:11
Ghulam HafeezGhulam Hafeez
212
212
Hi ! Please attach a minimal working example (MWE) for us to be able to help !
– BambOo
Apr 16 '18 at 8:26
Possible duplicate of Equation exceeds one column of IEEE
– Johannes_B
14 mins ago
add a comment |
Hi ! Please attach a minimal working example (MWE) for us to be able to help !
– BambOo
Apr 16 '18 at 8:26
Possible duplicate of Equation exceeds one column of IEEE
– Johannes_B
14 mins ago
Hi ! Please attach a minimal working example (MWE) for us to be able to help !
– BambOo
Apr 16 '18 at 8:26
Hi ! Please attach a minimal working example (MWE) for us to be able to help !
– BambOo
Apr 16 '18 at 8:26
Possible duplicate of Equation exceeds one column of IEEE
– Johannes_B
14 mins ago
Possible duplicate of Equation exceeds one column of IEEE
– Johannes_B
14 mins ago
add a comment |
2 Answers
2
active
oldest
votes
With multline
, long equations do not break magically into lines: you have to specify which line breaks you want. You can add the fleqn
environment, from nccmath
to have a nice layout.
Also, you don't need all those pairs braces, so I removed them to have a more readable coe.
documentclass{ieeetran}
usepackage{mathtools, nccmath}
usepackage{lipsum}
begin{document}
lipsum[2]
begin{fleqn}
begin{multline}label{eq6}
MIbigl(E,{E^t},E_k^n,E_l^m bigr) =\
sum_i sum_j pbigl(E_i=0 ,E_j^t=0,E_k^n=0,E_l^m=0bigr)times \[-1ex]
log _2 mathrlap{Biggl(frac{pleft(E_i=0, E_j^t=0, E_k^n=0, E_l^m=0right)}{pleft(E_i=0 right)pleft(E_j^t=0right)pleft(E_k^n=0right)pleft( E_l^m=0 right)}Biggr)} \
{}+pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1right)times{} \
log_2left(frac{pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1 right)}{pleft(E_i = 0 right)pleft(E_j^t = 0right) pleft(E_k^n = 0right) pleft( E_l^m = 1 right)}right)
end{multline}
end{fleqn}
end{document}
add a comment |
You may want something like this:
documentclass{IEEEtran}
usepackage{newtxtext,newtxmath}
usepackage{amsmath}
usepackage[nopar]{lipsum}% just for mock text
begin{document}
lipsum[3]
begin{equation}label{eq6}
begin{aligned}
&MI( {E,{E^t},E_k^n,E_l^m} ) = {}\
&begin{aligned}
sum_i sum_j
&p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0) \
&cdotlog_2biggl(frac{p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0 )}
{p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=0)}
biggr) \
&+p(E_i = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1)\
&cdotlog_2biggl(frac{p(E_i=0,E_j^t=0,E_k^n=0,E_l^m=1)}
{p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=1)}
biggr)
end{aligned}
end{aligned}
end{equation}
lipsum[4]
end{document}
I loaded the newtx...
packages so to have math in Times font.
I also removed all your left
and right
instructions, most of which simply do damage to spacing. Also most of the braces were either useless or even harmful. For instance, you should never type {log}_2
, but only log_2
.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f426768%2fequation-exceeds-single-column-of-ieee-template%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
With multline
, long equations do not break magically into lines: you have to specify which line breaks you want. You can add the fleqn
environment, from nccmath
to have a nice layout.
Also, you don't need all those pairs braces, so I removed them to have a more readable coe.
documentclass{ieeetran}
usepackage{mathtools, nccmath}
usepackage{lipsum}
begin{document}
lipsum[2]
begin{fleqn}
begin{multline}label{eq6}
MIbigl(E,{E^t},E_k^n,E_l^m bigr) =\
sum_i sum_j pbigl(E_i=0 ,E_j^t=0,E_k^n=0,E_l^m=0bigr)times \[-1ex]
log _2 mathrlap{Biggl(frac{pleft(E_i=0, E_j^t=0, E_k^n=0, E_l^m=0right)}{pleft(E_i=0 right)pleft(E_j^t=0right)pleft(E_k^n=0right)pleft( E_l^m=0 right)}Biggr)} \
{}+pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1right)times{} \
log_2left(frac{pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1 right)}{pleft(E_i = 0 right)pleft(E_j^t = 0right) pleft(E_k^n = 0right) pleft( E_l^m = 1 right)}right)
end{multline}
end{fleqn}
end{document}
add a comment |
With multline
, long equations do not break magically into lines: you have to specify which line breaks you want. You can add the fleqn
environment, from nccmath
to have a nice layout.
Also, you don't need all those pairs braces, so I removed them to have a more readable coe.
documentclass{ieeetran}
usepackage{mathtools, nccmath}
usepackage{lipsum}
begin{document}
lipsum[2]
begin{fleqn}
begin{multline}label{eq6}
MIbigl(E,{E^t},E_k^n,E_l^m bigr) =\
sum_i sum_j pbigl(E_i=0 ,E_j^t=0,E_k^n=0,E_l^m=0bigr)times \[-1ex]
log _2 mathrlap{Biggl(frac{pleft(E_i=0, E_j^t=0, E_k^n=0, E_l^m=0right)}{pleft(E_i=0 right)pleft(E_j^t=0right)pleft(E_k^n=0right)pleft( E_l^m=0 right)}Biggr)} \
{}+pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1right)times{} \
log_2left(frac{pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1 right)}{pleft(E_i = 0 right)pleft(E_j^t = 0right) pleft(E_k^n = 0right) pleft( E_l^m = 1 right)}right)
end{multline}
end{fleqn}
end{document}
add a comment |
With multline
, long equations do not break magically into lines: you have to specify which line breaks you want. You can add the fleqn
environment, from nccmath
to have a nice layout.
Also, you don't need all those pairs braces, so I removed them to have a more readable coe.
documentclass{ieeetran}
usepackage{mathtools, nccmath}
usepackage{lipsum}
begin{document}
lipsum[2]
begin{fleqn}
begin{multline}label{eq6}
MIbigl(E,{E^t},E_k^n,E_l^m bigr) =\
sum_i sum_j pbigl(E_i=0 ,E_j^t=0,E_k^n=0,E_l^m=0bigr)times \[-1ex]
log _2 mathrlap{Biggl(frac{pleft(E_i=0, E_j^t=0, E_k^n=0, E_l^m=0right)}{pleft(E_i=0 right)pleft(E_j^t=0right)pleft(E_k^n=0right)pleft( E_l^m=0 right)}Biggr)} \
{}+pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1right)times{} \
log_2left(frac{pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1 right)}{pleft(E_i = 0 right)pleft(E_j^t = 0right) pleft(E_k^n = 0right) pleft( E_l^m = 1 right)}right)
end{multline}
end{fleqn}
end{document}
With multline
, long equations do not break magically into lines: you have to specify which line breaks you want. You can add the fleqn
environment, from nccmath
to have a nice layout.
Also, you don't need all those pairs braces, so I removed them to have a more readable coe.
documentclass{ieeetran}
usepackage{mathtools, nccmath}
usepackage{lipsum}
begin{document}
lipsum[2]
begin{fleqn}
begin{multline}label{eq6}
MIbigl(E,{E^t},E_k^n,E_l^m bigr) =\
sum_i sum_j pbigl(E_i=0 ,E_j^t=0,E_k^n=0,E_l^m=0bigr)times \[-1ex]
log _2 mathrlap{Biggl(frac{pleft(E_i=0, E_j^t=0, E_k^n=0, E_l^m=0right)}{pleft(E_i=0 right)pleft(E_j^t=0right)pleft(E_k^n=0right)pleft( E_l^m=0 right)}Biggr)} \
{}+pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1right)times{} \
log_2left(frac{pleft(E_i = 0, E_j^t = 0, E_k^n = 0,E_l^m = 1 right)}{pleft(E_i = 0 right)pleft(E_j^t = 0right) pleft(E_k^n = 0right) pleft( E_l^m = 1 right)}right)
end{multline}
end{fleqn}
end{document}
answered Apr 16 '18 at 9:18
BernardBernard
174k776206
174k776206
add a comment |
add a comment |
You may want something like this:
documentclass{IEEEtran}
usepackage{newtxtext,newtxmath}
usepackage{amsmath}
usepackage[nopar]{lipsum}% just for mock text
begin{document}
lipsum[3]
begin{equation}label{eq6}
begin{aligned}
&MI( {E,{E^t},E_k^n,E_l^m} ) = {}\
&begin{aligned}
sum_i sum_j
&p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0) \
&cdotlog_2biggl(frac{p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0 )}
{p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=0)}
biggr) \
&+p(E_i = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1)\
&cdotlog_2biggl(frac{p(E_i=0,E_j^t=0,E_k^n=0,E_l^m=1)}
{p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=1)}
biggr)
end{aligned}
end{aligned}
end{equation}
lipsum[4]
end{document}
I loaded the newtx...
packages so to have math in Times font.
I also removed all your left
and right
instructions, most of which simply do damage to spacing. Also most of the braces were either useless or even harmful. For instance, you should never type {log}_2
, but only log_2
.
add a comment |
You may want something like this:
documentclass{IEEEtran}
usepackage{newtxtext,newtxmath}
usepackage{amsmath}
usepackage[nopar]{lipsum}% just for mock text
begin{document}
lipsum[3]
begin{equation}label{eq6}
begin{aligned}
&MI( {E,{E^t},E_k^n,E_l^m} ) = {}\
&begin{aligned}
sum_i sum_j
&p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0) \
&cdotlog_2biggl(frac{p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0 )}
{p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=0)}
biggr) \
&+p(E_i = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1)\
&cdotlog_2biggl(frac{p(E_i=0,E_j^t=0,E_k^n=0,E_l^m=1)}
{p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=1)}
biggr)
end{aligned}
end{aligned}
end{equation}
lipsum[4]
end{document}
I loaded the newtx...
packages so to have math in Times font.
I also removed all your left
and right
instructions, most of which simply do damage to spacing. Also most of the braces were either useless or even harmful. For instance, you should never type {log}_2
, but only log_2
.
add a comment |
You may want something like this:
documentclass{IEEEtran}
usepackage{newtxtext,newtxmath}
usepackage{amsmath}
usepackage[nopar]{lipsum}% just for mock text
begin{document}
lipsum[3]
begin{equation}label{eq6}
begin{aligned}
&MI( {E,{E^t},E_k^n,E_l^m} ) = {}\
&begin{aligned}
sum_i sum_j
&p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0) \
&cdotlog_2biggl(frac{p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0 )}
{p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=0)}
biggr) \
&+p(E_i = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1)\
&cdotlog_2biggl(frac{p(E_i=0,E_j^t=0,E_k^n=0,E_l^m=1)}
{p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=1)}
biggr)
end{aligned}
end{aligned}
end{equation}
lipsum[4]
end{document}
I loaded the newtx...
packages so to have math in Times font.
I also removed all your left
and right
instructions, most of which simply do damage to spacing. Also most of the braces were either useless or even harmful. For instance, you should never type {log}_2
, but only log_2
.
You may want something like this:
documentclass{IEEEtran}
usepackage{newtxtext,newtxmath}
usepackage{amsmath}
usepackage[nopar]{lipsum}% just for mock text
begin{document}
lipsum[3]
begin{equation}label{eq6}
begin{aligned}
&MI( {E,{E^t},E_k^n,E_l^m} ) = {}\
&begin{aligned}
sum_i sum_j
&p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0) \
&cdotlog_2biggl(frac{p( E_i=0,E_j^t=0,E_k^n=0,E_l^m=0 )}
{p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=0)}
biggr) \
&+p(E_i = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1)\
&cdotlog_2biggl(frac{p(E_i=0,E_j^t=0,E_k^n=0,E_l^m=1)}
{p(E_i=0)p(E_j^t=0)p(E_k^n=0)p(E_l^m=1)}
biggr)
end{aligned}
end{aligned}
end{equation}
lipsum[4]
end{document}
I loaded the newtx...
packages so to have math in Times font.
I also removed all your left
and right
instructions, most of which simply do damage to spacing. Also most of the braces were either useless or even harmful. For instance, you should never type {log}_2
, but only log_2
.
answered Apr 16 '18 at 8:38
![](https://i.stack.imgur.com/wJWMb.png?s=32&g=1)
![](https://i.stack.imgur.com/wJWMb.png?s=32&g=1)
egregegreg
728k8819243235
728k8819243235
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f426768%2fequation-exceeds-single-column-of-ieee-template%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Hi ! Please attach a minimal working example (MWE) for us to be able to help !
– BambOo
Apr 16 '18 at 8:26
Possible duplicate of Equation exceeds one column of IEEE
– Johannes_B
14 mins ago