Array/tabular for long multiplication












3















In other topic @egreg helped me a lot but there can be thousand of bugs in horizontal long multiplication.
I am a bit frustrated and can't make array like that:
array



The red drawings are commas. I'm trying to use tabular it's not elegant at all.










share|improve this question




















  • 1





    Could you please add a code and a link to "the other topic"?

    – JouleV
    Apr 14 at 19:24
















3















In other topic @egreg helped me a lot but there can be thousand of bugs in horizontal long multiplication.
I am a bit frustrated and can't make array like that:
array



The red drawings are commas. I'm trying to use tabular it's not elegant at all.










share|improve this question




















  • 1





    Could you please add a code and a link to "the other topic"?

    – JouleV
    Apr 14 at 19:24














3












3








3








In other topic @egreg helped me a lot but there can be thousand of bugs in horizontal long multiplication.
I am a bit frustrated and can't make array like that:
array



The red drawings are commas. I'm trying to use tabular it's not elegant at all.










share|improve this question
















In other topic @egreg helped me a lot but there can be thousand of bugs in horizontal long multiplication.
I am a bit frustrated and can't make array like that:
array



The red drawings are commas. I'm trying to use tabular it's not elegant at all.







arrays






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 14 at 19:29







Simeon Simeonov

















asked Apr 14 at 19:23









Simeon SimeonovSimeon Simeonov

4847




4847








  • 1





    Could you please add a code and a link to "the other topic"?

    – JouleV
    Apr 14 at 19:24














  • 1





    Could you please add a code and a link to "the other topic"?

    – JouleV
    Apr 14 at 19:24








1




1





Could you please add a code and a link to "the other topic"?

– JouleV
Apr 14 at 19:24





Could you please add a code and a link to "the other topic"?

– JouleV
Apr 14 at 19:24










1 Answer
1






active

oldest

votes


















5














Is this what you seek? It uses tabstackengine.



documentclass[12pt]{article}
usepackage{mathtools}
usepackage[TABcline]{tabstackengine}
TABstackMath
begin{document}
tabbedShortunderstack[r]{
&&&&&&&mathllap{30{,}24cdot5{,}12}\
TABcline{1-8}
&&&&6&0&4&8\
+,&&&3&0&2&4&\
&1&5&1&2&0&&\
TABcline{1-8}
&1&5&4&{,}8&3&&&
}
end{document}


enter image description here





SUPPLEMENT



For cases where there are an even number of lines between the rules, one needs to raise the + half way, here with + in lieu of +:



documentclass[12pt]{article}
usepackage{mathtools}
usepackage[TABcline]{tabstackengine}
newcommand+{smash{raisebox{.5baselineskip}{$+$}}}
TABstackMath
begin{document}
tabbedShortunderstack[r]{
&&&&&&mathllap{9{,}37cdot1{,}90}\
TABcline{1-7}
&&&8&4&3&3\
+,&&9&3&7&&\
TABcline{1-7}
&1&7&{,}8&0&&
}
end{document}


enter image description here






share|improve this answer


























  • +1, but result should be 154,2 :-)

    – Zarko
    Apr 14 at 20:12











  • Good but when I have only 2 numbers for addition like most of the time the + should be centered between them like this: imgur.com/a/yPurnum

    – Simeon Simeonov
    Apr 15 at 11:52








  • 1





    @SimeonSimeonov Please see the supplement to my answer.

    – Steven B. Segletes
    Apr 15 at 12:14












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%2f484844%2farray-tabular-for-long-multiplication%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









5














Is this what you seek? It uses tabstackengine.



documentclass[12pt]{article}
usepackage{mathtools}
usepackage[TABcline]{tabstackengine}
TABstackMath
begin{document}
tabbedShortunderstack[r]{
&&&&&&&mathllap{30{,}24cdot5{,}12}\
TABcline{1-8}
&&&&6&0&4&8\
+,&&&3&0&2&4&\
&1&5&1&2&0&&\
TABcline{1-8}
&1&5&4&{,}8&3&&&
}
end{document}


enter image description here





SUPPLEMENT



For cases where there are an even number of lines between the rules, one needs to raise the + half way, here with + in lieu of +:



documentclass[12pt]{article}
usepackage{mathtools}
usepackage[TABcline]{tabstackengine}
newcommand+{smash{raisebox{.5baselineskip}{$+$}}}
TABstackMath
begin{document}
tabbedShortunderstack[r]{
&&&&&&mathllap{9{,}37cdot1{,}90}\
TABcline{1-7}
&&&8&4&3&3\
+,&&9&3&7&&\
TABcline{1-7}
&1&7&{,}8&0&&
}
end{document}


enter image description here






share|improve this answer


























  • +1, but result should be 154,2 :-)

    – Zarko
    Apr 14 at 20:12











  • Good but when I have only 2 numbers for addition like most of the time the + should be centered between them like this: imgur.com/a/yPurnum

    – Simeon Simeonov
    Apr 15 at 11:52








  • 1





    @SimeonSimeonov Please see the supplement to my answer.

    – Steven B. Segletes
    Apr 15 at 12:14
















5














Is this what you seek? It uses tabstackengine.



documentclass[12pt]{article}
usepackage{mathtools}
usepackage[TABcline]{tabstackengine}
TABstackMath
begin{document}
tabbedShortunderstack[r]{
&&&&&&&mathllap{30{,}24cdot5{,}12}\
TABcline{1-8}
&&&&6&0&4&8\
+,&&&3&0&2&4&\
&1&5&1&2&0&&\
TABcline{1-8}
&1&5&4&{,}8&3&&&
}
end{document}


enter image description here





SUPPLEMENT



For cases where there are an even number of lines between the rules, one needs to raise the + half way, here with + in lieu of +:



documentclass[12pt]{article}
usepackage{mathtools}
usepackage[TABcline]{tabstackengine}
newcommand+{smash{raisebox{.5baselineskip}{$+$}}}
TABstackMath
begin{document}
tabbedShortunderstack[r]{
&&&&&&mathllap{9{,}37cdot1{,}90}\
TABcline{1-7}
&&&8&4&3&3\
+,&&9&3&7&&\
TABcline{1-7}
&1&7&{,}8&0&&
}
end{document}


enter image description here






share|improve this answer


























  • +1, but result should be 154,2 :-)

    – Zarko
    Apr 14 at 20:12











  • Good but when I have only 2 numbers for addition like most of the time the + should be centered between them like this: imgur.com/a/yPurnum

    – Simeon Simeonov
    Apr 15 at 11:52








  • 1





    @SimeonSimeonov Please see the supplement to my answer.

    – Steven B. Segletes
    Apr 15 at 12:14














5












5








5







Is this what you seek? It uses tabstackengine.



documentclass[12pt]{article}
usepackage{mathtools}
usepackage[TABcline]{tabstackengine}
TABstackMath
begin{document}
tabbedShortunderstack[r]{
&&&&&&&mathllap{30{,}24cdot5{,}12}\
TABcline{1-8}
&&&&6&0&4&8\
+,&&&3&0&2&4&\
&1&5&1&2&0&&\
TABcline{1-8}
&1&5&4&{,}8&3&&&
}
end{document}


enter image description here





SUPPLEMENT



For cases where there are an even number of lines between the rules, one needs to raise the + half way, here with + in lieu of +:



documentclass[12pt]{article}
usepackage{mathtools}
usepackage[TABcline]{tabstackengine}
newcommand+{smash{raisebox{.5baselineskip}{$+$}}}
TABstackMath
begin{document}
tabbedShortunderstack[r]{
&&&&&&mathllap{9{,}37cdot1{,}90}\
TABcline{1-7}
&&&8&4&3&3\
+,&&9&3&7&&\
TABcline{1-7}
&1&7&{,}8&0&&
}
end{document}


enter image description here






share|improve this answer















Is this what you seek? It uses tabstackengine.



documentclass[12pt]{article}
usepackage{mathtools}
usepackage[TABcline]{tabstackengine}
TABstackMath
begin{document}
tabbedShortunderstack[r]{
&&&&&&&mathllap{30{,}24cdot5{,}12}\
TABcline{1-8}
&&&&6&0&4&8\
+,&&&3&0&2&4&\
&1&5&1&2&0&&\
TABcline{1-8}
&1&5&4&{,}8&3&&&
}
end{document}


enter image description here





SUPPLEMENT



For cases where there are an even number of lines between the rules, one needs to raise the + half way, here with + in lieu of +:



documentclass[12pt]{article}
usepackage{mathtools}
usepackage[TABcline]{tabstackengine}
newcommand+{smash{raisebox{.5baselineskip}{$+$}}}
TABstackMath
begin{document}
tabbedShortunderstack[r]{
&&&&&&mathllap{9{,}37cdot1{,}90}\
TABcline{1-7}
&&&8&4&3&3\
+,&&9&3&7&&\
TABcline{1-7}
&1&7&{,}8&0&&
}
end{document}


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 15 at 12:19

























answered Apr 14 at 20:08









Steven B. SegletesSteven B. Segletes

163k9207419




163k9207419













  • +1, but result should be 154,2 :-)

    – Zarko
    Apr 14 at 20:12











  • Good but when I have only 2 numbers for addition like most of the time the + should be centered between them like this: imgur.com/a/yPurnum

    – Simeon Simeonov
    Apr 15 at 11:52








  • 1





    @SimeonSimeonov Please see the supplement to my answer.

    – Steven B. Segletes
    Apr 15 at 12:14



















  • +1, but result should be 154,2 :-)

    – Zarko
    Apr 14 at 20:12











  • Good but when I have only 2 numbers for addition like most of the time the + should be centered between them like this: imgur.com/a/yPurnum

    – Simeon Simeonov
    Apr 15 at 11:52








  • 1





    @SimeonSimeonov Please see the supplement to my answer.

    – Steven B. Segletes
    Apr 15 at 12:14

















+1, but result should be 154,2 :-)

– Zarko
Apr 14 at 20:12





+1, but result should be 154,2 :-)

– Zarko
Apr 14 at 20:12













Good but when I have only 2 numbers for addition like most of the time the + should be centered between them like this: imgur.com/a/yPurnum

– Simeon Simeonov
Apr 15 at 11:52







Good but when I have only 2 numbers for addition like most of the time the + should be centered between them like this: imgur.com/a/yPurnum

– Simeon Simeonov
Apr 15 at 11:52






1




1





@SimeonSimeonov Please see the supplement to my answer.

– Steven B. Segletes
Apr 15 at 12:14





@SimeonSimeonov Please see the supplement to my answer.

– Steven B. Segletes
Apr 15 at 12:14


















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%2f484844%2farray-tabular-for-long-multiplication%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

Plaza Victoria

In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...