Curly brackets below a word in an equation
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
How to write this equation in latex?
I wrote this code but not getting it.
E_{t-2}P_t=frac{1}{2}(E_{t-2}m_t+underbrace{E_{t-2}v_t}_textrm{=0}-underbrace{E_{t-2}u_t}_textrm{=0}+(frac{(1-zeta )}{2})(underbrace{E_{t-2}E_{t-1}P_t}_textrm{=E_{t-2}}+underbrace{E_{t-2}E_{t-2}P_t}_textrm{=E_{t-2}})+(frac{zeta }{2})(E_{t-2}P_{t-1}+E_{t-2}P_{t-2})
equations
|
show 1 more comment
How to write this equation in latex?
I wrote this code but not getting it.
E_{t-2}P_t=frac{1}{2}(E_{t-2}m_t+underbrace{E_{t-2}v_t}_textrm{=0}-underbrace{E_{t-2}u_t}_textrm{=0}+(frac{(1-zeta )}{2})(underbrace{E_{t-2}E_{t-1}P_t}_textrm{=E_{t-2}}+underbrace{E_{t-2}E_{t-2}P_t}_textrm{=E_{t-2}})+(frac{zeta }{2})(E_{t-2}P_{t-1}+E_{t-2}P_{t-2})
equations
1
Please add someusepackage
s to make your code compilable.
– user156344
May 24 at 5:20
Can you elaborate a bit more? What kind of 'usepackage' should I use?
– Henam
May 24 at 5:26
1
Anyway you already got an answer, but this is my note for your future questions: if you are using Mathjax, do not ask it here as Mathjax is off topic on this site. Sometimes we need a compilable code to reproduce the issue, and without it we can hardly do anything.
– user156344
May 24 at 5:29
Hey, no offence, but I'm using LaTex only.
– Henam
May 24 at 5:33
I believe JouleV is asking for an MWE. The point is if I copy and paste the code you have written into a blank.tex
file and try to compile it, it won't work. So then I have to do the job of adding a template, with adocumentclass
and perhapsusepackage{amsmath}
and so on,begin{document}
etc. and you could have saved me that tiny chore. It's polite and helps us to help you.
– Au101
May 24 at 20:56
|
show 1 more comment
How to write this equation in latex?
I wrote this code but not getting it.
E_{t-2}P_t=frac{1}{2}(E_{t-2}m_t+underbrace{E_{t-2}v_t}_textrm{=0}-underbrace{E_{t-2}u_t}_textrm{=0}+(frac{(1-zeta )}{2})(underbrace{E_{t-2}E_{t-1}P_t}_textrm{=E_{t-2}}+underbrace{E_{t-2}E_{t-2}P_t}_textrm{=E_{t-2}})+(frac{zeta }{2})(E_{t-2}P_{t-1}+E_{t-2}P_{t-2})
equations
How to write this equation in latex?
I wrote this code but not getting it.
E_{t-2}P_t=frac{1}{2}(E_{t-2}m_t+underbrace{E_{t-2}v_t}_textrm{=0}-underbrace{E_{t-2}u_t}_textrm{=0}+(frac{(1-zeta )}{2})(underbrace{E_{t-2}E_{t-1}P_t}_textrm{=E_{t-2}}+underbrace{E_{t-2}E_{t-2}P_t}_textrm{=E_{t-2}})+(frac{zeta }{2})(E_{t-2}P_{t-1}+E_{t-2}P_{t-2})
equations
equations
edited May 24 at 5:08
user156344
asked May 24 at 5:06
HenamHenam
965 bronze badges
965 bronze badges
1
Please add someusepackage
s to make your code compilable.
– user156344
May 24 at 5:20
Can you elaborate a bit more? What kind of 'usepackage' should I use?
– Henam
May 24 at 5:26
1
Anyway you already got an answer, but this is my note for your future questions: if you are using Mathjax, do not ask it here as Mathjax is off topic on this site. Sometimes we need a compilable code to reproduce the issue, and without it we can hardly do anything.
– user156344
May 24 at 5:29
Hey, no offence, but I'm using LaTex only.
– Henam
May 24 at 5:33
I believe JouleV is asking for an MWE. The point is if I copy and paste the code you have written into a blank.tex
file and try to compile it, it won't work. So then I have to do the job of adding a template, with adocumentclass
and perhapsusepackage{amsmath}
and so on,begin{document}
etc. and you could have saved me that tiny chore. It's polite and helps us to help you.
– Au101
May 24 at 20:56
|
show 1 more comment
1
Please add someusepackage
s to make your code compilable.
– user156344
May 24 at 5:20
Can you elaborate a bit more? What kind of 'usepackage' should I use?
– Henam
May 24 at 5:26
1
Anyway you already got an answer, but this is my note for your future questions: if you are using Mathjax, do not ask it here as Mathjax is off topic on this site. Sometimes we need a compilable code to reproduce the issue, and without it we can hardly do anything.
– user156344
May 24 at 5:29
Hey, no offence, but I'm using LaTex only.
– Henam
May 24 at 5:33
I believe JouleV is asking for an MWE. The point is if I copy and paste the code you have written into a blank.tex
file and try to compile it, it won't work. So then I have to do the job of adding a template, with adocumentclass
and perhapsusepackage{amsmath}
and so on,begin{document}
etc. and you could have saved me that tiny chore. It's polite and helps us to help you.
– Au101
May 24 at 20:56
1
1
Please add some
usepackage
s to make your code compilable.– user156344
May 24 at 5:20
Please add some
usepackage
s to make your code compilable.– user156344
May 24 at 5:20
Can you elaborate a bit more? What kind of 'usepackage' should I use?
– Henam
May 24 at 5:26
Can you elaborate a bit more? What kind of 'usepackage' should I use?
– Henam
May 24 at 5:26
1
1
Anyway you already got an answer, but this is my note for your future questions: if you are using Mathjax, do not ask it here as Mathjax is off topic on this site. Sometimes we need a compilable code to reproduce the issue, and without it we can hardly do anything.
– user156344
May 24 at 5:29
Anyway you already got an answer, but this is my note for your future questions: if you are using Mathjax, do not ask it here as Mathjax is off topic on this site. Sometimes we need a compilable code to reproduce the issue, and without it we can hardly do anything.
– user156344
May 24 at 5:29
Hey, no offence, but I'm using LaTex only.
– Henam
May 24 at 5:33
Hey, no offence, but I'm using LaTex only.
– Henam
May 24 at 5:33
I believe JouleV is asking for an MWE. The point is if I copy and paste the code you have written into a blank
.tex
file and try to compile it, it won't work. So then I have to do the job of adding a template, with a documentclass
and perhaps usepackage{amsmath}
and so on, begin{document}
etc. and you could have saved me that tiny chore. It's polite and helps us to help you.– Au101
May 24 at 20:56
I believe JouleV is asking for an MWE. The point is if I copy and paste the code you have written into a blank
.tex
file and try to compile it, it won't work. So then I have to do the job of adding a template, with a documentclass
and perhaps usepackage{amsmath}
and so on, begin{document}
etc. and you could have saved me that tiny chore. It's polite and helps us to help you.– Au101
May 24 at 20:56
|
show 1 more comment
2 Answers
2
active
oldest
votes
You're almost there. Instead of
underbrace{E_{t-2}v_t}_textrm{=0}
type
underbrace{E_{t-2}v_t}_{=0}
etc
I would also introduce some line breaks in the long equation.
documentclass{article}
usepackage{amsmath}
DeclareMathOperator{E}{E}
begin{document}
begin{multline*}
E_{t-2}P_t=
frac{1}{2}Bigl(E_{t-2}m_t
+underbrace{E_{t-2}v_t}_{=0}
-underbrace{E_{t-2}u_t}_{=0}Bigr) \
+frac{(1-zeta )}{2}Bigl(
underbrace{E_{t-2}E_{t-1}P_t}_{=E_{t-2}}+
underbrace{E_{t-2}E_{t-2}P_t}_{=E_{t-2}}Bigr) \
+frac{zeta }{2}Bigl(E_{t-2}P_{t-1}+E_{t-2}P_{t-2}Bigr)
end{multline*}
end{document}
add a comment |
You can use Mathpix to generate LaTeX code for any mathematical equation by simply taking a screenshot of the equation. It will save you tons of time in future like it did for me after I discovered it!
4
It is pretty cool, but I never recommend automated generators for LaTeX. They may give nice results, but never good results.
– user156344
May 24 at 6:23
2
I totally agree. I too never rely completely on automated generators, but I do find it much easier to tweak the codes rather than building it up from the scratch. Also, these codes help you learn LaTeX as well!
– Ashirwad
May 24 at 6:48
1
You know, I have to upvote your answer for the last sentence of your comment
– user156344
May 24 at 6:50
1
Thanks! I can't thank the developers of this software enough for helping me prepare a report with too many equations in it with significantly lesser efforts as well as enriching my LaTeX vocabulary.
– Ashirwad
May 24 at 7:05
1
Strictly speaking, this posting does not address the OP's question. Why? You copied-and-pasted a screenshot from my answer -- which, ahem, is already known to be based on valid LaTeX code -- and showed that the software can generate something that resembles decent, though not solid, LaTeX code. (Why "not solid"? Well, for one, note the use of$$
to start and stop an unnumbered displayed equation -- definitely not good practice for a LaTeX document.) It would be more impressive if you demonstrated that working with the OP's screenshot led to a satisfactory chunk of LaTeX code.
– Mico
May 24 at 16:10
|
show 1 more 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%2f492377%2fcurly-brackets-below-a-word-in-an-equation%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
You're almost there. Instead of
underbrace{E_{t-2}v_t}_textrm{=0}
type
underbrace{E_{t-2}v_t}_{=0}
etc
I would also introduce some line breaks in the long equation.
documentclass{article}
usepackage{amsmath}
DeclareMathOperator{E}{E}
begin{document}
begin{multline*}
E_{t-2}P_t=
frac{1}{2}Bigl(E_{t-2}m_t
+underbrace{E_{t-2}v_t}_{=0}
-underbrace{E_{t-2}u_t}_{=0}Bigr) \
+frac{(1-zeta )}{2}Bigl(
underbrace{E_{t-2}E_{t-1}P_t}_{=E_{t-2}}+
underbrace{E_{t-2}E_{t-2}P_t}_{=E_{t-2}}Bigr) \
+frac{zeta }{2}Bigl(E_{t-2}P_{t-1}+E_{t-2}P_{t-2}Bigr)
end{multline*}
end{document}
add a comment |
You're almost there. Instead of
underbrace{E_{t-2}v_t}_textrm{=0}
type
underbrace{E_{t-2}v_t}_{=0}
etc
I would also introduce some line breaks in the long equation.
documentclass{article}
usepackage{amsmath}
DeclareMathOperator{E}{E}
begin{document}
begin{multline*}
E_{t-2}P_t=
frac{1}{2}Bigl(E_{t-2}m_t
+underbrace{E_{t-2}v_t}_{=0}
-underbrace{E_{t-2}u_t}_{=0}Bigr) \
+frac{(1-zeta )}{2}Bigl(
underbrace{E_{t-2}E_{t-1}P_t}_{=E_{t-2}}+
underbrace{E_{t-2}E_{t-2}P_t}_{=E_{t-2}}Bigr) \
+frac{zeta }{2}Bigl(E_{t-2}P_{t-1}+E_{t-2}P_{t-2}Bigr)
end{multline*}
end{document}
add a comment |
You're almost there. Instead of
underbrace{E_{t-2}v_t}_textrm{=0}
type
underbrace{E_{t-2}v_t}_{=0}
etc
I would also introduce some line breaks in the long equation.
documentclass{article}
usepackage{amsmath}
DeclareMathOperator{E}{E}
begin{document}
begin{multline*}
E_{t-2}P_t=
frac{1}{2}Bigl(E_{t-2}m_t
+underbrace{E_{t-2}v_t}_{=0}
-underbrace{E_{t-2}u_t}_{=0}Bigr) \
+frac{(1-zeta )}{2}Bigl(
underbrace{E_{t-2}E_{t-1}P_t}_{=E_{t-2}}+
underbrace{E_{t-2}E_{t-2}P_t}_{=E_{t-2}}Bigr) \
+frac{zeta }{2}Bigl(E_{t-2}P_{t-1}+E_{t-2}P_{t-2}Bigr)
end{multline*}
end{document}
You're almost there. Instead of
underbrace{E_{t-2}v_t}_textrm{=0}
type
underbrace{E_{t-2}v_t}_{=0}
etc
I would also introduce some line breaks in the long equation.
documentclass{article}
usepackage{amsmath}
DeclareMathOperator{E}{E}
begin{document}
begin{multline*}
E_{t-2}P_t=
frac{1}{2}Bigl(E_{t-2}m_t
+underbrace{E_{t-2}v_t}_{=0}
-underbrace{E_{t-2}u_t}_{=0}Bigr) \
+frac{(1-zeta )}{2}Bigl(
underbrace{E_{t-2}E_{t-1}P_t}_{=E_{t-2}}+
underbrace{E_{t-2}E_{t-2}P_t}_{=E_{t-2}}Bigr) \
+frac{zeta }{2}Bigl(E_{t-2}P_{t-1}+E_{t-2}P_{t-2}Bigr)
end{multline*}
end{document}
edited May 24 at 5:33
answered May 24 at 5:25
MicoMico
301k33 gold badges412 silver badges818 bronze badges
301k33 gold badges412 silver badges818 bronze badges
add a comment |
add a comment |
You can use Mathpix to generate LaTeX code for any mathematical equation by simply taking a screenshot of the equation. It will save you tons of time in future like it did for me after I discovered it!
4
It is pretty cool, but I never recommend automated generators for LaTeX. They may give nice results, but never good results.
– user156344
May 24 at 6:23
2
I totally agree. I too never rely completely on automated generators, but I do find it much easier to tweak the codes rather than building it up from the scratch. Also, these codes help you learn LaTeX as well!
– Ashirwad
May 24 at 6:48
1
You know, I have to upvote your answer for the last sentence of your comment
– user156344
May 24 at 6:50
1
Thanks! I can't thank the developers of this software enough for helping me prepare a report with too many equations in it with significantly lesser efforts as well as enriching my LaTeX vocabulary.
– Ashirwad
May 24 at 7:05
1
Strictly speaking, this posting does not address the OP's question. Why? You copied-and-pasted a screenshot from my answer -- which, ahem, is already known to be based on valid LaTeX code -- and showed that the software can generate something that resembles decent, though not solid, LaTeX code. (Why "not solid"? Well, for one, note the use of$$
to start and stop an unnumbered displayed equation -- definitely not good practice for a LaTeX document.) It would be more impressive if you demonstrated that working with the OP's screenshot led to a satisfactory chunk of LaTeX code.
– Mico
May 24 at 16:10
|
show 1 more comment
You can use Mathpix to generate LaTeX code for any mathematical equation by simply taking a screenshot of the equation. It will save you tons of time in future like it did for me after I discovered it!
4
It is pretty cool, but I never recommend automated generators for LaTeX. They may give nice results, but never good results.
– user156344
May 24 at 6:23
2
I totally agree. I too never rely completely on automated generators, but I do find it much easier to tweak the codes rather than building it up from the scratch. Also, these codes help you learn LaTeX as well!
– Ashirwad
May 24 at 6:48
1
You know, I have to upvote your answer for the last sentence of your comment
– user156344
May 24 at 6:50
1
Thanks! I can't thank the developers of this software enough for helping me prepare a report with too many equations in it with significantly lesser efforts as well as enriching my LaTeX vocabulary.
– Ashirwad
May 24 at 7:05
1
Strictly speaking, this posting does not address the OP's question. Why? You copied-and-pasted a screenshot from my answer -- which, ahem, is already known to be based on valid LaTeX code -- and showed that the software can generate something that resembles decent, though not solid, LaTeX code. (Why "not solid"? Well, for one, note the use of$$
to start and stop an unnumbered displayed equation -- definitely not good practice for a LaTeX document.) It would be more impressive if you demonstrated that working with the OP's screenshot led to a satisfactory chunk of LaTeX code.
– Mico
May 24 at 16:10
|
show 1 more comment
You can use Mathpix to generate LaTeX code for any mathematical equation by simply taking a screenshot of the equation. It will save you tons of time in future like it did for me after I discovered it!
You can use Mathpix to generate LaTeX code for any mathematical equation by simply taking a screenshot of the equation. It will save you tons of time in future like it did for me after I discovered it!
answered May 24 at 5:59
AshirwadAshirwad
563 bronze badges
563 bronze badges
4
It is pretty cool, but I never recommend automated generators for LaTeX. They may give nice results, but never good results.
– user156344
May 24 at 6:23
2
I totally agree. I too never rely completely on automated generators, but I do find it much easier to tweak the codes rather than building it up from the scratch. Also, these codes help you learn LaTeX as well!
– Ashirwad
May 24 at 6:48
1
You know, I have to upvote your answer for the last sentence of your comment
– user156344
May 24 at 6:50
1
Thanks! I can't thank the developers of this software enough for helping me prepare a report with too many equations in it with significantly lesser efforts as well as enriching my LaTeX vocabulary.
– Ashirwad
May 24 at 7:05
1
Strictly speaking, this posting does not address the OP's question. Why? You copied-and-pasted a screenshot from my answer -- which, ahem, is already known to be based on valid LaTeX code -- and showed that the software can generate something that resembles decent, though not solid, LaTeX code. (Why "not solid"? Well, for one, note the use of$$
to start and stop an unnumbered displayed equation -- definitely not good practice for a LaTeX document.) It would be more impressive if you demonstrated that working with the OP's screenshot led to a satisfactory chunk of LaTeX code.
– Mico
May 24 at 16:10
|
show 1 more comment
4
It is pretty cool, but I never recommend automated generators for LaTeX. They may give nice results, but never good results.
– user156344
May 24 at 6:23
2
I totally agree. I too never rely completely on automated generators, but I do find it much easier to tweak the codes rather than building it up from the scratch. Also, these codes help you learn LaTeX as well!
– Ashirwad
May 24 at 6:48
1
You know, I have to upvote your answer for the last sentence of your comment
– user156344
May 24 at 6:50
1
Thanks! I can't thank the developers of this software enough for helping me prepare a report with too many equations in it with significantly lesser efforts as well as enriching my LaTeX vocabulary.
– Ashirwad
May 24 at 7:05
1
Strictly speaking, this posting does not address the OP's question. Why? You copied-and-pasted a screenshot from my answer -- which, ahem, is already known to be based on valid LaTeX code -- and showed that the software can generate something that resembles decent, though not solid, LaTeX code. (Why "not solid"? Well, for one, note the use of$$
to start and stop an unnumbered displayed equation -- definitely not good practice for a LaTeX document.) It would be more impressive if you demonstrated that working with the OP's screenshot led to a satisfactory chunk of LaTeX code.
– Mico
May 24 at 16:10
4
4
It is pretty cool, but I never recommend automated generators for LaTeX. They may give nice results, but never good results.
– user156344
May 24 at 6:23
It is pretty cool, but I never recommend automated generators for LaTeX. They may give nice results, but never good results.
– user156344
May 24 at 6:23
2
2
I totally agree. I too never rely completely on automated generators, but I do find it much easier to tweak the codes rather than building it up from the scratch. Also, these codes help you learn LaTeX as well!
– Ashirwad
May 24 at 6:48
I totally agree. I too never rely completely on automated generators, but I do find it much easier to tweak the codes rather than building it up from the scratch. Also, these codes help you learn LaTeX as well!
– Ashirwad
May 24 at 6:48
1
1
You know, I have to upvote your answer for the last sentence of your comment
– user156344
May 24 at 6:50
You know, I have to upvote your answer for the last sentence of your comment
– user156344
May 24 at 6:50
1
1
Thanks! I can't thank the developers of this software enough for helping me prepare a report with too many equations in it with significantly lesser efforts as well as enriching my LaTeX vocabulary.
– Ashirwad
May 24 at 7:05
Thanks! I can't thank the developers of this software enough for helping me prepare a report with too many equations in it with significantly lesser efforts as well as enriching my LaTeX vocabulary.
– Ashirwad
May 24 at 7:05
1
1
Strictly speaking, this posting does not address the OP's question. Why? You copied-and-pasted a screenshot from my answer -- which, ahem, is already known to be based on valid LaTeX code -- and showed that the software can generate something that resembles decent, though not solid, LaTeX code. (Why "not solid"? Well, for one, note the use of
$$
to start and stop an unnumbered displayed equation -- definitely not good practice for a LaTeX document.) It would be more impressive if you demonstrated that working with the OP's screenshot led to a satisfactory chunk of LaTeX code.– Mico
May 24 at 16:10
Strictly speaking, this posting does not address the OP's question. Why? You copied-and-pasted a screenshot from my answer -- which, ahem, is already known to be based on valid LaTeX code -- and showed that the software can generate something that resembles decent, though not solid, LaTeX code. (Why "not solid"? Well, for one, note the use of
$$
to start and stop an unnumbered displayed equation -- definitely not good practice for a LaTeX document.) It would be more impressive if you demonstrated that working with the OP's screenshot led to a satisfactory chunk of LaTeX code.– Mico
May 24 at 16:10
|
show 1 more 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%2f492377%2fcurly-brackets-below-a-word-in-an-equation%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
1
Please add some
usepackage
s to make your code compilable.– user156344
May 24 at 5:20
Can you elaborate a bit more? What kind of 'usepackage' should I use?
– Henam
May 24 at 5:26
1
Anyway you already got an answer, but this is my note for your future questions: if you are using Mathjax, do not ask it here as Mathjax is off topic on this site. Sometimes we need a compilable code to reproduce the issue, and without it we can hardly do anything.
– user156344
May 24 at 5:29
Hey, no offence, but I'm using LaTex only.
– Henam
May 24 at 5:33
I believe JouleV is asking for an MWE. The point is if I copy and paste the code you have written into a blank
.tex
file and try to compile it, it won't work. So then I have to do the job of adding a template, with adocumentclass
and perhapsusepackage{amsmath}
and so on,begin{document}
etc. and you could have saved me that tiny chore. It's polite and helps us to help you.– Au101
May 24 at 20:56