Write conversion factors in LaTeX
I would like to write the following conversion factor in LaTeX, I've been looking in different manuals and I can't find anything. I hope you can help me.
I have come to the following, but the problem is that I am not able to put spaces between spaces. And, ideally, things that are the same could be crossed out:
30 mL dis times frac{0,1 mol NaOH}{10^{3} mL} times ...
math-mode amsmath
add a comment |
I would like to write the following conversion factor in LaTeX, I've been looking in different manuals and I can't find anything. I hope you can help me.
I have come to the following, but the problem is that I am not able to put spaces between spaces. And, ideally, things that are the same could be crossed out:
30 mL dis times frac{0,1 mol NaOH}{10^{3} mL} times ...
math-mode amsmath
1
What is “HftK”?
– egreg
Dec 6 '18 at 16:05
What have you been able to do so far? Most of this isn't too difficult and would only take a little bit of TeX knowledge. The units (seesiunitx
) and chemistry (possiblychemfig
) would be a little more challenging, but if you can give us a starting point, that'd be nice.
– Teepeemm
Dec 6 '18 at 16:10
It's an abbreviation I use so I don't have to write potassium hydrogen phthalate
– aprendiendo-a-programar
Dec 6 '18 at 16:11
@Teepeemm I just edited it so I can see what I've done.
– aprendiendo-a-programar
Dec 6 '18 at 16:14
It would be best if you typed in the Minimal Working Example fromdocumentclass
throughend{document}
that gives the above equation.
– Teepeemm
Dec 6 '18 at 16:21
add a comment |
I would like to write the following conversion factor in LaTeX, I've been looking in different manuals and I can't find anything. I hope you can help me.
I have come to the following, but the problem is that I am not able to put spaces between spaces. And, ideally, things that are the same could be crossed out:
30 mL dis times frac{0,1 mol NaOH}{10^{3} mL} times ...
math-mode amsmath
I would like to write the following conversion factor in LaTeX, I've been looking in different manuals and I can't find anything. I hope you can help me.
I have come to the following, but the problem is that I am not able to put spaces between spaces. And, ideally, things that are the same could be crossed out:
30 mL dis times frac{0,1 mol NaOH}{10^{3} mL} times ...
math-mode amsmath
math-mode amsmath
edited Dec 6 '18 at 16:14
aprendiendo-a-programar
asked Dec 6 '18 at 15:57
aprendiendo-a-programaraprendiendo-a-programar
103
103
1
What is “HftK”?
– egreg
Dec 6 '18 at 16:05
What have you been able to do so far? Most of this isn't too difficult and would only take a little bit of TeX knowledge. The units (seesiunitx
) and chemistry (possiblychemfig
) would be a little more challenging, but if you can give us a starting point, that'd be nice.
– Teepeemm
Dec 6 '18 at 16:10
It's an abbreviation I use so I don't have to write potassium hydrogen phthalate
– aprendiendo-a-programar
Dec 6 '18 at 16:11
@Teepeemm I just edited it so I can see what I've done.
– aprendiendo-a-programar
Dec 6 '18 at 16:14
It would be best if you typed in the Minimal Working Example fromdocumentclass
throughend{document}
that gives the above equation.
– Teepeemm
Dec 6 '18 at 16:21
add a comment |
1
What is “HftK”?
– egreg
Dec 6 '18 at 16:05
What have you been able to do so far? Most of this isn't too difficult and would only take a little bit of TeX knowledge. The units (seesiunitx
) and chemistry (possiblychemfig
) would be a little more challenging, but if you can give us a starting point, that'd be nice.
– Teepeemm
Dec 6 '18 at 16:10
It's an abbreviation I use so I don't have to write potassium hydrogen phthalate
– aprendiendo-a-programar
Dec 6 '18 at 16:11
@Teepeemm I just edited it so I can see what I've done.
– aprendiendo-a-programar
Dec 6 '18 at 16:14
It would be best if you typed in the Minimal Working Example fromdocumentclass
throughend{document}
that gives the above equation.
– Teepeemm
Dec 6 '18 at 16:21
1
1
What is “HftK”?
– egreg
Dec 6 '18 at 16:05
What is “HftK”?
– egreg
Dec 6 '18 at 16:05
What have you been able to do so far? Most of this isn't too difficult and would only take a little bit of TeX knowledge. The units (see
siunitx
) and chemistry (possibly chemfig
) would be a little more challenging, but if you can give us a starting point, that'd be nice.– Teepeemm
Dec 6 '18 at 16:10
What have you been able to do so far? Most of this isn't too difficult and would only take a little bit of TeX knowledge. The units (see
siunitx
) and chemistry (possibly chemfig
) would be a little more challenging, but if you can give us a starting point, that'd be nice.– Teepeemm
Dec 6 '18 at 16:10
It's an abbreviation I use so I don't have to write potassium hydrogen phthalate
– aprendiendo-a-programar
Dec 6 '18 at 16:11
It's an abbreviation I use so I don't have to write potassium hydrogen phthalate
– aprendiendo-a-programar
Dec 6 '18 at 16:11
@Teepeemm I just edited it so I can see what I've done.
– aprendiendo-a-programar
Dec 6 '18 at 16:14
@Teepeemm I just edited it so I can see what I've done.
– aprendiendo-a-programar
Dec 6 '18 at 16:14
It would be best if you typed in the Minimal Working Example from
documentclass
through end{document}
that gives the above equation.– Teepeemm
Dec 6 '18 at 16:21
It would be best if you typed in the Minimal Working Example from
documentclass
through end{document}
that gives the above equation.– Teepeemm
Dec 6 '18 at 16:21
add a comment |
1 Answer
1
active
oldest
votes
You can use siunitx
for the units and numbers, with mhchem
for the name of substances.
documentclass{article}
usepackage{amsmath}
usepackage{siunitx}
usepackage[version=4]{mhchem}
sisetup{output-decimal-marker={,}}
begin{document}
[
SI{30}{milliliter},mathrm{dis.}cdot
frac{SI{0,1}{mol},ce{NaOH}}{SI{e3}{milliliter},mathrm{dis.}}cdot
frac{SI{1}{mol},ce{HftK}}{SI{1}{mol},ce{NaOH}}cdot
frac{SI{204,23}{mol},ce{HftK}}{SI{1}{mol},ce{HftK}}=
SI{0,61269}{gram},ce{HftK}
]
end{document}
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%2f463534%2fwrite-conversion-factors-in-latex%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
You can use siunitx
for the units and numbers, with mhchem
for the name of substances.
documentclass{article}
usepackage{amsmath}
usepackage{siunitx}
usepackage[version=4]{mhchem}
sisetup{output-decimal-marker={,}}
begin{document}
[
SI{30}{milliliter},mathrm{dis.}cdot
frac{SI{0,1}{mol},ce{NaOH}}{SI{e3}{milliliter},mathrm{dis.}}cdot
frac{SI{1}{mol},ce{HftK}}{SI{1}{mol},ce{NaOH}}cdot
frac{SI{204,23}{mol},ce{HftK}}{SI{1}{mol},ce{HftK}}=
SI{0,61269}{gram},ce{HftK}
]
end{document}
add a comment |
You can use siunitx
for the units and numbers, with mhchem
for the name of substances.
documentclass{article}
usepackage{amsmath}
usepackage{siunitx}
usepackage[version=4]{mhchem}
sisetup{output-decimal-marker={,}}
begin{document}
[
SI{30}{milliliter},mathrm{dis.}cdot
frac{SI{0,1}{mol},ce{NaOH}}{SI{e3}{milliliter},mathrm{dis.}}cdot
frac{SI{1}{mol},ce{HftK}}{SI{1}{mol},ce{NaOH}}cdot
frac{SI{204,23}{mol},ce{HftK}}{SI{1}{mol},ce{HftK}}=
SI{0,61269}{gram},ce{HftK}
]
end{document}
add a comment |
You can use siunitx
for the units and numbers, with mhchem
for the name of substances.
documentclass{article}
usepackage{amsmath}
usepackage{siunitx}
usepackage[version=4]{mhchem}
sisetup{output-decimal-marker={,}}
begin{document}
[
SI{30}{milliliter},mathrm{dis.}cdot
frac{SI{0,1}{mol},ce{NaOH}}{SI{e3}{milliliter},mathrm{dis.}}cdot
frac{SI{1}{mol},ce{HftK}}{SI{1}{mol},ce{NaOH}}cdot
frac{SI{204,23}{mol},ce{HftK}}{SI{1}{mol},ce{HftK}}=
SI{0,61269}{gram},ce{HftK}
]
end{document}
You can use siunitx
for the units and numbers, with mhchem
for the name of substances.
documentclass{article}
usepackage{amsmath}
usepackage{siunitx}
usepackage[version=4]{mhchem}
sisetup{output-decimal-marker={,}}
begin{document}
[
SI{30}{milliliter},mathrm{dis.}cdot
frac{SI{0,1}{mol},ce{NaOH}}{SI{e3}{milliliter},mathrm{dis.}}cdot
frac{SI{1}{mol},ce{HftK}}{SI{1}{mol},ce{NaOH}}cdot
frac{SI{204,23}{mol},ce{HftK}}{SI{1}{mol},ce{HftK}}=
SI{0,61269}{gram},ce{HftK}
]
end{document}
answered Dec 6 '18 at 16:26
egregegreg
713k8618943182
713k8618943182
add a comment |
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%2f463534%2fwrite-conversion-factors-in-latex%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
What is “HftK”?
– egreg
Dec 6 '18 at 16:05
What have you been able to do so far? Most of this isn't too difficult and would only take a little bit of TeX knowledge. The units (see
siunitx
) and chemistry (possiblychemfig
) would be a little more challenging, but if you can give us a starting point, that'd be nice.– Teepeemm
Dec 6 '18 at 16:10
It's an abbreviation I use so I don't have to write potassium hydrogen phthalate
– aprendiendo-a-programar
Dec 6 '18 at 16:11
@Teepeemm I just edited it so I can see what I've done.
– aprendiendo-a-programar
Dec 6 '18 at 16:14
It would be best if you typed in the Minimal Working Example from
documentclass
throughend{document}
that gives the above equation.– Teepeemm
Dec 6 '18 at 16:21