How to write mathematical equations above and below double harpoons in chemical equations?Smaller matrices (or other math elements) in displayed mathHow do I enforce a font size on a newly-defined symbol while using it in math mode?Does the comma look the same within/without the dollar signs?chemformula: escaped input isn't treated as suchHow to change a single character font after writing long document?Labeling equations and math modeNorm of “a” looks different from Norm of “b” in math modeIs there a way to put two labelled equations into one beginequation and align both of them at the beginning?

Did anybody find out it was Anakin who blew up the command center?

How to say "I only speak one language which is English" in French?

Cutting numbers into a specific decimals

How do Barton (Hawkeye/Ronin) and Romanov (Black Widow) end up on the Benatar on Morag in 2014?

Pen test results for web application include a file from a forbidden directory that is not even used or referenced

Spicing up a moment of peace

Why can't you say don't instead of won't?

Stolen MacBook should I worry about my data?

What's the point of fighting monsters in Zelda BotW?

Is there a better way to use C# dictionaries than TryGetValue?

Why does AM radio react to IR remote?

How to deal with anxiety caused by dangerous riding conditions stemming from poor lane design and inconsiderate fellow road users?

Defending Castle from Zombies

Is there an in-universe explanation given to the senior Imperial Navy Officers as to why Darth Vader serves Emperor Palpatine?

Is allowing Barbarian features to work with Dex-based attacks imbalancing?

How did medieval manors handle population growth? Were there room for more fields to be ploughed?

What ways are there to "PEEK" memory sections in (different) BASIC(s)

Did ancient peoples ever hide their treasure behind puzzles?

Is the internet in Madagascar faster than in UK?

Is there a word or phrase that means "use other people's wifi or Internet service without consent"?

How to prevent a hosting company from accessing a VM's encryption keys?

What will be the immediate action by the pilot and ATC if any plane blocks the runway while landing?

Printing a list as "a, b, c." using Python

Is the Amazon rainforest the "world's lungs"?



How to write mathematical equations above and below double harpoons in chemical equations?


Smaller matrices (or other math elements) in displayed mathHow do I enforce a font size on a newly-defined symbol while using it in math mode?Does the comma look the same within/without the dollar signs?chemformula: escaped input isn't treated as suchHow to change a single character font after writing long document?Labeling equations and math modeNorm of “a” looks different from Norm of “b” in math modeIs there a way to put two labelled equations into one beginequation and align both of them at the beginning?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3















I'm trying to write a chemical equation with k_f and k_b (in math mode) above and below a double harpoon, respectively. I wrote the following code, which uses the chemmacros package:



beginequation
sum_s=1^N_snu'_s chX_s ch<=>[$k_f$][$k_b$] sum_s=1^N_snu''_s chX_s
labeleq:chemical_reaction_f_b
endequation


The result is the following:



enter image description here



As you can see, the f and b in the two k letters aren't in subscript as desired. How can I correct this?










share|improve this question


























  • Did any errors get reported in the log? Specifically regarding math mode?

    – barbara beeton
    6 hours ago











  • add blank spaces ch<=>[ $k_f$ ][ $k_b$ ]

    – polyn
    1 hour ago

















3















I'm trying to write a chemical equation with k_f and k_b (in math mode) above and below a double harpoon, respectively. I wrote the following code, which uses the chemmacros package:



beginequation
sum_s=1^N_snu'_s chX_s ch<=>[$k_f$][$k_b$] sum_s=1^N_snu''_s chX_s
labeleq:chemical_reaction_f_b
endequation


The result is the following:



enter image description here



As you can see, the f and b in the two k letters aren't in subscript as desired. How can I correct this?










share|improve this question


























  • Did any errors get reported in the log? Specifically regarding math mode?

    – barbara beeton
    6 hours ago











  • add blank spaces ch<=>[ $k_f$ ][ $k_b$ ]

    – polyn
    1 hour ago













3












3








3








I'm trying to write a chemical equation with k_f and k_b (in math mode) above and below a double harpoon, respectively. I wrote the following code, which uses the chemmacros package:



beginequation
sum_s=1^N_snu'_s chX_s ch<=>[$k_f$][$k_b$] sum_s=1^N_snu''_s chX_s
labeleq:chemical_reaction_f_b
endequation


The result is the following:



enter image description here



As you can see, the f and b in the two k letters aren't in subscript as desired. How can I correct this?










share|improve this question
















I'm trying to write a chemical equation with k_f and k_b (in math mode) above and below a double harpoon, respectively. I wrote the following code, which uses the chemmacros package:



beginequation
sum_s=1^N_snu'_s chX_s ch<=>[$k_f$][$k_b$] sum_s=1^N_snu''_s chX_s
labeleq:chemical_reaction_f_b
endequation


The result is the following:



enter image description here



As you can see, the f and b in the two k letters aren't in subscript as desired. How can I correct this?







math-mode chemmacros






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 5 hours ago









Bernard

189k7 gold badges86 silver badges224 bronze badges




189k7 gold badges86 silver badges224 bronze badges










asked 8 hours ago









Élio PereiraÉlio Pereira

1205 bronze badges




1205 bronze badges















  • Did any errors get reported in the log? Specifically regarding math mode?

    – barbara beeton
    6 hours ago











  • add blank spaces ch<=>[ $k_f$ ][ $k_b$ ]

    – polyn
    1 hour ago

















  • Did any errors get reported in the log? Specifically regarding math mode?

    – barbara beeton
    6 hours ago











  • add blank spaces ch<=>[ $k_f$ ][ $k_b$ ]

    – polyn
    1 hour ago
















Did any errors get reported in the log? Specifically regarding math mode?

– barbara beeton
6 hours ago





Did any errors get reported in the log? Specifically regarding math mode?

– barbara beeton
6 hours ago













add blank spaces ch<=>[ $k_f$ ][ $k_b$ ]

– polyn
1 hour ago





add blank spaces ch<=>[ $k_f$ ][ $k_b$ ]

– polyn
1 hour ago










1 Answer
1






active

oldest

votes


















5















The processing of the arrow arguments somehow interferes with math mode. A workaround is to define two small macros that hide the content long enough to be processed normally:



documentclassarticle
usepackagechemmacros
defkfk_f
defkbk_b
begindocument
beginequation
sum_s=1^N_snu'_s chX_s ch<=>[$kf$][$kb$] sum_s=1^N_snu''_s chX_s
endequation
enddocument


enter image description here



It's of course not ideal but if you don't need a lot of different variable-subscript combinations then it may be an acceptable solution.






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%2f506103%2fhow-to-write-mathematical-equations-above-and-below-double-harpoons-in-chemical%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









    5















    The processing of the arrow arguments somehow interferes with math mode. A workaround is to define two small macros that hide the content long enough to be processed normally:



    documentclassarticle
    usepackagechemmacros
    defkfk_f
    defkbk_b
    begindocument
    beginequation
    sum_s=1^N_snu'_s chX_s ch<=>[$kf$][$kb$] sum_s=1^N_snu''_s chX_s
    endequation
    enddocument


    enter image description here



    It's of course not ideal but if you don't need a lot of different variable-subscript combinations then it may be an acceptable solution.






    share|improve this answer





























      5















      The processing of the arrow arguments somehow interferes with math mode. A workaround is to define two small macros that hide the content long enough to be processed normally:



      documentclassarticle
      usepackagechemmacros
      defkfk_f
      defkbk_b
      begindocument
      beginequation
      sum_s=1^N_snu'_s chX_s ch<=>[$kf$][$kb$] sum_s=1^N_snu''_s chX_s
      endequation
      enddocument


      enter image description here



      It's of course not ideal but if you don't need a lot of different variable-subscript combinations then it may be an acceptable solution.






      share|improve this answer



























        5














        5










        5









        The processing of the arrow arguments somehow interferes with math mode. A workaround is to define two small macros that hide the content long enough to be processed normally:



        documentclassarticle
        usepackagechemmacros
        defkfk_f
        defkbk_b
        begindocument
        beginequation
        sum_s=1^N_snu'_s chX_s ch<=>[$kf$][$kb$] sum_s=1^N_snu''_s chX_s
        endequation
        enddocument


        enter image description here



        It's of course not ideal but if you don't need a lot of different variable-subscript combinations then it may be an acceptable solution.






        share|improve this answer













        The processing of the arrow arguments somehow interferes with math mode. A workaround is to define two small macros that hide the content long enough to be processed normally:



        documentclassarticle
        usepackagechemmacros
        defkfk_f
        defkbk_b
        begindocument
        beginequation
        sum_s=1^N_snu'_s chX_s ch<=>[$kf$][$kb$] sum_s=1^N_snu''_s chX_s
        endequation
        enddocument


        enter image description here



        It's of course not ideal but if you don't need a lot of different variable-subscript combinations then it may be an acceptable solution.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 6 hours ago









        MarijnMarijn

        11.8k1 gold badge6 silver badges40 bronze badges




        11.8k1 gold badge6 silver badges40 bronze badges






























            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%2f506103%2fhow-to-write-mathematical-equations-above-and-below-double-harpoons-in-chemical%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

            Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

            Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

            François Viète Contents Biography Work and thought Bibliography See also Notes Further reading External links Navigation menup. 21Google Bookspp. 75–77Google BooksDe thou (from University of Saint Andrews)ArchivedGoogle BooksGoogle BooksGoogle BooksGoogle booksGoogle Bookscc-parthenay.frL'histoire universelle (fr)Universal History (en)ArchivedAdsabs.harvard.eduPagesperso-orange.frArchive.orgChikara Sasaki. Descartes' mathematical thought p.259Google BooksGoogle BooksGoogle Bookspp. 152 and onwardGoogle BooksGoogle BooksScribd.comGoogle Books1257-7979Google BooksGoogle BooksGoogle BooksGoogle BooksGoogle BooksGoogle BooksGallica.bnf.frGoogle BooksGoogle Books"François Viète"Francois Viète: Father of Modern Algebraic NotationThe Lawyer and the GamblerAbout TarporleySite de Jean-Paul GuichardL'algèbre nouvelle"About the Harmonicon"cb120511976(data)1188044800000 0001 0913 5903n82164680ola2013766880073431702w6vt1sb70287374827140948071409480