adding explanations to equations












5















How can we type equations and add explanations like below?
enter image description hereenter image description here



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?










share|improve this question


















  • 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
















5















How can we type equations and add explanations like below?
enter image description hereenter image description here



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?










share|improve this question


















  • 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














5












5








5


1






How can we type equations and add explanations like below?
enter image description hereenter image description here



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?










share|improve this question














How can we type equations and add explanations like below?
enter image description hereenter image description here



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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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 option usepackage{newtxtext,newtxmath}.

    – Sebastiano
    Feb 14 at 20:56














  • 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








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










1 Answer
1






active

oldest

votes


















6














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}


enter image description here






share|improve this answer



















  • 3





    Long life to mathrm{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













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%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









6














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}


enter image description here






share|improve this answer



















  • 3





    Long life to mathrm{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


















6














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}


enter image description here






share|improve this answer



















  • 3





    Long life to mathrm{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
















6












6








6







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}


enter image description here






share|improve this answer













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}


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 14 at 17:34









marmotmarmot

102k4119230




102k4119230








  • 3





    Long life to mathrm{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





    Long life to mathrm{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




















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%2f474907%2fadding-explanations-to-equations%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

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?