What is the LaTeX code for this mathematical expression?
up vote
5
down vote
favorite
What is the LaTeX code for this image? Please help!
math-mode
add a comment |
up vote
5
down vote
favorite
What is the LaTeX code for this image? Please help!
math-mode
10
Possible duplicate of Image equation to TeX
– Henri Menke
Dec 3 at 9:00
add a comment |
up vote
5
down vote
favorite
up vote
5
down vote
favorite
What is the LaTeX code for this image? Please help!
math-mode
What is the LaTeX code for this image? Please help!
math-mode
math-mode
edited Dec 3 at 9:04
JouleV
1,809425
1,809425
asked Dec 3 at 7:14
Harish Chandran
343
343
10
Possible duplicate of Image equation to TeX
– Henri Menke
Dec 3 at 9:00
add a comment |
10
Possible duplicate of Image equation to TeX
– Henri Menke
Dec 3 at 9:00
10
10
Possible duplicate of Image equation to TeX
– Henri Menke
Dec 3 at 9:00
Possible duplicate of Image equation to TeX
– Henri Menke
Dec 3 at 9:00
add a comment |
3 Answers
3
active
oldest
votes
up vote
17
down vote
accepted
Welcome to TeX.SX! This is a simple answer, however, you should check the commands and packages specifically for the addition / multiplication / etc. on TeX.SX.
documentclass{article}
begin{document}
[
begin{array}{rr}
A & B \
+ 3 & 7 \
hline
9 & A
end{array}
]
end{document}
1
thank you for the code
– Harish Chandran
Dec 3 at 8:01
1
(+1) for using the delimeters ;)
– Raaja
Dec 3 at 9:45
1
In the original question, the $A B$ in the first line were right of the other two lines. I suspect (supported by the acceptance) that was not required. +1.
– Ross Millikan
Dec 4 at 4:30
@Raaja: presumably the delimiters you mention are the square brackets. I haven't seen them. What do they do?
– Ross Millikan
Dec 4 at 4:31
@RossMillikan Well, here what I mean by delimeter is that using a \ instead of a not-so-nice tab space using&
.
– Raaja
Dec 4 at 6:49
add a comment |
up vote
5
down vote
I would do:
documentclass{article}
begin{document}
begin{center}renewcommand{tabcolsep}{.3ex}renewcommand{arraystretch}{.9}
begin{tabular}{ccc}&$A$&$B$\ +&$3$&$7$\ hline&$9$&$A$
end{tabular}end{center}
end{document}
thank you for the response
– Harish Chandran
Dec 3 at 8:02
add a comment |
up vote
4
down vote
Another approach with xlop
:
documentclass[12pt]{article}
usepackage{xlop}
begin{document}
oplput(1,2){A}oplput(2,2){B}
oplput(0,1.5){$+$}
oplput(1,1){3}oplput(2,1){7}
ophline(0,0.8){4}
oplput(1,0){9}oplput(2,0){A}
end{document}
To show also the solution you only need add some like vspace{1em}opadd{59}{37}
I think58+37=95
is the solution of the addition, not59+37
:)
– JouleV
Dec 3 at 13:23
@DũngVũ With or without taking the last carry? Because then A=5+1 and 59+37 is correct ... Ok, it was just messing, really it was only a typo...;)
– Fran
Dec 3 at 14:27
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',
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%2f462931%2fwhat-is-the-latex-code-for-this-mathematical-expression%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
17
down vote
accepted
Welcome to TeX.SX! This is a simple answer, however, you should check the commands and packages specifically for the addition / multiplication / etc. on TeX.SX.
documentclass{article}
begin{document}
[
begin{array}{rr}
A & B \
+ 3 & 7 \
hline
9 & A
end{array}
]
end{document}
1
thank you for the code
– Harish Chandran
Dec 3 at 8:01
1
(+1) for using the delimeters ;)
– Raaja
Dec 3 at 9:45
1
In the original question, the $A B$ in the first line were right of the other two lines. I suspect (supported by the acceptance) that was not required. +1.
– Ross Millikan
Dec 4 at 4:30
@Raaja: presumably the delimiters you mention are the square brackets. I haven't seen them. What do they do?
– Ross Millikan
Dec 4 at 4:31
@RossMillikan Well, here what I mean by delimeter is that using a \ instead of a not-so-nice tab space using&
.
– Raaja
Dec 4 at 6:49
add a comment |
up vote
17
down vote
accepted
Welcome to TeX.SX! This is a simple answer, however, you should check the commands and packages specifically for the addition / multiplication / etc. on TeX.SX.
documentclass{article}
begin{document}
[
begin{array}{rr}
A & B \
+ 3 & 7 \
hline
9 & A
end{array}
]
end{document}
1
thank you for the code
– Harish Chandran
Dec 3 at 8:01
1
(+1) for using the delimeters ;)
– Raaja
Dec 3 at 9:45
1
In the original question, the $A B$ in the first line were right of the other two lines. I suspect (supported by the acceptance) that was not required. +1.
– Ross Millikan
Dec 4 at 4:30
@Raaja: presumably the delimiters you mention are the square brackets. I haven't seen them. What do they do?
– Ross Millikan
Dec 4 at 4:31
@RossMillikan Well, here what I mean by delimeter is that using a \ instead of a not-so-nice tab space using&
.
– Raaja
Dec 4 at 6:49
add a comment |
up vote
17
down vote
accepted
up vote
17
down vote
accepted
Welcome to TeX.SX! This is a simple answer, however, you should check the commands and packages specifically for the addition / multiplication / etc. on TeX.SX.
documentclass{article}
begin{document}
[
begin{array}{rr}
A & B \
+ 3 & 7 \
hline
9 & A
end{array}
]
end{document}
Welcome to TeX.SX! This is a simple answer, however, you should check the commands and packages specifically for the addition / multiplication / etc. on TeX.SX.
documentclass{article}
begin{document}
[
begin{array}{rr}
A & B \
+ 3 & 7 \
hline
9 & A
end{array}
]
end{document}
edited Dec 3 at 9:59
answered Dec 3 at 7:24
JouleV
1,809425
1,809425
1
thank you for the code
– Harish Chandran
Dec 3 at 8:01
1
(+1) for using the delimeters ;)
– Raaja
Dec 3 at 9:45
1
In the original question, the $A B$ in the first line were right of the other two lines. I suspect (supported by the acceptance) that was not required. +1.
– Ross Millikan
Dec 4 at 4:30
@Raaja: presumably the delimiters you mention are the square brackets. I haven't seen them. What do they do?
– Ross Millikan
Dec 4 at 4:31
@RossMillikan Well, here what I mean by delimeter is that using a \ instead of a not-so-nice tab space using&
.
– Raaja
Dec 4 at 6:49
add a comment |
1
thank you for the code
– Harish Chandran
Dec 3 at 8:01
1
(+1) for using the delimeters ;)
– Raaja
Dec 3 at 9:45
1
In the original question, the $A B$ in the first line were right of the other two lines. I suspect (supported by the acceptance) that was not required. +1.
– Ross Millikan
Dec 4 at 4:30
@Raaja: presumably the delimiters you mention are the square brackets. I haven't seen them. What do they do?
– Ross Millikan
Dec 4 at 4:31
@RossMillikan Well, here what I mean by delimeter is that using a \ instead of a not-so-nice tab space using&
.
– Raaja
Dec 4 at 6:49
1
1
thank you for the code
– Harish Chandran
Dec 3 at 8:01
thank you for the code
– Harish Chandran
Dec 3 at 8:01
1
1
(+1) for using the delimeters ;)
– Raaja
Dec 3 at 9:45
(+1) for using the delimeters ;)
– Raaja
Dec 3 at 9:45
1
1
In the original question, the $A B$ in the first line were right of the other two lines. I suspect (supported by the acceptance) that was not required. +1.
– Ross Millikan
Dec 4 at 4:30
In the original question, the $A B$ in the first line were right of the other two lines. I suspect (supported by the acceptance) that was not required. +1.
– Ross Millikan
Dec 4 at 4:30
@Raaja: presumably the delimiters you mention are the square brackets. I haven't seen them. What do they do?
– Ross Millikan
Dec 4 at 4:31
@Raaja: presumably the delimiters you mention are the square brackets. I haven't seen them. What do they do?
– Ross Millikan
Dec 4 at 4:31
@RossMillikan Well, here what I mean by delimeter is that using a \ instead of a not-so-nice tab space using
&
.– Raaja
Dec 4 at 6:49
@RossMillikan Well, here what I mean by delimeter is that using a \ instead of a not-so-nice tab space using
&
.– Raaja
Dec 4 at 6:49
add a comment |
up vote
5
down vote
I would do:
documentclass{article}
begin{document}
begin{center}renewcommand{tabcolsep}{.3ex}renewcommand{arraystretch}{.9}
begin{tabular}{ccc}&$A$&$B$\ +&$3$&$7$\ hline&$9$&$A$
end{tabular}end{center}
end{document}
thank you for the response
– Harish Chandran
Dec 3 at 8:02
add a comment |
up vote
5
down vote
I would do:
documentclass{article}
begin{document}
begin{center}renewcommand{tabcolsep}{.3ex}renewcommand{arraystretch}{.9}
begin{tabular}{ccc}&$A$&$B$\ +&$3$&$7$\ hline&$9$&$A$
end{tabular}end{center}
end{document}
thank you for the response
– Harish Chandran
Dec 3 at 8:02
add a comment |
up vote
5
down vote
up vote
5
down vote
I would do:
documentclass{article}
begin{document}
begin{center}renewcommand{tabcolsep}{.3ex}renewcommand{arraystretch}{.9}
begin{tabular}{ccc}&$A$&$B$\ +&$3$&$7$\ hline&$9$&$A$
end{tabular}end{center}
end{document}
I would do:
documentclass{article}
begin{document}
begin{center}renewcommand{tabcolsep}{.3ex}renewcommand{arraystretch}{.9}
begin{tabular}{ccc}&$A$&$B$\ +&$3$&$7$\ hline&$9$&$A$
end{tabular}end{center}
end{document}
answered Dec 3 at 7:30
José Carlos Santos
6791217
6791217
thank you for the response
– Harish Chandran
Dec 3 at 8:02
add a comment |
thank you for the response
– Harish Chandran
Dec 3 at 8:02
thank you for the response
– Harish Chandran
Dec 3 at 8:02
thank you for the response
– Harish Chandran
Dec 3 at 8:02
add a comment |
up vote
4
down vote
Another approach with xlop
:
documentclass[12pt]{article}
usepackage{xlop}
begin{document}
oplput(1,2){A}oplput(2,2){B}
oplput(0,1.5){$+$}
oplput(1,1){3}oplput(2,1){7}
ophline(0,0.8){4}
oplput(1,0){9}oplput(2,0){A}
end{document}
To show also the solution you only need add some like vspace{1em}opadd{59}{37}
I think58+37=95
is the solution of the addition, not59+37
:)
– JouleV
Dec 3 at 13:23
@DũngVũ With or without taking the last carry? Because then A=5+1 and 59+37 is correct ... Ok, it was just messing, really it was only a typo...;)
– Fran
Dec 3 at 14:27
add a comment |
up vote
4
down vote
Another approach with xlop
:
documentclass[12pt]{article}
usepackage{xlop}
begin{document}
oplput(1,2){A}oplput(2,2){B}
oplput(0,1.5){$+$}
oplput(1,1){3}oplput(2,1){7}
ophline(0,0.8){4}
oplput(1,0){9}oplput(2,0){A}
end{document}
To show also the solution you only need add some like vspace{1em}opadd{59}{37}
I think58+37=95
is the solution of the addition, not59+37
:)
– JouleV
Dec 3 at 13:23
@DũngVũ With or without taking the last carry? Because then A=5+1 and 59+37 is correct ... Ok, it was just messing, really it was only a typo...;)
– Fran
Dec 3 at 14:27
add a comment |
up vote
4
down vote
up vote
4
down vote
Another approach with xlop
:
documentclass[12pt]{article}
usepackage{xlop}
begin{document}
oplput(1,2){A}oplput(2,2){B}
oplput(0,1.5){$+$}
oplput(1,1){3}oplput(2,1){7}
ophline(0,0.8){4}
oplput(1,0){9}oplput(2,0){A}
end{document}
To show also the solution you only need add some like vspace{1em}opadd{59}{37}
Another approach with xlop
:
documentclass[12pt]{article}
usepackage{xlop}
begin{document}
oplput(1,2){A}oplput(2,2){B}
oplput(0,1.5){$+$}
oplput(1,1){3}oplput(2,1){7}
ophline(0,0.8){4}
oplput(1,0){9}oplput(2,0){A}
end{document}
To show also the solution you only need add some like vspace{1em}opadd{59}{37}
edited Dec 3 at 10:16
answered Dec 3 at 9:34
Fran
50.8k6112175
50.8k6112175
I think58+37=95
is the solution of the addition, not59+37
:)
– JouleV
Dec 3 at 13:23
@DũngVũ With or without taking the last carry? Because then A=5+1 and 59+37 is correct ... Ok, it was just messing, really it was only a typo...;)
– Fran
Dec 3 at 14:27
add a comment |
I think58+37=95
is the solution of the addition, not59+37
:)
– JouleV
Dec 3 at 13:23
@DũngVũ With or without taking the last carry? Because then A=5+1 and 59+37 is correct ... Ok, it was just messing, really it was only a typo...;)
– Fran
Dec 3 at 14:27
I think
58+37=95
is the solution of the addition, not 59+37
:)– JouleV
Dec 3 at 13:23
I think
58+37=95
is the solution of the addition, not 59+37
:)– JouleV
Dec 3 at 13:23
@DũngVũ With or without taking the last carry? Because then A=5+1 and 59+37 is correct ... Ok, it was just messing, really it was only a typo...
;)
– Fran
Dec 3 at 14:27
@DũngVũ With or without taking the last carry? Because then A=5+1 and 59+37 is correct ... Ok, it was just messing, really it was only a typo...
;)
– Fran
Dec 3 at 14:27
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f462931%2fwhat-is-the-latex-code-for-this-mathematical-expression%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
10
Possible duplicate of Image equation to TeX
– Henri Menke
Dec 3 at 9:00