adding explanations to equations
How can we type equations and add explanations like below?
The options that I can think of are: (1) using tags which I don't know how to break them into two lines (2) using minipage, which might not be very convenient if we want to make sure that which explanation is aligned with which equation. Is there a better way?
equations minipage tags
add a comment |
How can we type equations and add explanations like below?
The options that I can think of are: (1) using tags which I don't know how to break them into two lines (2) using minipage, which might not be very convenient if we want to make sure that which explanation is aligned with which equation. Is there a better way?
equations minipage tags
2
There are many options, and you will get much better answers if you show us what you have tried. This will spare those who want to help you from typing in the equations and texts.
– marmot
Feb 14 at 17:19
If you prefer to have the same typograph of your picture you can add the optionusepackage{newtxtext,newtxmath}
.
– Sebastiano
Feb 14 at 20:56
add a comment |
How can we type equations and add explanations like below?
The options that I can think of are: (1) using tags which I don't know how to break them into two lines (2) using minipage, which might not be very convenient if we want to make sure that which explanation is aligned with which equation. Is there a better way?
equations minipage tags
How can we type equations and add explanations like below?
The options that I can think of are: (1) using tags which I don't know how to break them into two lines (2) using minipage, which might not be very convenient if we want to make sure that which explanation is aligned with which equation. Is there a better way?
equations minipage tags
equations minipage tags
asked Feb 14 at 17:17
David RDavid R
646
646
2
There are many options, and you will get much better answers if you show us what you have tried. This will spare those who want to help you from typing in the equations and texts.
– marmot
Feb 14 at 17:19
If you prefer to have the same typograph of your picture you can add the optionusepackage{newtxtext,newtxmath}
.
– Sebastiano
Feb 14 at 20:56
add a comment |
2
There are many options, and you will get much better answers if you show us what you have tried. This will spare those who want to help you from typing in the equations and texts.
– marmot
Feb 14 at 17:19
If you prefer to have the same typograph of your picture you can add the optionusepackage{newtxtext,newtxmath}
.
– Sebastiano
Feb 14 at 20:56
2
2
There are many options, and you will get much better answers if you show us what you have tried. This will spare those who want to help you from typing in the equations and texts.
– marmot
Feb 14 at 17:19
There are many options, and you will get much better answers if you show us what you have tried. This will spare those who want to help you from typing in the equations and texts.
– marmot
Feb 14 at 17:19
If you prefer to have the same typograph of your picture you can add the option
usepackage{newtxtext,newtxmath}
.– Sebastiano
Feb 14 at 20:56
If you prefer to have the same typograph of your picture you can add the option
usepackage{newtxtext,newtxmath}
.– Sebastiano
Feb 14 at 20:56
add a comment |
1 Answer
1
active
oldest
votes
IMHO you do not need anything special for that.
documentclass[fleqn]{article}
usepackage{amsmath}
usepackage{xcolor}
newcommand{dd}{mathrm{d}}
begin{document}
begin{align*}
left.frac{dd f}{dd x}right|_{x=3}&=frac{1}{sqrt{dots}}
&
textcolor{cyan}{
begin{aligned}
frac{dd}{dd x}left(-(-25-x^2)right)^{1/2} \
= dots
end{aligned}}
end{align*}
begin{align*}
y^2&=x^2+sin xy \
frac{dd }{dd x}left(y^2right)
&= frac{dd }{dd x}left(x^2right) + frac{dd }{dd x}left(sin xyright)
& &text{textcolor{cyan}{begin{tabular}{l}Differentiate both sides\
w.r.t. $x$end{tabular}}} \
2yfrac{dd y}{dd x}
&= 2x+cos(xy)frac{dd}{dd x}(xy)
& &text{textcolor{cyan}{begin{tabular}{l}Treating $y$ as a function \
of $x$ and using the Chain Ruleend{tabular}}}
end{align*}
end{document}
3
Long life tomathrm{d}
!!
– manooooh
Feb 14 at 18:59
3
@manooooh LOL :-) I absolutely agree with you :-)
– Sebastiano
Feb 14 at 20:52
3
@marmot My best compliments and wishes for your 100k!
– Sebastiano
Feb 14 at 20:53
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f474907%2fadding-explanations-to-equations%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
IMHO you do not need anything special for that.
documentclass[fleqn]{article}
usepackage{amsmath}
usepackage{xcolor}
newcommand{dd}{mathrm{d}}
begin{document}
begin{align*}
left.frac{dd f}{dd x}right|_{x=3}&=frac{1}{sqrt{dots}}
&
textcolor{cyan}{
begin{aligned}
frac{dd}{dd x}left(-(-25-x^2)right)^{1/2} \
= dots
end{aligned}}
end{align*}
begin{align*}
y^2&=x^2+sin xy \
frac{dd }{dd x}left(y^2right)
&= frac{dd }{dd x}left(x^2right) + frac{dd }{dd x}left(sin xyright)
& &text{textcolor{cyan}{begin{tabular}{l}Differentiate both sides\
w.r.t. $x$end{tabular}}} \
2yfrac{dd y}{dd x}
&= 2x+cos(xy)frac{dd}{dd x}(xy)
& &text{textcolor{cyan}{begin{tabular}{l}Treating $y$ as a function \
of $x$ and using the Chain Ruleend{tabular}}}
end{align*}
end{document}
3
Long life tomathrm{d}
!!
– manooooh
Feb 14 at 18:59
3
@manooooh LOL :-) I absolutely agree with you :-)
– Sebastiano
Feb 14 at 20:52
3
@marmot My best compliments and wishes for your 100k!
– Sebastiano
Feb 14 at 20:53
add a comment |
IMHO you do not need anything special for that.
documentclass[fleqn]{article}
usepackage{amsmath}
usepackage{xcolor}
newcommand{dd}{mathrm{d}}
begin{document}
begin{align*}
left.frac{dd f}{dd x}right|_{x=3}&=frac{1}{sqrt{dots}}
&
textcolor{cyan}{
begin{aligned}
frac{dd}{dd x}left(-(-25-x^2)right)^{1/2} \
= dots
end{aligned}}
end{align*}
begin{align*}
y^2&=x^2+sin xy \
frac{dd }{dd x}left(y^2right)
&= frac{dd }{dd x}left(x^2right) + frac{dd }{dd x}left(sin xyright)
& &text{textcolor{cyan}{begin{tabular}{l}Differentiate both sides\
w.r.t. $x$end{tabular}}} \
2yfrac{dd y}{dd x}
&= 2x+cos(xy)frac{dd}{dd x}(xy)
& &text{textcolor{cyan}{begin{tabular}{l}Treating $y$ as a function \
of $x$ and using the Chain Ruleend{tabular}}}
end{align*}
end{document}
3
Long life tomathrm{d}
!!
– manooooh
Feb 14 at 18:59
3
@manooooh LOL :-) I absolutely agree with you :-)
– Sebastiano
Feb 14 at 20:52
3
@marmot My best compliments and wishes for your 100k!
– Sebastiano
Feb 14 at 20:53
add a comment |
IMHO you do not need anything special for that.
documentclass[fleqn]{article}
usepackage{amsmath}
usepackage{xcolor}
newcommand{dd}{mathrm{d}}
begin{document}
begin{align*}
left.frac{dd f}{dd x}right|_{x=3}&=frac{1}{sqrt{dots}}
&
textcolor{cyan}{
begin{aligned}
frac{dd}{dd x}left(-(-25-x^2)right)^{1/2} \
= dots
end{aligned}}
end{align*}
begin{align*}
y^2&=x^2+sin xy \
frac{dd }{dd x}left(y^2right)
&= frac{dd }{dd x}left(x^2right) + frac{dd }{dd x}left(sin xyright)
& &text{textcolor{cyan}{begin{tabular}{l}Differentiate both sides\
w.r.t. $x$end{tabular}}} \
2yfrac{dd y}{dd x}
&= 2x+cos(xy)frac{dd}{dd x}(xy)
& &text{textcolor{cyan}{begin{tabular}{l}Treating $y$ as a function \
of $x$ and using the Chain Ruleend{tabular}}}
end{align*}
end{document}
IMHO you do not need anything special for that.
documentclass[fleqn]{article}
usepackage{amsmath}
usepackage{xcolor}
newcommand{dd}{mathrm{d}}
begin{document}
begin{align*}
left.frac{dd f}{dd x}right|_{x=3}&=frac{1}{sqrt{dots}}
&
textcolor{cyan}{
begin{aligned}
frac{dd}{dd x}left(-(-25-x^2)right)^{1/2} \
= dots
end{aligned}}
end{align*}
begin{align*}
y^2&=x^2+sin xy \
frac{dd }{dd x}left(y^2right)
&= frac{dd }{dd x}left(x^2right) + frac{dd }{dd x}left(sin xyright)
& &text{textcolor{cyan}{begin{tabular}{l}Differentiate both sides\
w.r.t. $x$end{tabular}}} \
2yfrac{dd y}{dd x}
&= 2x+cos(xy)frac{dd}{dd x}(xy)
& &text{textcolor{cyan}{begin{tabular}{l}Treating $y$ as a function \
of $x$ and using the Chain Ruleend{tabular}}}
end{align*}
end{document}
answered Feb 14 at 17:34
marmotmarmot
102k4119230
102k4119230
3
Long life tomathrm{d}
!!
– manooooh
Feb 14 at 18:59
3
@manooooh LOL :-) I absolutely agree with you :-)
– Sebastiano
Feb 14 at 20:52
3
@marmot My best compliments and wishes for your 100k!
– Sebastiano
Feb 14 at 20:53
add a comment |
3
Long life tomathrm{d}
!!
– manooooh
Feb 14 at 18:59
3
@manooooh LOL :-) I absolutely agree with you :-)
– Sebastiano
Feb 14 at 20:52
3
@marmot My best compliments and wishes for your 100k!
– Sebastiano
Feb 14 at 20:53
3
3
Long life to
mathrm{d}
!!– manooooh
Feb 14 at 18:59
Long life to
mathrm{d}
!!– manooooh
Feb 14 at 18:59
3
3
@manooooh LOL :-) I absolutely agree with you :-)
– Sebastiano
Feb 14 at 20:52
@manooooh LOL :-) I absolutely agree with you :-)
– Sebastiano
Feb 14 at 20:52
3
3
@marmot My best compliments and wishes for your 100k!
– Sebastiano
Feb 14 at 20:53
@marmot My best compliments and wishes for your 100k!
– Sebastiano
Feb 14 at 20:53
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f474907%2fadding-explanations-to-equations%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
2
There are many options, and you will get much better answers if you show us what you have tried. This will spare those who want to help you from typing in the equations and texts.
– marmot
Feb 14 at 17:19
If you prefer to have the same typograph of your picture you can add the option
usepackage{newtxtext,newtxmath}
.– Sebastiano
Feb 14 at 20:56