Molecular orbital diagram for CH2












2















I'm trying to draw an MO diagram for CH2 by mimicking this MO diagram (excluding the orbital images), but things don't look like the way I want it to be. I really want to make it nice and similar to the image, but what I'm doing right now just seems sad and would really appreciate it if someone can help me.



enter image description here



I tried using MOdiagram package, but needs A LOT of work on it, especially with the overall size of the diagram because it is too small when I typeset. So, it would be really nice if someone can help me. Please and thank you.



documentclass{article}
usepackage{modiagram}
usepackage[version=4]{mhchem}
begin{document}

begin{MOdiagram}[labels-fs=scriptsize]
AO(1cm){s}[label={2s}]{0.5;}
AO(-0.4cm){p}[label={2p}]{2;}
node at (1cm, -1){C};
%%%%%%%%%%%%%%%%%%%%%%%
AO(3cm){s}[label={$2mathrm{a}_1$}]{0;pair}
AO(3cm){s}[label={1e}]{0.9;pair}
AO(3cm){s}{1.1;pair}
AO(3cm){s}[label={$3mathrm{a}_1$}]{2;pair}
AO(3cm){s}[label={$4mathrm{a}_1$}]{3;}
AO(3cm){s}[label={2e}]{3.9;}
AO(3cm){s}{4.1;}
node at (3cm, -1){ce{CH_2}};
%%%%%%%%%%%%%%%%%%%%%%%
AO(5cm){s}[label={1s}]{2.5;}
node at (5cm, -1){H};
end{MOdiagram}


end{document}









share|improve this question




















  • 2





    Most likely documentcalss{article} should be documentclass{article}. And if I correct this, I get errors on my machine. Most likely you are not to blame for them but I am wondering which TeX installation you are using.

    – marmot
    Mar 3 at 0:52











  • @marmot Sorry for that. I tried fixing some details of it. See if the copy and paste works now, when you typeset. Please and thank you.

    – Dave2343
    Mar 3 at 2:12











  • Thanks for updating you MWE! Unfortunately I run into the issue tex.stackexchange.com/q/474476/121799 . (Anybody else having the same problem?)

    – marmot
    Mar 3 at 2:24











  • Try adding the package usepackage[version=4]{mhchem} It should do the trick. @marmot

    – Dave2343
    Mar 3 at 2:58
















2















I'm trying to draw an MO diagram for CH2 by mimicking this MO diagram (excluding the orbital images), but things don't look like the way I want it to be. I really want to make it nice and similar to the image, but what I'm doing right now just seems sad and would really appreciate it if someone can help me.



enter image description here



I tried using MOdiagram package, but needs A LOT of work on it, especially with the overall size of the diagram because it is too small when I typeset. So, it would be really nice if someone can help me. Please and thank you.



documentclass{article}
usepackage{modiagram}
usepackage[version=4]{mhchem}
begin{document}

begin{MOdiagram}[labels-fs=scriptsize]
AO(1cm){s}[label={2s}]{0.5;}
AO(-0.4cm){p}[label={2p}]{2;}
node at (1cm, -1){C};
%%%%%%%%%%%%%%%%%%%%%%%
AO(3cm){s}[label={$2mathrm{a}_1$}]{0;pair}
AO(3cm){s}[label={1e}]{0.9;pair}
AO(3cm){s}{1.1;pair}
AO(3cm){s}[label={$3mathrm{a}_1$}]{2;pair}
AO(3cm){s}[label={$4mathrm{a}_1$}]{3;}
AO(3cm){s}[label={2e}]{3.9;}
AO(3cm){s}{4.1;}
node at (3cm, -1){ce{CH_2}};
%%%%%%%%%%%%%%%%%%%%%%%
AO(5cm){s}[label={1s}]{2.5;}
node at (5cm, -1){H};
end{MOdiagram}


end{document}









share|improve this question




















  • 2





    Most likely documentcalss{article} should be documentclass{article}. And if I correct this, I get errors on my machine. Most likely you are not to blame for them but I am wondering which TeX installation you are using.

    – marmot
    Mar 3 at 0:52











  • @marmot Sorry for that. I tried fixing some details of it. See if the copy and paste works now, when you typeset. Please and thank you.

    – Dave2343
    Mar 3 at 2:12











  • Thanks for updating you MWE! Unfortunately I run into the issue tex.stackexchange.com/q/474476/121799 . (Anybody else having the same problem?)

    – marmot
    Mar 3 at 2:24











  • Try adding the package usepackage[version=4]{mhchem} It should do the trick. @marmot

    – Dave2343
    Mar 3 at 2:58














2












2








2


1






I'm trying to draw an MO diagram for CH2 by mimicking this MO diagram (excluding the orbital images), but things don't look like the way I want it to be. I really want to make it nice and similar to the image, but what I'm doing right now just seems sad and would really appreciate it if someone can help me.



enter image description here



I tried using MOdiagram package, but needs A LOT of work on it, especially with the overall size of the diagram because it is too small when I typeset. So, it would be really nice if someone can help me. Please and thank you.



documentclass{article}
usepackage{modiagram}
usepackage[version=4]{mhchem}
begin{document}

begin{MOdiagram}[labels-fs=scriptsize]
AO(1cm){s}[label={2s}]{0.5;}
AO(-0.4cm){p}[label={2p}]{2;}
node at (1cm, -1){C};
%%%%%%%%%%%%%%%%%%%%%%%
AO(3cm){s}[label={$2mathrm{a}_1$}]{0;pair}
AO(3cm){s}[label={1e}]{0.9;pair}
AO(3cm){s}{1.1;pair}
AO(3cm){s}[label={$3mathrm{a}_1$}]{2;pair}
AO(3cm){s}[label={$4mathrm{a}_1$}]{3;}
AO(3cm){s}[label={2e}]{3.9;}
AO(3cm){s}{4.1;}
node at (3cm, -1){ce{CH_2}};
%%%%%%%%%%%%%%%%%%%%%%%
AO(5cm){s}[label={1s}]{2.5;}
node at (5cm, -1){H};
end{MOdiagram}


end{document}









share|improve this question
















I'm trying to draw an MO diagram for CH2 by mimicking this MO diagram (excluding the orbital images), but things don't look like the way I want it to be. I really want to make it nice and similar to the image, but what I'm doing right now just seems sad and would really appreciate it if someone can help me.



enter image description here



I tried using MOdiagram package, but needs A LOT of work on it, especially with the overall size of the diagram because it is too small when I typeset. So, it would be really nice if someone can help me. Please and thank you.



documentclass{article}
usepackage{modiagram}
usepackage[version=4]{mhchem}
begin{document}

begin{MOdiagram}[labels-fs=scriptsize]
AO(1cm){s}[label={2s}]{0.5;}
AO(-0.4cm){p}[label={2p}]{2;}
node at (1cm, -1){C};
%%%%%%%%%%%%%%%%%%%%%%%
AO(3cm){s}[label={$2mathrm{a}_1$}]{0;pair}
AO(3cm){s}[label={1e}]{0.9;pair}
AO(3cm){s}{1.1;pair}
AO(3cm){s}[label={$3mathrm{a}_1$}]{2;pair}
AO(3cm){s}[label={$4mathrm{a}_1$}]{3;}
AO(3cm){s}[label={2e}]{3.9;}
AO(3cm){s}{4.1;}
node at (3cm, -1){ce{CH_2}};
%%%%%%%%%%%%%%%%%%%%%%%
AO(5cm){s}[label={1s}]{2.5;}
node at (5cm, -1){H};
end{MOdiagram}


end{document}






tikz-pgf modiagram






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 3 at 2:57







Dave2343

















asked Mar 2 at 23:05









Dave2343Dave2343

785




785








  • 2





    Most likely documentcalss{article} should be documentclass{article}. And if I correct this, I get errors on my machine. Most likely you are not to blame for them but I am wondering which TeX installation you are using.

    – marmot
    Mar 3 at 0:52











  • @marmot Sorry for that. I tried fixing some details of it. See if the copy and paste works now, when you typeset. Please and thank you.

    – Dave2343
    Mar 3 at 2:12











  • Thanks for updating you MWE! Unfortunately I run into the issue tex.stackexchange.com/q/474476/121799 . (Anybody else having the same problem?)

    – marmot
    Mar 3 at 2:24











  • Try adding the package usepackage[version=4]{mhchem} It should do the trick. @marmot

    – Dave2343
    Mar 3 at 2:58














  • 2





    Most likely documentcalss{article} should be documentclass{article}. And if I correct this, I get errors on my machine. Most likely you are not to blame for them but I am wondering which TeX installation you are using.

    – marmot
    Mar 3 at 0:52











  • @marmot Sorry for that. I tried fixing some details of it. See if the copy and paste works now, when you typeset. Please and thank you.

    – Dave2343
    Mar 3 at 2:12











  • Thanks for updating you MWE! Unfortunately I run into the issue tex.stackexchange.com/q/474476/121799 . (Anybody else having the same problem?)

    – marmot
    Mar 3 at 2:24











  • Try adding the package usepackage[version=4]{mhchem} It should do the trick. @marmot

    – Dave2343
    Mar 3 at 2:58








2




2





Most likely documentcalss{article} should be documentclass{article}. And if I correct this, I get errors on my machine. Most likely you are not to blame for them but I am wondering which TeX installation you are using.

– marmot
Mar 3 at 0:52





Most likely documentcalss{article} should be documentclass{article}. And if I correct this, I get errors on my machine. Most likely you are not to blame for them but I am wondering which TeX installation you are using.

– marmot
Mar 3 at 0:52













@marmot Sorry for that. I tried fixing some details of it. See if the copy and paste works now, when you typeset. Please and thank you.

– Dave2343
Mar 3 at 2:12





@marmot Sorry for that. I tried fixing some details of it. See if the copy and paste works now, when you typeset. Please and thank you.

– Dave2343
Mar 3 at 2:12













Thanks for updating you MWE! Unfortunately I run into the issue tex.stackexchange.com/q/474476/121799 . (Anybody else having the same problem?)

– marmot
Mar 3 at 2:24





Thanks for updating you MWE! Unfortunately I run into the issue tex.stackexchange.com/q/474476/121799 . (Anybody else having the same problem?)

– marmot
Mar 3 at 2:24













Try adding the package usepackage[version=4]{mhchem} It should do the trick. @marmot

– Dave2343
Mar 3 at 2:58





Try adding the package usepackage[version=4]{mhchem} It should do the trick. @marmot

– Dave2343
Mar 3 at 2:58










1 Answer
1






active

oldest

votes


















0














I haven't used MOdiagram before, but as you tagged the question tikz-pgf, here is a (simple) pure TikZ solution.



I am not even using a chemistry package and writing BeH2 as BeH$_2$
:) but you really should change that in your document.



documentclass[tikz,margin=3mm]{standalone}
begin{document}
begin{tikzpicture}
draw[dotted] (-3,0)--(-.3,3)--(.3,3)--(4,-1)--(.3,-4.5)--(-.3,-4.5)--cycle;
draw[dotted] (-3,-1.5)--(-.3,1.5)--(.3,1.5)--(4,-2)--(.3,-6.5)--(-.3,-6.5)--cycle;
draw[thick] (-.3,3)--(.3,3) (-.3,1.5)--(.3,1.5) (-.8,0)--(-.2,0) (.2,0)--(.8,0) (-.3,-4.5)--(.3,-4.5) (-.3,-6.5)--(.3,-6.5) (-3,0)--(-3.6,0) node[midway,below] {$2p_z$} (-3.8,0)--(-4.4,0) node[midway,below] {$2p_y$} (-4.6,0)--(-5.2,0) node[midway,below] {$2p_x$} (-3,-1.5)--(-3.6,-1.5) node[midway,below] {$2s$} (4,-2)--(4.6,-2) node[midway,below] {$Phi_mathrm g$} (4,-1)--(4.6,-1) node[midway,below] {$Phi_mathrm u$};
draw[dotted] (-4.6,0)--(1.9,0);
draw (0,0) node[below] {$pi_mathrm u^mathrm n$};
draw (0,.75) node {$sigma^*_mathrm g$};
draw (0,2.25) node {$sigma^*_mathrm u$};
draw (0,-5.5) node {$sigma_mathrm u$};
draw (0,-4.5) node {rotatebox{90}{$rightleftharpoons$}};
draw (0,-6.5) node {rotatebox{90}{$rightleftharpoons$}};
draw (0,-7) node {$sigma_mathrm g$};
draw (-4.2,4) node {Be};
draw (0,4) node {BeH$_2$};
draw (4.2,4) node {2 H (textsc{salc}s)};
end{tikzpicture}
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%2f477492%2fmolecular-orbital-diagram-for-ch2%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









    0














    I haven't used MOdiagram before, but as you tagged the question tikz-pgf, here is a (simple) pure TikZ solution.



    I am not even using a chemistry package and writing BeH2 as BeH$_2$
    :) but you really should change that in your document.



    documentclass[tikz,margin=3mm]{standalone}
    begin{document}
    begin{tikzpicture}
    draw[dotted] (-3,0)--(-.3,3)--(.3,3)--(4,-1)--(.3,-4.5)--(-.3,-4.5)--cycle;
    draw[dotted] (-3,-1.5)--(-.3,1.5)--(.3,1.5)--(4,-2)--(.3,-6.5)--(-.3,-6.5)--cycle;
    draw[thick] (-.3,3)--(.3,3) (-.3,1.5)--(.3,1.5) (-.8,0)--(-.2,0) (.2,0)--(.8,0) (-.3,-4.5)--(.3,-4.5) (-.3,-6.5)--(.3,-6.5) (-3,0)--(-3.6,0) node[midway,below] {$2p_z$} (-3.8,0)--(-4.4,0) node[midway,below] {$2p_y$} (-4.6,0)--(-5.2,0) node[midway,below] {$2p_x$} (-3,-1.5)--(-3.6,-1.5) node[midway,below] {$2s$} (4,-2)--(4.6,-2) node[midway,below] {$Phi_mathrm g$} (4,-1)--(4.6,-1) node[midway,below] {$Phi_mathrm u$};
    draw[dotted] (-4.6,0)--(1.9,0);
    draw (0,0) node[below] {$pi_mathrm u^mathrm n$};
    draw (0,.75) node {$sigma^*_mathrm g$};
    draw (0,2.25) node {$sigma^*_mathrm u$};
    draw (0,-5.5) node {$sigma_mathrm u$};
    draw (0,-4.5) node {rotatebox{90}{$rightleftharpoons$}};
    draw (0,-6.5) node {rotatebox{90}{$rightleftharpoons$}};
    draw (0,-7) node {$sigma_mathrm g$};
    draw (-4.2,4) node {Be};
    draw (0,4) node {BeH$_2$};
    draw (4.2,4) node {2 H (textsc{salc}s)};
    end{tikzpicture}
    end{document}


    enter image description here






    share|improve this answer






























      0














      I haven't used MOdiagram before, but as you tagged the question tikz-pgf, here is a (simple) pure TikZ solution.



      I am not even using a chemistry package and writing BeH2 as BeH$_2$
      :) but you really should change that in your document.



      documentclass[tikz,margin=3mm]{standalone}
      begin{document}
      begin{tikzpicture}
      draw[dotted] (-3,0)--(-.3,3)--(.3,3)--(4,-1)--(.3,-4.5)--(-.3,-4.5)--cycle;
      draw[dotted] (-3,-1.5)--(-.3,1.5)--(.3,1.5)--(4,-2)--(.3,-6.5)--(-.3,-6.5)--cycle;
      draw[thick] (-.3,3)--(.3,3) (-.3,1.5)--(.3,1.5) (-.8,0)--(-.2,0) (.2,0)--(.8,0) (-.3,-4.5)--(.3,-4.5) (-.3,-6.5)--(.3,-6.5) (-3,0)--(-3.6,0) node[midway,below] {$2p_z$} (-3.8,0)--(-4.4,0) node[midway,below] {$2p_y$} (-4.6,0)--(-5.2,0) node[midway,below] {$2p_x$} (-3,-1.5)--(-3.6,-1.5) node[midway,below] {$2s$} (4,-2)--(4.6,-2) node[midway,below] {$Phi_mathrm g$} (4,-1)--(4.6,-1) node[midway,below] {$Phi_mathrm u$};
      draw[dotted] (-4.6,0)--(1.9,0);
      draw (0,0) node[below] {$pi_mathrm u^mathrm n$};
      draw (0,.75) node {$sigma^*_mathrm g$};
      draw (0,2.25) node {$sigma^*_mathrm u$};
      draw (0,-5.5) node {$sigma_mathrm u$};
      draw (0,-4.5) node {rotatebox{90}{$rightleftharpoons$}};
      draw (0,-6.5) node {rotatebox{90}{$rightleftharpoons$}};
      draw (0,-7) node {$sigma_mathrm g$};
      draw (-4.2,4) node {Be};
      draw (0,4) node {BeH$_2$};
      draw (4.2,4) node {2 H (textsc{salc}s)};
      end{tikzpicture}
      end{document}


      enter image description here






      share|improve this answer




























        0












        0








        0







        I haven't used MOdiagram before, but as you tagged the question tikz-pgf, here is a (simple) pure TikZ solution.



        I am not even using a chemistry package and writing BeH2 as BeH$_2$
        :) but you really should change that in your document.



        documentclass[tikz,margin=3mm]{standalone}
        begin{document}
        begin{tikzpicture}
        draw[dotted] (-3,0)--(-.3,3)--(.3,3)--(4,-1)--(.3,-4.5)--(-.3,-4.5)--cycle;
        draw[dotted] (-3,-1.5)--(-.3,1.5)--(.3,1.5)--(4,-2)--(.3,-6.5)--(-.3,-6.5)--cycle;
        draw[thick] (-.3,3)--(.3,3) (-.3,1.5)--(.3,1.5) (-.8,0)--(-.2,0) (.2,0)--(.8,0) (-.3,-4.5)--(.3,-4.5) (-.3,-6.5)--(.3,-6.5) (-3,0)--(-3.6,0) node[midway,below] {$2p_z$} (-3.8,0)--(-4.4,0) node[midway,below] {$2p_y$} (-4.6,0)--(-5.2,0) node[midway,below] {$2p_x$} (-3,-1.5)--(-3.6,-1.5) node[midway,below] {$2s$} (4,-2)--(4.6,-2) node[midway,below] {$Phi_mathrm g$} (4,-1)--(4.6,-1) node[midway,below] {$Phi_mathrm u$};
        draw[dotted] (-4.6,0)--(1.9,0);
        draw (0,0) node[below] {$pi_mathrm u^mathrm n$};
        draw (0,.75) node {$sigma^*_mathrm g$};
        draw (0,2.25) node {$sigma^*_mathrm u$};
        draw (0,-5.5) node {$sigma_mathrm u$};
        draw (0,-4.5) node {rotatebox{90}{$rightleftharpoons$}};
        draw (0,-6.5) node {rotatebox{90}{$rightleftharpoons$}};
        draw (0,-7) node {$sigma_mathrm g$};
        draw (-4.2,4) node {Be};
        draw (0,4) node {BeH$_2$};
        draw (4.2,4) node {2 H (textsc{salc}s)};
        end{tikzpicture}
        end{document}


        enter image description here






        share|improve this answer















        I haven't used MOdiagram before, but as you tagged the question tikz-pgf, here is a (simple) pure TikZ solution.



        I am not even using a chemistry package and writing BeH2 as BeH$_2$
        :) but you really should change that in your document.



        documentclass[tikz,margin=3mm]{standalone}
        begin{document}
        begin{tikzpicture}
        draw[dotted] (-3,0)--(-.3,3)--(.3,3)--(4,-1)--(.3,-4.5)--(-.3,-4.5)--cycle;
        draw[dotted] (-3,-1.5)--(-.3,1.5)--(.3,1.5)--(4,-2)--(.3,-6.5)--(-.3,-6.5)--cycle;
        draw[thick] (-.3,3)--(.3,3) (-.3,1.5)--(.3,1.5) (-.8,0)--(-.2,0) (.2,0)--(.8,0) (-.3,-4.5)--(.3,-4.5) (-.3,-6.5)--(.3,-6.5) (-3,0)--(-3.6,0) node[midway,below] {$2p_z$} (-3.8,0)--(-4.4,0) node[midway,below] {$2p_y$} (-4.6,0)--(-5.2,0) node[midway,below] {$2p_x$} (-3,-1.5)--(-3.6,-1.5) node[midway,below] {$2s$} (4,-2)--(4.6,-2) node[midway,below] {$Phi_mathrm g$} (4,-1)--(4.6,-1) node[midway,below] {$Phi_mathrm u$};
        draw[dotted] (-4.6,0)--(1.9,0);
        draw (0,0) node[below] {$pi_mathrm u^mathrm n$};
        draw (0,.75) node {$sigma^*_mathrm g$};
        draw (0,2.25) node {$sigma^*_mathrm u$};
        draw (0,-5.5) node {$sigma_mathrm u$};
        draw (0,-4.5) node {rotatebox{90}{$rightleftharpoons$}};
        draw (0,-6.5) node {rotatebox{90}{$rightleftharpoons$}};
        draw (0,-7) node {$sigma_mathrm g$};
        draw (-4.2,4) node {Be};
        draw (0,4) node {BeH$_2$};
        draw (4.2,4) node {2 H (textsc{salc}s)};
        end{tikzpicture}
        end{document}


        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 4 at 15:06

























        answered Mar 3 at 6:20









        JouleVJouleV

        5,05111239




        5,05111239






























            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%2f477492%2fmolecular-orbital-diagram-for-ch2%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 send String Array data to Server using php in android

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Is anime1.com a legal site for watching anime?