Write conversion factors in LaTeX












1















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.



enter image description here



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










share|improve this question




















  • 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 (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











  • @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
















1















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.



enter image description here



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










share|improve this question




















  • 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 (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











  • @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














1












1








1








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.



enter image description here



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










share|improve this question
















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.



enter image description here



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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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











  • @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














  • 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 (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











  • @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








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










1 Answer
1






active

oldest

votes


















4














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}


enter image description here






share|improve this answer























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









    4














    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}


    enter image description here






    share|improve this answer




























      4














      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}


      enter image description here






      share|improve this answer


























        4












        4








        4







        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}


        enter image description here






        share|improve this answer













        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}


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 6 '18 at 16:26









        egregegreg

        713k8618943182




        713k8618943182






























            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%2f463534%2fwrite-conversion-factors-in-latex%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

            To store a contact into the json file from server.js file using a class in NodeJS

            Marschland

            Redirect URL with Chrome Remote Debugging Android Devices