Implementing subscript text within regular text (math equation)











up vote
1
down vote

favorite












How do you add subscript text within a text string e.g. I would like my the output to have the max as subscript



text{AC generator emf_max}









share|improve this question









New contributor




S. Allen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1




    Welcome to TeX.SE](meta.tex.stackexchange.com/q/1436/4301). For future reference, it is always best to compose a fully compilable MWE that sets up the problem including the documentclass and the appropriate packages so that those trying to help don't have to recreate it. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem.
    – Peter Grill
    23 hours ago








  • 1




    How about $text{AC generator } mathrm{emf}_mathrm{max}$. I assumed you were already in math mode as you are using text{}.
    – Peter Grill
    23 hours ago












  • or text{AC generator }emf_{max}
    – Zarko
    23 hours ago






  • 1




    In mathrm you won't have spaces.
    – Skillmon
    22 hours ago






  • 1




    It's still a semantic difference though. Also a space would be ~, not ;, I think ; was 3/4 of a space (could be wrong here).
    – Skillmon
    17 hours ago















up vote
1
down vote

favorite












How do you add subscript text within a text string e.g. I would like my the output to have the max as subscript



text{AC generator emf_max}









share|improve this question









New contributor




S. Allen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1




    Welcome to TeX.SE](meta.tex.stackexchange.com/q/1436/4301). For future reference, it is always best to compose a fully compilable MWE that sets up the problem including the documentclass and the appropriate packages so that those trying to help don't have to recreate it. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem.
    – Peter Grill
    23 hours ago








  • 1




    How about $text{AC generator } mathrm{emf}_mathrm{max}$. I assumed you were already in math mode as you are using text{}.
    – Peter Grill
    23 hours ago












  • or text{AC generator }emf_{max}
    – Zarko
    23 hours ago






  • 1




    In mathrm you won't have spaces.
    – Skillmon
    22 hours ago






  • 1




    It's still a semantic difference though. Also a space would be ~, not ;, I think ; was 3/4 of a space (could be wrong here).
    – Skillmon
    17 hours ago













up vote
1
down vote

favorite









up vote
1
down vote

favorite











How do you add subscript text within a text string e.g. I would like my the output to have the max as subscript



text{AC generator emf_max}









share|improve this question









New contributor




S. Allen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











How do you add subscript text within a text string e.g. I would like my the output to have the max as subscript



text{AC generator emf_max}






math-mode text-decorations






share|improve this question









New contributor




S. Allen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




S. Allen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 4 mins ago





















New contributor




S. Allen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 23 hours ago









S. Allen

62




62




New contributor




S. Allen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





S. Allen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






S. Allen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1




    Welcome to TeX.SE](meta.tex.stackexchange.com/q/1436/4301). For future reference, it is always best to compose a fully compilable MWE that sets up the problem including the documentclass and the appropriate packages so that those trying to help don't have to recreate it. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem.
    – Peter Grill
    23 hours ago








  • 1




    How about $text{AC generator } mathrm{emf}_mathrm{max}$. I assumed you were already in math mode as you are using text{}.
    – Peter Grill
    23 hours ago












  • or text{AC generator }emf_{max}
    – Zarko
    23 hours ago






  • 1




    In mathrm you won't have spaces.
    – Skillmon
    22 hours ago






  • 1




    It's still a semantic difference though. Also a space would be ~, not ;, I think ; was 3/4 of a space (could be wrong here).
    – Skillmon
    17 hours ago














  • 1




    Welcome to TeX.SE](meta.tex.stackexchange.com/q/1436/4301). For future reference, it is always best to compose a fully compilable MWE that sets up the problem including the documentclass and the appropriate packages so that those trying to help don't have to recreate it. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem.
    – Peter Grill
    23 hours ago








  • 1




    How about $text{AC generator } mathrm{emf}_mathrm{max}$. I assumed you were already in math mode as you are using text{}.
    – Peter Grill
    23 hours ago












  • or text{AC generator }emf_{max}
    – Zarko
    23 hours ago






  • 1




    In mathrm you won't have spaces.
    – Skillmon
    22 hours ago






  • 1




    It's still a semantic difference though. Also a space would be ~, not ;, I think ; was 3/4 of a space (could be wrong here).
    – Skillmon
    17 hours ago








1




1




Welcome to TeX.SE](meta.tex.stackexchange.com/q/1436/4301). For future reference, it is always best to compose a fully compilable MWE that sets up the problem including the documentclass and the appropriate packages so that those trying to help don't have to recreate it. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem.
– Peter Grill
23 hours ago






Welcome to TeX.SE](meta.tex.stackexchange.com/q/1436/4301). For future reference, it is always best to compose a fully compilable MWE that sets up the problem including the documentclass and the appropriate packages so that those trying to help don't have to recreate it. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem.
– Peter Grill
23 hours ago






1




1




How about $text{AC generator } mathrm{emf}_mathrm{max}$. I assumed you were already in math mode as you are using text{}.
– Peter Grill
23 hours ago






How about $text{AC generator } mathrm{emf}_mathrm{max}$. I assumed you were already in math mode as you are using text{}.
– Peter Grill
23 hours ago














or text{AC generator }emf_{max}
– Zarko
23 hours ago




or text{AC generator }emf_{max}
– Zarko
23 hours ago




1




1




In mathrm you won't have spaces.
– Skillmon
22 hours ago




In mathrm you won't have spaces.
– Skillmon
22 hours ago




1




1




It's still a semantic difference though. Also a space would be ~, not ;, I think ; was 3/4 of a space (could be wrong here).
– Skillmon
17 hours ago




It's still a semantic difference though. Also a space would be ~, not ;, I think ; was 3/4 of a space (could be wrong here).
– Skillmon
17 hours ago










1 Answer
1






active

oldest

votes

















up vote
0
down vote













To create subscript text mathrm can be used, in relation to the example above; mathrm would be implemented as:



mathrm{AC ~ generator ~ emf}_mathrm{max}


(with use of ~ as a space as mathrm does not support native spaces.





share








New contributor




S. Allen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















    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',
    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
    });


    }
    });






    S. Allen is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f463285%2fimplementing-subscript-text-within-regular-text-math-equation%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








    up vote
    0
    down vote













    To create subscript text mathrm can be used, in relation to the example above; mathrm would be implemented as:



    mathrm{AC ~ generator ~ emf}_mathrm{max}


    (with use of ~ as a space as mathrm does not support native spaces.





    share








    New contributor




    S. Allen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      up vote
      0
      down vote













      To create subscript text mathrm can be used, in relation to the example above; mathrm would be implemented as:



      mathrm{AC ~ generator ~ emf}_mathrm{max}


      (with use of ~ as a space as mathrm does not support native spaces.





      share








      New contributor




      S. Allen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















        up vote
        0
        down vote










        up vote
        0
        down vote









        To create subscript text mathrm can be used, in relation to the example above; mathrm would be implemented as:



        mathrm{AC ~ generator ~ emf}_mathrm{max}


        (with use of ~ as a space as mathrm does not support native spaces.





        share








        New contributor




        S. Allen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        To create subscript text mathrm can be used, in relation to the example above; mathrm would be implemented as:



        mathrm{AC ~ generator ~ emf}_mathrm{max}


        (with use of ~ as a space as mathrm does not support native spaces.






        share








        New contributor




        S. Allen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.








        share


        share






        New contributor




        S. Allen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 5 mins ago









        S. Allen

        62




        62




        New contributor




        S. Allen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        S. Allen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        S. Allen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






















            S. Allen is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            S. Allen is a new contributor. Be nice, and check out our Code of Conduct.













            S. Allen is a new contributor. Be nice, and check out our Code of Conduct.












            S. Allen is a new contributor. Be nice, and check out our Code of Conduct.
















            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2f463285%2fimplementing-subscript-text-within-regular-text-math-equation%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

            Accessing regular linux commands in Huawei's Dopra Linux

            Can't connect RFCOMM socket: Host is down

            Kernel panic - not syncing: Fatal Exception in Interrupt