Removing space between sum and its correspondent value with only one number representing all the equations












2















In fact, I want to know how can I remove space in the second sum of the first expression and also to have a good equations design represented with only one number. Here is the code:



documentclass{article}
usepackage{mathtools}
begin{document}
begin{align}
U_{c}(1) &= sum_{n=1}^{4}( U_{e}(n)timessum_{k=n+10}^{14}U_{Delta e}(k)) ; U_{c}(2)&= sum_{n=1}^{4}U_{e}(n)times U_{Delta e}(n+9)\ U_{c}(3)&= sum_{n=1}^{6}U_{e}(n)times U_{Delta e}(n+8); U_{c}(4)&= sum_{n=1}^{7}U_{e}(n)times U_{Delta e}(n+7)\
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n)times U_{Delta e}(n+5); U_{c}(6)&= sum_{n=3}^{7}U_{e}(n)times U_{Delta e}(n+5)\
U_{c}(7)&= sum_{n=8}^{11}( U_{e}(n)timessum_{k=n-4}^{7}U_{Delta e}(k))
end{align}
end{document}


To have like:



enter image description here










share|improve this question

























  • Don't accept my answer if it doesn't really solve your problem.

    – Skillmon
    Jan 21 at 19:34






  • 1





    I wouldn't do this. It worsens legibility a lot, since one expects the equation numbers to be at the right margin and not somewhere inside the paragraph. I wouldn't find this equation if it was referenced.

    – Skillmon
    Jan 21 at 19:35











  • This question is not clear. The added image doesn't make it any more clear.

    – Werner
    Jan 22 at 1:27
















2















In fact, I want to know how can I remove space in the second sum of the first expression and also to have a good equations design represented with only one number. Here is the code:



documentclass{article}
usepackage{mathtools}
begin{document}
begin{align}
U_{c}(1) &= sum_{n=1}^{4}( U_{e}(n)timessum_{k=n+10}^{14}U_{Delta e}(k)) ; U_{c}(2)&= sum_{n=1}^{4}U_{e}(n)times U_{Delta e}(n+9)\ U_{c}(3)&= sum_{n=1}^{6}U_{e}(n)times U_{Delta e}(n+8); U_{c}(4)&= sum_{n=1}^{7}U_{e}(n)times U_{Delta e}(n+7)\
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n)times U_{Delta e}(n+5); U_{c}(6)&= sum_{n=3}^{7}U_{e}(n)times U_{Delta e}(n+5)\
U_{c}(7)&= sum_{n=8}^{11}( U_{e}(n)timessum_{k=n-4}^{7}U_{Delta e}(k))
end{align}
end{document}


To have like:



enter image description here










share|improve this question

























  • Don't accept my answer if it doesn't really solve your problem.

    – Skillmon
    Jan 21 at 19:34






  • 1





    I wouldn't do this. It worsens legibility a lot, since one expects the equation numbers to be at the right margin and not somewhere inside the paragraph. I wouldn't find this equation if it was referenced.

    – Skillmon
    Jan 21 at 19:35











  • This question is not clear. The added image doesn't make it any more clear.

    – Werner
    Jan 22 at 1:27














2












2








2








In fact, I want to know how can I remove space in the second sum of the first expression and also to have a good equations design represented with only one number. Here is the code:



documentclass{article}
usepackage{mathtools}
begin{document}
begin{align}
U_{c}(1) &= sum_{n=1}^{4}( U_{e}(n)timessum_{k=n+10}^{14}U_{Delta e}(k)) ; U_{c}(2)&= sum_{n=1}^{4}U_{e}(n)times U_{Delta e}(n+9)\ U_{c}(3)&= sum_{n=1}^{6}U_{e}(n)times U_{Delta e}(n+8); U_{c}(4)&= sum_{n=1}^{7}U_{e}(n)times U_{Delta e}(n+7)\
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n)times U_{Delta e}(n+5); U_{c}(6)&= sum_{n=3}^{7}U_{e}(n)times U_{Delta e}(n+5)\
U_{c}(7)&= sum_{n=8}^{11}( U_{e}(n)timessum_{k=n-4}^{7}U_{Delta e}(k))
end{align}
end{document}


To have like:



enter image description here










share|improve this question
















In fact, I want to know how can I remove space in the second sum of the first expression and also to have a good equations design represented with only one number. Here is the code:



documentclass{article}
usepackage{mathtools}
begin{document}
begin{align}
U_{c}(1) &= sum_{n=1}^{4}( U_{e}(n)timessum_{k=n+10}^{14}U_{Delta e}(k)) ; U_{c}(2)&= sum_{n=1}^{4}U_{e}(n)times U_{Delta e}(n+9)\ U_{c}(3)&= sum_{n=1}^{6}U_{e}(n)times U_{Delta e}(n+8); U_{c}(4)&= sum_{n=1}^{7}U_{e}(n)times U_{Delta e}(n+7)\
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n)times U_{Delta e}(n+5); U_{c}(6)&= sum_{n=3}^{7}U_{e}(n)times U_{Delta e}(n+5)\
U_{c}(7)&= sum_{n=8}^{11}( U_{e}(n)timessum_{k=n-4}^{7}U_{Delta e}(k))
end{align}
end{document}


To have like:



enter image description here







numbering






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 21 at 19:33







kerdouj kardouj

















asked Jan 21 at 19:15









kerdouj kardoujkerdouj kardouj

1185




1185













  • Don't accept my answer if it doesn't really solve your problem.

    – Skillmon
    Jan 21 at 19:34






  • 1





    I wouldn't do this. It worsens legibility a lot, since one expects the equation numbers to be at the right margin and not somewhere inside the paragraph. I wouldn't find this equation if it was referenced.

    – Skillmon
    Jan 21 at 19:35











  • This question is not clear. The added image doesn't make it any more clear.

    – Werner
    Jan 22 at 1:27



















  • Don't accept my answer if it doesn't really solve your problem.

    – Skillmon
    Jan 21 at 19:34






  • 1





    I wouldn't do this. It worsens legibility a lot, since one expects the equation numbers to be at the right margin and not somewhere inside the paragraph. I wouldn't find this equation if it was referenced.

    – Skillmon
    Jan 21 at 19:35











  • This question is not clear. The added image doesn't make it any more clear.

    – Werner
    Jan 22 at 1:27

















Don't accept my answer if it doesn't really solve your problem.

– Skillmon
Jan 21 at 19:34





Don't accept my answer if it doesn't really solve your problem.

– Skillmon
Jan 21 at 19:34




1




1





I wouldn't do this. It worsens legibility a lot, since one expects the equation numbers to be at the right margin and not somewhere inside the paragraph. I wouldn't find this equation if it was referenced.

– Skillmon
Jan 21 at 19:35





I wouldn't do this. It worsens legibility a lot, since one expects the equation numbers to be at the right margin and not somewhere inside the paragraph. I wouldn't find this equation if it was referenced.

– Skillmon
Jan 21 at 19:35













This question is not clear. The added image doesn't make it any more clear.

– Werner
Jan 22 at 1:27





This question is not clear. The added image doesn't make it any more clear.

– Werner
Jan 22 at 1:27










2 Answers
2






active

oldest

votes


















9














Some suggestions:




  • Use side-by-side minipage environments, for the groups of 4 and 3 equations, respectively


  • Inside the minipage environments, use equation and split environments to achieve the required style of equation numbering


  • Replace all times directives with thinspace


  • Enlarge the "outer" parentheses in the first and last equations in the left-hand-side minipage


  • Use mathclap to "snug up" the spacing around the sum symbols in two cases


  • Optional: replace all instances of U_{Delta with U_{!Delta, to tighten up the spacing between U and the subscript-Delta symbol



Still another suggestion/observation, echoing the remark by @Skillmon: If the large curly braces are placed to the left of the blocks of equations, as indicated by the screenshot you posted, it's not going to be easy for your readers to notice the equation numbers on the right. Assuming you want to go with the proposed layout, it may be (a lot) better if the large curly braces are placed on the right, so that they direct the reader's eye to the associated equation number.



enter image description here



documentclass{article}
usepackage{mathtools} % for 'mathclap' macro
begin{document}

%% First solution: Curly braces placed on left-hand side
noindent
begin{minipage}[t]{0.5linewidth}
begin{equation}
left{begin{split}
U_{c}(1)&= sum_{n=1}^{4}Bigl( U_{e}(n)
sum_{mathclap{k=n+10}}^{14}U_{!Delta e}(k) Bigr) \
U_{c}(3)&= sum_{n=1}^{6}U_{e}(n), U_{!Delta e}(n+8) \
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n), U_{!Delta e}(n+5) \
U_{c}(7)&= sum_{n=8}^{11}Bigl( U_{e}(n)
sum_{mathclap{k=n-4}}^{7}U_{!Delta e}(k) Bigr)
end{split}right.
end{equation}
end{minipage}%
hfill % maximize horizontal distance between the minipage environments
begin{minipage}[t]{0.47linewidth}
begin{equation}
left{begin{split}
U_{c}(2)&= sum_{n=1}^{4}U_{e}(n), U_{!Delta e}(n+9)\
U_{c}(4)&= sum_{n=1}^{7}U_{e}(n), U_{!Delta e}(n+7)\
U_{c}(6)&= sum_{n=3}^{7}U_{e}(n), U_{!Delta e}(n+5)
end{split}right.
end{equation}
end{minipage}

%% Second solution: Curly braces placed on right-hand side
noindent
begin{minipage}{0.5linewidth}
begin{equation}
left.begin{split}
U_{c}(1)&= sum_{n=1}^{4}Bigl( U_{e}(n)
sum_{mathclap{k=n+10}}^{14}U_{!Delta e}(k) Bigr) \
U_{c}(3)&= sum_{n=1}^{6}U_{e}(n), U_{!Delta e}(n+8) \
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n), U_{!Delta e}(n+5) \
U_{c}(7)&= sum_{n=8}^{11}Bigl( U_{e}(n)
sum_{mathclap{k=n-4}}^{7}U_{!Delta e}(k) Bigr)
end{split}right}
end{equation}
end{minipage}%
hfill % maximize horizontal distance between the minipage environments
begin{minipage}{0.47linewidth}
begin{equation}
left.begin{split}
U_{c}(2)&= sum_{n=1}^{4}U_{e}(n), U_{!Delta e}(n+9)\
U_{c}(4)&= sum_{n=1}^{7}U_{e}(n), U_{!Delta e}(n+7)\
U_{c}(6)&= sum_{n=3}^{7}U_{e}(n), U_{!Delta e}(n+5)
end{split}right}
end{equation}
end{minipage}

end{document}





share|improve this answer


























  • Very useful tips indeed. Still wouldn't do the second tag inside of the text block. This is bound to annoy readers.

    – Skillmon
    Jan 21 at 23:30











  • @Skillmon - I fully agree with your comment. I've augmented my answer to post a second solution, with the curly braces placed on the right, pointing towards the associated equation numbers.

    – Mico
    Jan 22 at 0:14











  • Thank you very much @miko I liked the second solution since the expressions on the right are on the center but how can I have the curly braces on the left ?

    – kerdouj kardouj
    Jan 22 at 11:31













  • @kerdoujkardouj - I'm not sure I understand what you mean by "expressions ... are on the center" or why you ask, "how can I have the curly braces on the left?". The first solution shows exactly how to place the curly braces on the left, doesn't it? And why do you write that you like the second solution, while evidently not liking its placement of the curly braces on the right? Please clarify.

    – Mico
    Jan 22 at 12:37








  • 1





    Great it works fine now thank you very much @Mico, I just didn't know about the command I was changing left. to right. and left{ to right{

    – kerdouj kardouj
    Jan 22 at 15:13



















6














The space is caused by the sum's subscript. If you remove the subscript's width, you get tight spacing. Also you miss an additional & in places where you put a ;, to start a new column with the alignment at the =.



documentclass{article}
usepackage{mathtools}
begin{document}
begin{equation}
left[begin{aligned}
U_{c}(1) &= sum_{n=1}^{4}( U_{e}(n)timessum_{mathclap{k=n+10}}^{14}U_{Delta e}(k)) ;& U_{c}(2)&= sum_{n=1}^{4}U_{e}(n)times U_{Delta e}(n+9)\
U_{c}(3)&= sum_{n=1}^{6}U_{e}(n)times U_{Delta e}(n+8) ;& U_{c}(4)&= sum_{n=1}^{7}U_{e}(n)times U_{Delta e}(n+7)\
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n)times U_{Delta e}(n+5) ;& U_{c}(6)&= sum_{n=3}^{7}U_{e}(n)times U_{Delta e}(n+5)\
U_{c}(7)&= sum_{n=8}^{11}( U_{e}(n)timessum_{k=n-4}^{7}U_{Delta e}(k))
end{aligned}right]
end{equation}
end{document}


enter image description here






share|improve this answer


























  • But why is U_c(2) far from its expression and also I want these equations to be reprsented by one number instead of 4 with one bracket

    – kerdouj kardouj
    Jan 21 at 19:23













  • @kerdoujkardouj that is because you miss an additional &. See my edit. Not sure whether I got your second half right this time, though.

    – Skillmon
    Jan 21 at 19:26













  • Ah okay thank you very much @Skillmon, if I want to represent the pair expressions inside a bracket how can I do it

    – kerdouj kardouj
    Jan 21 at 19:29











  • @kerdoujkardouj adding a bit of kerning next to the brackets might enhance the look.

    – Skillmon
    Jan 21 at 19:33











  • can you please look at the edit so you can see what I want to do

    – kerdouj kardouj
    Jan 21 at 19:42











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f471186%2fremoving-space-between-sum-and-its-correspondent-value-with-only-one-number-repr%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









9














Some suggestions:




  • Use side-by-side minipage environments, for the groups of 4 and 3 equations, respectively


  • Inside the minipage environments, use equation and split environments to achieve the required style of equation numbering


  • Replace all times directives with thinspace


  • Enlarge the "outer" parentheses in the first and last equations in the left-hand-side minipage


  • Use mathclap to "snug up" the spacing around the sum symbols in two cases


  • Optional: replace all instances of U_{Delta with U_{!Delta, to tighten up the spacing between U and the subscript-Delta symbol



Still another suggestion/observation, echoing the remark by @Skillmon: If the large curly braces are placed to the left of the blocks of equations, as indicated by the screenshot you posted, it's not going to be easy for your readers to notice the equation numbers on the right. Assuming you want to go with the proposed layout, it may be (a lot) better if the large curly braces are placed on the right, so that they direct the reader's eye to the associated equation number.



enter image description here



documentclass{article}
usepackage{mathtools} % for 'mathclap' macro
begin{document}

%% First solution: Curly braces placed on left-hand side
noindent
begin{minipage}[t]{0.5linewidth}
begin{equation}
left{begin{split}
U_{c}(1)&= sum_{n=1}^{4}Bigl( U_{e}(n)
sum_{mathclap{k=n+10}}^{14}U_{!Delta e}(k) Bigr) \
U_{c}(3)&= sum_{n=1}^{6}U_{e}(n), U_{!Delta e}(n+8) \
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n), U_{!Delta e}(n+5) \
U_{c}(7)&= sum_{n=8}^{11}Bigl( U_{e}(n)
sum_{mathclap{k=n-4}}^{7}U_{!Delta e}(k) Bigr)
end{split}right.
end{equation}
end{minipage}%
hfill % maximize horizontal distance between the minipage environments
begin{minipage}[t]{0.47linewidth}
begin{equation}
left{begin{split}
U_{c}(2)&= sum_{n=1}^{4}U_{e}(n), U_{!Delta e}(n+9)\
U_{c}(4)&= sum_{n=1}^{7}U_{e}(n), U_{!Delta e}(n+7)\
U_{c}(6)&= sum_{n=3}^{7}U_{e}(n), U_{!Delta e}(n+5)
end{split}right.
end{equation}
end{minipage}

%% Second solution: Curly braces placed on right-hand side
noindent
begin{minipage}{0.5linewidth}
begin{equation}
left.begin{split}
U_{c}(1)&= sum_{n=1}^{4}Bigl( U_{e}(n)
sum_{mathclap{k=n+10}}^{14}U_{!Delta e}(k) Bigr) \
U_{c}(3)&= sum_{n=1}^{6}U_{e}(n), U_{!Delta e}(n+8) \
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n), U_{!Delta e}(n+5) \
U_{c}(7)&= sum_{n=8}^{11}Bigl( U_{e}(n)
sum_{mathclap{k=n-4}}^{7}U_{!Delta e}(k) Bigr)
end{split}right}
end{equation}
end{minipage}%
hfill % maximize horizontal distance between the minipage environments
begin{minipage}{0.47linewidth}
begin{equation}
left.begin{split}
U_{c}(2)&= sum_{n=1}^{4}U_{e}(n), U_{!Delta e}(n+9)\
U_{c}(4)&= sum_{n=1}^{7}U_{e}(n), U_{!Delta e}(n+7)\
U_{c}(6)&= sum_{n=3}^{7}U_{e}(n), U_{!Delta e}(n+5)
end{split}right}
end{equation}
end{minipage}

end{document}





share|improve this answer


























  • Very useful tips indeed. Still wouldn't do the second tag inside of the text block. This is bound to annoy readers.

    – Skillmon
    Jan 21 at 23:30











  • @Skillmon - I fully agree with your comment. I've augmented my answer to post a second solution, with the curly braces placed on the right, pointing towards the associated equation numbers.

    – Mico
    Jan 22 at 0:14











  • Thank you very much @miko I liked the second solution since the expressions on the right are on the center but how can I have the curly braces on the left ?

    – kerdouj kardouj
    Jan 22 at 11:31













  • @kerdoujkardouj - I'm not sure I understand what you mean by "expressions ... are on the center" or why you ask, "how can I have the curly braces on the left?". The first solution shows exactly how to place the curly braces on the left, doesn't it? And why do you write that you like the second solution, while evidently not liking its placement of the curly braces on the right? Please clarify.

    – Mico
    Jan 22 at 12:37








  • 1





    Great it works fine now thank you very much @Mico, I just didn't know about the command I was changing left. to right. and left{ to right{

    – kerdouj kardouj
    Jan 22 at 15:13
















9














Some suggestions:




  • Use side-by-side minipage environments, for the groups of 4 and 3 equations, respectively


  • Inside the minipage environments, use equation and split environments to achieve the required style of equation numbering


  • Replace all times directives with thinspace


  • Enlarge the "outer" parentheses in the first and last equations in the left-hand-side minipage


  • Use mathclap to "snug up" the spacing around the sum symbols in two cases


  • Optional: replace all instances of U_{Delta with U_{!Delta, to tighten up the spacing between U and the subscript-Delta symbol



Still another suggestion/observation, echoing the remark by @Skillmon: If the large curly braces are placed to the left of the blocks of equations, as indicated by the screenshot you posted, it's not going to be easy for your readers to notice the equation numbers on the right. Assuming you want to go with the proposed layout, it may be (a lot) better if the large curly braces are placed on the right, so that they direct the reader's eye to the associated equation number.



enter image description here



documentclass{article}
usepackage{mathtools} % for 'mathclap' macro
begin{document}

%% First solution: Curly braces placed on left-hand side
noindent
begin{minipage}[t]{0.5linewidth}
begin{equation}
left{begin{split}
U_{c}(1)&= sum_{n=1}^{4}Bigl( U_{e}(n)
sum_{mathclap{k=n+10}}^{14}U_{!Delta e}(k) Bigr) \
U_{c}(3)&= sum_{n=1}^{6}U_{e}(n), U_{!Delta e}(n+8) \
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n), U_{!Delta e}(n+5) \
U_{c}(7)&= sum_{n=8}^{11}Bigl( U_{e}(n)
sum_{mathclap{k=n-4}}^{7}U_{!Delta e}(k) Bigr)
end{split}right.
end{equation}
end{minipage}%
hfill % maximize horizontal distance between the minipage environments
begin{minipage}[t]{0.47linewidth}
begin{equation}
left{begin{split}
U_{c}(2)&= sum_{n=1}^{4}U_{e}(n), U_{!Delta e}(n+9)\
U_{c}(4)&= sum_{n=1}^{7}U_{e}(n), U_{!Delta e}(n+7)\
U_{c}(6)&= sum_{n=3}^{7}U_{e}(n), U_{!Delta e}(n+5)
end{split}right.
end{equation}
end{minipage}

%% Second solution: Curly braces placed on right-hand side
noindent
begin{minipage}{0.5linewidth}
begin{equation}
left.begin{split}
U_{c}(1)&= sum_{n=1}^{4}Bigl( U_{e}(n)
sum_{mathclap{k=n+10}}^{14}U_{!Delta e}(k) Bigr) \
U_{c}(3)&= sum_{n=1}^{6}U_{e}(n), U_{!Delta e}(n+8) \
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n), U_{!Delta e}(n+5) \
U_{c}(7)&= sum_{n=8}^{11}Bigl( U_{e}(n)
sum_{mathclap{k=n-4}}^{7}U_{!Delta e}(k) Bigr)
end{split}right}
end{equation}
end{minipage}%
hfill % maximize horizontal distance between the minipage environments
begin{minipage}{0.47linewidth}
begin{equation}
left.begin{split}
U_{c}(2)&= sum_{n=1}^{4}U_{e}(n), U_{!Delta e}(n+9)\
U_{c}(4)&= sum_{n=1}^{7}U_{e}(n), U_{!Delta e}(n+7)\
U_{c}(6)&= sum_{n=3}^{7}U_{e}(n), U_{!Delta e}(n+5)
end{split}right}
end{equation}
end{minipage}

end{document}





share|improve this answer


























  • Very useful tips indeed. Still wouldn't do the second tag inside of the text block. This is bound to annoy readers.

    – Skillmon
    Jan 21 at 23:30











  • @Skillmon - I fully agree with your comment. I've augmented my answer to post a second solution, with the curly braces placed on the right, pointing towards the associated equation numbers.

    – Mico
    Jan 22 at 0:14











  • Thank you very much @miko I liked the second solution since the expressions on the right are on the center but how can I have the curly braces on the left ?

    – kerdouj kardouj
    Jan 22 at 11:31













  • @kerdoujkardouj - I'm not sure I understand what you mean by "expressions ... are on the center" or why you ask, "how can I have the curly braces on the left?". The first solution shows exactly how to place the curly braces on the left, doesn't it? And why do you write that you like the second solution, while evidently not liking its placement of the curly braces on the right? Please clarify.

    – Mico
    Jan 22 at 12:37








  • 1





    Great it works fine now thank you very much @Mico, I just didn't know about the command I was changing left. to right. and left{ to right{

    – kerdouj kardouj
    Jan 22 at 15:13














9












9








9







Some suggestions:




  • Use side-by-side minipage environments, for the groups of 4 and 3 equations, respectively


  • Inside the minipage environments, use equation and split environments to achieve the required style of equation numbering


  • Replace all times directives with thinspace


  • Enlarge the "outer" parentheses in the first and last equations in the left-hand-side minipage


  • Use mathclap to "snug up" the spacing around the sum symbols in two cases


  • Optional: replace all instances of U_{Delta with U_{!Delta, to tighten up the spacing between U and the subscript-Delta symbol



Still another suggestion/observation, echoing the remark by @Skillmon: If the large curly braces are placed to the left of the blocks of equations, as indicated by the screenshot you posted, it's not going to be easy for your readers to notice the equation numbers on the right. Assuming you want to go with the proposed layout, it may be (a lot) better if the large curly braces are placed on the right, so that they direct the reader's eye to the associated equation number.



enter image description here



documentclass{article}
usepackage{mathtools} % for 'mathclap' macro
begin{document}

%% First solution: Curly braces placed on left-hand side
noindent
begin{minipage}[t]{0.5linewidth}
begin{equation}
left{begin{split}
U_{c}(1)&= sum_{n=1}^{4}Bigl( U_{e}(n)
sum_{mathclap{k=n+10}}^{14}U_{!Delta e}(k) Bigr) \
U_{c}(3)&= sum_{n=1}^{6}U_{e}(n), U_{!Delta e}(n+8) \
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n), U_{!Delta e}(n+5) \
U_{c}(7)&= sum_{n=8}^{11}Bigl( U_{e}(n)
sum_{mathclap{k=n-4}}^{7}U_{!Delta e}(k) Bigr)
end{split}right.
end{equation}
end{minipage}%
hfill % maximize horizontal distance between the minipage environments
begin{minipage}[t]{0.47linewidth}
begin{equation}
left{begin{split}
U_{c}(2)&= sum_{n=1}^{4}U_{e}(n), U_{!Delta e}(n+9)\
U_{c}(4)&= sum_{n=1}^{7}U_{e}(n), U_{!Delta e}(n+7)\
U_{c}(6)&= sum_{n=3}^{7}U_{e}(n), U_{!Delta e}(n+5)
end{split}right.
end{equation}
end{minipage}

%% Second solution: Curly braces placed on right-hand side
noindent
begin{minipage}{0.5linewidth}
begin{equation}
left.begin{split}
U_{c}(1)&= sum_{n=1}^{4}Bigl( U_{e}(n)
sum_{mathclap{k=n+10}}^{14}U_{!Delta e}(k) Bigr) \
U_{c}(3)&= sum_{n=1}^{6}U_{e}(n), U_{!Delta e}(n+8) \
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n), U_{!Delta e}(n+5) \
U_{c}(7)&= sum_{n=8}^{11}Bigl( U_{e}(n)
sum_{mathclap{k=n-4}}^{7}U_{!Delta e}(k) Bigr)
end{split}right}
end{equation}
end{minipage}%
hfill % maximize horizontal distance between the minipage environments
begin{minipage}{0.47linewidth}
begin{equation}
left.begin{split}
U_{c}(2)&= sum_{n=1}^{4}U_{e}(n), U_{!Delta e}(n+9)\
U_{c}(4)&= sum_{n=1}^{7}U_{e}(n), U_{!Delta e}(n+7)\
U_{c}(6)&= sum_{n=3}^{7}U_{e}(n), U_{!Delta e}(n+5)
end{split}right}
end{equation}
end{minipage}

end{document}





share|improve this answer















Some suggestions:




  • Use side-by-side minipage environments, for the groups of 4 and 3 equations, respectively


  • Inside the minipage environments, use equation and split environments to achieve the required style of equation numbering


  • Replace all times directives with thinspace


  • Enlarge the "outer" parentheses in the first and last equations in the left-hand-side minipage


  • Use mathclap to "snug up" the spacing around the sum symbols in two cases


  • Optional: replace all instances of U_{Delta with U_{!Delta, to tighten up the spacing between U and the subscript-Delta symbol



Still another suggestion/observation, echoing the remark by @Skillmon: If the large curly braces are placed to the left of the blocks of equations, as indicated by the screenshot you posted, it's not going to be easy for your readers to notice the equation numbers on the right. Assuming you want to go with the proposed layout, it may be (a lot) better if the large curly braces are placed on the right, so that they direct the reader's eye to the associated equation number.



enter image description here



documentclass{article}
usepackage{mathtools} % for 'mathclap' macro
begin{document}

%% First solution: Curly braces placed on left-hand side
noindent
begin{minipage}[t]{0.5linewidth}
begin{equation}
left{begin{split}
U_{c}(1)&= sum_{n=1}^{4}Bigl( U_{e}(n)
sum_{mathclap{k=n+10}}^{14}U_{!Delta e}(k) Bigr) \
U_{c}(3)&= sum_{n=1}^{6}U_{e}(n), U_{!Delta e}(n+8) \
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n), U_{!Delta e}(n+5) \
U_{c}(7)&= sum_{n=8}^{11}Bigl( U_{e}(n)
sum_{mathclap{k=n-4}}^{7}U_{!Delta e}(k) Bigr)
end{split}right.
end{equation}
end{minipage}%
hfill % maximize horizontal distance between the minipage environments
begin{minipage}[t]{0.47linewidth}
begin{equation}
left{begin{split}
U_{c}(2)&= sum_{n=1}^{4}U_{e}(n), U_{!Delta e}(n+9)\
U_{c}(4)&= sum_{n=1}^{7}U_{e}(n), U_{!Delta e}(n+7)\
U_{c}(6)&= sum_{n=3}^{7}U_{e}(n), U_{!Delta e}(n+5)
end{split}right.
end{equation}
end{minipage}

%% Second solution: Curly braces placed on right-hand side
noindent
begin{minipage}{0.5linewidth}
begin{equation}
left.begin{split}
U_{c}(1)&= sum_{n=1}^{4}Bigl( U_{e}(n)
sum_{mathclap{k=n+10}}^{14}U_{!Delta e}(k) Bigr) \
U_{c}(3)&= sum_{n=1}^{6}U_{e}(n), U_{!Delta e}(n+8) \
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n), U_{!Delta e}(n+5) \
U_{c}(7)&= sum_{n=8}^{11}Bigl( U_{e}(n)
sum_{mathclap{k=n-4}}^{7}U_{!Delta e}(k) Bigr)
end{split}right}
end{equation}
end{minipage}%
hfill % maximize horizontal distance between the minipage environments
begin{minipage}{0.47linewidth}
begin{equation}
left.begin{split}
U_{c}(2)&= sum_{n=1}^{4}U_{e}(n), U_{!Delta e}(n+9)\
U_{c}(4)&= sum_{n=1}^{7}U_{e}(n), U_{!Delta e}(n+7)\
U_{c}(6)&= sum_{n=3}^{7}U_{e}(n), U_{!Delta e}(n+5)
end{split}right}
end{equation}
end{minipage}

end{document}






share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 22 at 6:30

























answered Jan 21 at 23:02









MicoMico

282k31385774




282k31385774













  • Very useful tips indeed. Still wouldn't do the second tag inside of the text block. This is bound to annoy readers.

    – Skillmon
    Jan 21 at 23:30











  • @Skillmon - I fully agree with your comment. I've augmented my answer to post a second solution, with the curly braces placed on the right, pointing towards the associated equation numbers.

    – Mico
    Jan 22 at 0:14











  • Thank you very much @miko I liked the second solution since the expressions on the right are on the center but how can I have the curly braces on the left ?

    – kerdouj kardouj
    Jan 22 at 11:31













  • @kerdoujkardouj - I'm not sure I understand what you mean by "expressions ... are on the center" or why you ask, "how can I have the curly braces on the left?". The first solution shows exactly how to place the curly braces on the left, doesn't it? And why do you write that you like the second solution, while evidently not liking its placement of the curly braces on the right? Please clarify.

    – Mico
    Jan 22 at 12:37








  • 1





    Great it works fine now thank you very much @Mico, I just didn't know about the command I was changing left. to right. and left{ to right{

    – kerdouj kardouj
    Jan 22 at 15:13



















  • Very useful tips indeed. Still wouldn't do the second tag inside of the text block. This is bound to annoy readers.

    – Skillmon
    Jan 21 at 23:30











  • @Skillmon - I fully agree with your comment. I've augmented my answer to post a second solution, with the curly braces placed on the right, pointing towards the associated equation numbers.

    – Mico
    Jan 22 at 0:14











  • Thank you very much @miko I liked the second solution since the expressions on the right are on the center but how can I have the curly braces on the left ?

    – kerdouj kardouj
    Jan 22 at 11:31













  • @kerdoujkardouj - I'm not sure I understand what you mean by "expressions ... are on the center" or why you ask, "how can I have the curly braces on the left?". The first solution shows exactly how to place the curly braces on the left, doesn't it? And why do you write that you like the second solution, while evidently not liking its placement of the curly braces on the right? Please clarify.

    – Mico
    Jan 22 at 12:37








  • 1





    Great it works fine now thank you very much @Mico, I just didn't know about the command I was changing left. to right. and left{ to right{

    – kerdouj kardouj
    Jan 22 at 15:13

















Very useful tips indeed. Still wouldn't do the second tag inside of the text block. This is bound to annoy readers.

– Skillmon
Jan 21 at 23:30





Very useful tips indeed. Still wouldn't do the second tag inside of the text block. This is bound to annoy readers.

– Skillmon
Jan 21 at 23:30













@Skillmon - I fully agree with your comment. I've augmented my answer to post a second solution, with the curly braces placed on the right, pointing towards the associated equation numbers.

– Mico
Jan 22 at 0:14





@Skillmon - I fully agree with your comment. I've augmented my answer to post a second solution, with the curly braces placed on the right, pointing towards the associated equation numbers.

– Mico
Jan 22 at 0:14













Thank you very much @miko I liked the second solution since the expressions on the right are on the center but how can I have the curly braces on the left ?

– kerdouj kardouj
Jan 22 at 11:31







Thank you very much @miko I liked the second solution since the expressions on the right are on the center but how can I have the curly braces on the left ?

– kerdouj kardouj
Jan 22 at 11:31















@kerdoujkardouj - I'm not sure I understand what you mean by "expressions ... are on the center" or why you ask, "how can I have the curly braces on the left?". The first solution shows exactly how to place the curly braces on the left, doesn't it? And why do you write that you like the second solution, while evidently not liking its placement of the curly braces on the right? Please clarify.

– Mico
Jan 22 at 12:37







@kerdoujkardouj - I'm not sure I understand what you mean by "expressions ... are on the center" or why you ask, "how can I have the curly braces on the left?". The first solution shows exactly how to place the curly braces on the left, doesn't it? And why do you write that you like the second solution, while evidently not liking its placement of the curly braces on the right? Please clarify.

– Mico
Jan 22 at 12:37






1




1





Great it works fine now thank you very much @Mico, I just didn't know about the command I was changing left. to right. and left{ to right{

– kerdouj kardouj
Jan 22 at 15:13





Great it works fine now thank you very much @Mico, I just didn't know about the command I was changing left. to right. and left{ to right{

– kerdouj kardouj
Jan 22 at 15:13











6














The space is caused by the sum's subscript. If you remove the subscript's width, you get tight spacing. Also you miss an additional & in places where you put a ;, to start a new column with the alignment at the =.



documentclass{article}
usepackage{mathtools}
begin{document}
begin{equation}
left[begin{aligned}
U_{c}(1) &= sum_{n=1}^{4}( U_{e}(n)timessum_{mathclap{k=n+10}}^{14}U_{Delta e}(k)) ;& U_{c}(2)&= sum_{n=1}^{4}U_{e}(n)times U_{Delta e}(n+9)\
U_{c}(3)&= sum_{n=1}^{6}U_{e}(n)times U_{Delta e}(n+8) ;& U_{c}(4)&= sum_{n=1}^{7}U_{e}(n)times U_{Delta e}(n+7)\
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n)times U_{Delta e}(n+5) ;& U_{c}(6)&= sum_{n=3}^{7}U_{e}(n)times U_{Delta e}(n+5)\
U_{c}(7)&= sum_{n=8}^{11}( U_{e}(n)timessum_{k=n-4}^{7}U_{Delta e}(k))
end{aligned}right]
end{equation}
end{document}


enter image description here






share|improve this answer


























  • But why is U_c(2) far from its expression and also I want these equations to be reprsented by one number instead of 4 with one bracket

    – kerdouj kardouj
    Jan 21 at 19:23













  • @kerdoujkardouj that is because you miss an additional &. See my edit. Not sure whether I got your second half right this time, though.

    – Skillmon
    Jan 21 at 19:26













  • Ah okay thank you very much @Skillmon, if I want to represent the pair expressions inside a bracket how can I do it

    – kerdouj kardouj
    Jan 21 at 19:29











  • @kerdoujkardouj adding a bit of kerning next to the brackets might enhance the look.

    – Skillmon
    Jan 21 at 19:33











  • can you please look at the edit so you can see what I want to do

    – kerdouj kardouj
    Jan 21 at 19:42
















6














The space is caused by the sum's subscript. If you remove the subscript's width, you get tight spacing. Also you miss an additional & in places where you put a ;, to start a new column with the alignment at the =.



documentclass{article}
usepackage{mathtools}
begin{document}
begin{equation}
left[begin{aligned}
U_{c}(1) &= sum_{n=1}^{4}( U_{e}(n)timessum_{mathclap{k=n+10}}^{14}U_{Delta e}(k)) ;& U_{c}(2)&= sum_{n=1}^{4}U_{e}(n)times U_{Delta e}(n+9)\
U_{c}(3)&= sum_{n=1}^{6}U_{e}(n)times U_{Delta e}(n+8) ;& U_{c}(4)&= sum_{n=1}^{7}U_{e}(n)times U_{Delta e}(n+7)\
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n)times U_{Delta e}(n+5) ;& U_{c}(6)&= sum_{n=3}^{7}U_{e}(n)times U_{Delta e}(n+5)\
U_{c}(7)&= sum_{n=8}^{11}( U_{e}(n)timessum_{k=n-4}^{7}U_{Delta e}(k))
end{aligned}right]
end{equation}
end{document}


enter image description here






share|improve this answer


























  • But why is U_c(2) far from its expression and also I want these equations to be reprsented by one number instead of 4 with one bracket

    – kerdouj kardouj
    Jan 21 at 19:23













  • @kerdoujkardouj that is because you miss an additional &. See my edit. Not sure whether I got your second half right this time, though.

    – Skillmon
    Jan 21 at 19:26













  • Ah okay thank you very much @Skillmon, if I want to represent the pair expressions inside a bracket how can I do it

    – kerdouj kardouj
    Jan 21 at 19:29











  • @kerdoujkardouj adding a bit of kerning next to the brackets might enhance the look.

    – Skillmon
    Jan 21 at 19:33











  • can you please look at the edit so you can see what I want to do

    – kerdouj kardouj
    Jan 21 at 19:42














6












6








6







The space is caused by the sum's subscript. If you remove the subscript's width, you get tight spacing. Also you miss an additional & in places where you put a ;, to start a new column with the alignment at the =.



documentclass{article}
usepackage{mathtools}
begin{document}
begin{equation}
left[begin{aligned}
U_{c}(1) &= sum_{n=1}^{4}( U_{e}(n)timessum_{mathclap{k=n+10}}^{14}U_{Delta e}(k)) ;& U_{c}(2)&= sum_{n=1}^{4}U_{e}(n)times U_{Delta e}(n+9)\
U_{c}(3)&= sum_{n=1}^{6}U_{e}(n)times U_{Delta e}(n+8) ;& U_{c}(4)&= sum_{n=1}^{7}U_{e}(n)times U_{Delta e}(n+7)\
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n)times U_{Delta e}(n+5) ;& U_{c}(6)&= sum_{n=3}^{7}U_{e}(n)times U_{Delta e}(n+5)\
U_{c}(7)&= sum_{n=8}^{11}( U_{e}(n)timessum_{k=n-4}^{7}U_{Delta e}(k))
end{aligned}right]
end{equation}
end{document}


enter image description here






share|improve this answer















The space is caused by the sum's subscript. If you remove the subscript's width, you get tight spacing. Also you miss an additional & in places where you put a ;, to start a new column with the alignment at the =.



documentclass{article}
usepackage{mathtools}
begin{document}
begin{equation}
left[begin{aligned}
U_{c}(1) &= sum_{n=1}^{4}( U_{e}(n)timessum_{mathclap{k=n+10}}^{14}U_{Delta e}(k)) ;& U_{c}(2)&= sum_{n=1}^{4}U_{e}(n)times U_{Delta e}(n+9)\
U_{c}(3)&= sum_{n=1}^{6}U_{e}(n)times U_{Delta e}(n+8) ;& U_{c}(4)&= sum_{n=1}^{7}U_{e}(n)times U_{Delta e}(n+7)\
U_{c}(5)&= sum_{n=2}^{8}U_{e}(n)times U_{Delta e}(n+5) ;& U_{c}(6)&= sum_{n=3}^{7}U_{e}(n)times U_{Delta e}(n+5)\
U_{c}(7)&= sum_{n=8}^{11}( U_{e}(n)timessum_{k=n-4}^{7}U_{Delta e}(k))
end{aligned}right]
end{equation}
end{document}


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 21 at 19:29

























answered Jan 21 at 19:20









SkillmonSkillmon

23.2k12044




23.2k12044













  • But why is U_c(2) far from its expression and also I want these equations to be reprsented by one number instead of 4 with one bracket

    – kerdouj kardouj
    Jan 21 at 19:23













  • @kerdoujkardouj that is because you miss an additional &. See my edit. Not sure whether I got your second half right this time, though.

    – Skillmon
    Jan 21 at 19:26













  • Ah okay thank you very much @Skillmon, if I want to represent the pair expressions inside a bracket how can I do it

    – kerdouj kardouj
    Jan 21 at 19:29











  • @kerdoujkardouj adding a bit of kerning next to the brackets might enhance the look.

    – Skillmon
    Jan 21 at 19:33











  • can you please look at the edit so you can see what I want to do

    – kerdouj kardouj
    Jan 21 at 19:42



















  • But why is U_c(2) far from its expression and also I want these equations to be reprsented by one number instead of 4 with one bracket

    – kerdouj kardouj
    Jan 21 at 19:23













  • @kerdoujkardouj that is because you miss an additional &. See my edit. Not sure whether I got your second half right this time, though.

    – Skillmon
    Jan 21 at 19:26













  • Ah okay thank you very much @Skillmon, if I want to represent the pair expressions inside a bracket how can I do it

    – kerdouj kardouj
    Jan 21 at 19:29











  • @kerdoujkardouj adding a bit of kerning next to the brackets might enhance the look.

    – Skillmon
    Jan 21 at 19:33











  • can you please look at the edit so you can see what I want to do

    – kerdouj kardouj
    Jan 21 at 19:42

















But why is U_c(2) far from its expression and also I want these equations to be reprsented by one number instead of 4 with one bracket

– kerdouj kardouj
Jan 21 at 19:23







But why is U_c(2) far from its expression and also I want these equations to be reprsented by one number instead of 4 with one bracket

– kerdouj kardouj
Jan 21 at 19:23















@kerdoujkardouj that is because you miss an additional &. See my edit. Not sure whether I got your second half right this time, though.

– Skillmon
Jan 21 at 19:26







@kerdoujkardouj that is because you miss an additional &. See my edit. Not sure whether I got your second half right this time, though.

– Skillmon
Jan 21 at 19:26















Ah okay thank you very much @Skillmon, if I want to represent the pair expressions inside a bracket how can I do it

– kerdouj kardouj
Jan 21 at 19:29





Ah okay thank you very much @Skillmon, if I want to represent the pair expressions inside a bracket how can I do it

– kerdouj kardouj
Jan 21 at 19:29













@kerdoujkardouj adding a bit of kerning next to the brackets might enhance the look.

– Skillmon
Jan 21 at 19:33





@kerdoujkardouj adding a bit of kerning next to the brackets might enhance the look.

– Skillmon
Jan 21 at 19:33













can you please look at the edit so you can see what I want to do

– kerdouj kardouj
Jan 21 at 19:42





can you please look at the edit so you can see what I want to do

– kerdouj kardouj
Jan 21 at 19:42


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f471186%2fremoving-space-between-sum-and-its-correspondent-value-with-only-one-number-repr%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

Npm cannot find a required file even through it is in the searched directory