How to add superscript on summation symbolMore aesthetic (perhaps shallower) superscript check symbolError...

How can I ensure my trip to the UK will not have to be cancelled because of Brexit?

What problems would a superhuman have whose skin is constantly hot?

Are there historical instances of the capital of a colonising country being temporarily or permanently shifted to one of its colonies?

Error during using callback start_page_number in lualatex

Difference on montgomery curve equation between EFD and RFC7748

Virginia employer terminated employee and wants signing bonus returned

What was the Kree's motivation in Captain Marvel?

How to secure an aircraft at a transient parking space?

Should I tell my boss the work he did was worthless

List elements digit difference sort

What Happens when Passenger Refuses to Fly Boeing 737 Max?

Is "history" a male-biased word ("his+story")?

Can one live in the U.S. and not use a credit card?

Accepted offer letter, position changed

Do f-stop and exposure time perfectly cancel?

Is it possible to avoid unpacking when merging Association?

Can I pump my MTB tire to max (55 psi / 380 kPa) without the tube inside bursting?

Vocabulary for giving just numbers, not a full answer

Accountant/ lawyer will not return my call

Does a warlock using the Darkness/Devil's Sight combo still have advantage on ranged attacks against a target outside the Darkness?

Is it "Vierergruppe" or "Viergruppe", or is there a distinction?

Are all players supposed to be able to see each others' character sheets?

Motivation for Zeta Function of an Algebraic Variety

Find longest word in a string: are any of these algorithms good?



How to add superscript on summation symbol


More aesthetic (perhaps shallower) superscript check symbolError using lrtimesHow to replace parentheses with symbol of other font so that they are expandable?How to make circle with colored halves?bot like symbol with two horizontal linesLaTeX Symbols do not work any moreAdd code syntax (like @data) to indexHow to get ^{i} working in math enviromentRecursive symbolsUse a superscript prime symbol in Bibtex













2















I'd like to add superscript on summation symbol, but I get an error message: Please, use mathaccent for accents in math mode. I can't use ^ symbol to add superscript.



Here is the code:



begin{equation}
y & = beta_{0}+sumˆ{2}_{j=1}beta_{j}X_{j}+sumsum_{i<j}beta_{ij}X_{i}X{j}+sum_{j=1}beta_{jj}X_{j}textsuperscript{2}
label{equation1}
end{equation}









share|improve this question









New contributor




Luciana Guedes 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.SX! It's not at all clear where the superscript is meant to go. Besides, textsuperscript is not valid in math mode. And the & is out of place.

    – egreg
    2 hours ago











  • You might look at the sideset command from amsmath. If you have a tex installation based on TeX Live, tyou shoyuld be able to look at this documentation locally via texdoc amsldoc at a command prompt.

    – barbara beeton
    2 hours ago
















2















I'd like to add superscript on summation symbol, but I get an error message: Please, use mathaccent for accents in math mode. I can't use ^ symbol to add superscript.



Here is the code:



begin{equation}
y & = beta_{0}+sumˆ{2}_{j=1}beta_{j}X_{j}+sumsum_{i<j}beta_{ij}X_{i}X{j}+sum_{j=1}beta_{jj}X_{j}textsuperscript{2}
label{equation1}
end{equation}









share|improve this question









New contributor




Luciana Guedes 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.SX! It's not at all clear where the superscript is meant to go. Besides, textsuperscript is not valid in math mode. And the & is out of place.

    – egreg
    2 hours ago











  • You might look at the sideset command from amsmath. If you have a tex installation based on TeX Live, tyou shoyuld be able to look at this documentation locally via texdoc amsldoc at a command prompt.

    – barbara beeton
    2 hours ago














2












2








2








I'd like to add superscript on summation symbol, but I get an error message: Please, use mathaccent for accents in math mode. I can't use ^ symbol to add superscript.



Here is the code:



begin{equation}
y & = beta_{0}+sumˆ{2}_{j=1}beta_{j}X_{j}+sumsum_{i<j}beta_{ij}X_{i}X{j}+sum_{j=1}beta_{jj}X_{j}textsuperscript{2}
label{equation1}
end{equation}









share|improve this question









New contributor




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












I'd like to add superscript on summation symbol, but I get an error message: Please, use mathaccent for accents in math mode. I can't use ^ symbol to add superscript.



Here is the code:



begin{equation}
y & = beta_{0}+sumˆ{2}_{j=1}beta_{j}X_{j}+sumsum_{i<j}beta_{ij}X_{i}X{j}+sum_{j=1}beta_{jj}X_{j}textsuperscript{2}
label{equation1}
end{equation}






symbols






share|improve this question









New contributor




Luciana Guedes 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




Luciana Guedes 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 2 hours ago









koleygr

12.4k11038




12.4k11038






New contributor




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









asked 2 hours ago









Luciana GuedesLuciana Guedes

111




111




New contributor




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





New contributor





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






Luciana Guedes 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.SX! It's not at all clear where the superscript is meant to go. Besides, textsuperscript is not valid in math mode. And the & is out of place.

    – egreg
    2 hours ago











  • You might look at the sideset command from amsmath. If you have a tex installation based on TeX Live, tyou shoyuld be able to look at this documentation locally via texdoc amsldoc at a command prompt.

    – barbara beeton
    2 hours ago














  • 1





    Welcome to TeX.SX! It's not at all clear where the superscript is meant to go. Besides, textsuperscript is not valid in math mode. And the & is out of place.

    – egreg
    2 hours ago











  • You might look at the sideset command from amsmath. If you have a tex installation based on TeX Live, tyou shoyuld be able to look at this documentation locally via texdoc amsldoc at a command prompt.

    – barbara beeton
    2 hours ago








1




1





Welcome to TeX.SX! It's not at all clear where the superscript is meant to go. Besides, textsuperscript is not valid in math mode. And the & is out of place.

– egreg
2 hours ago





Welcome to TeX.SX! It's not at all clear where the superscript is meant to go. Besides, textsuperscript is not valid in math mode. And the & is out of place.

– egreg
2 hours ago













You might look at the sideset command from amsmath. If you have a tex installation based on TeX Live, tyou shoyuld be able to look at this documentation locally via texdoc amsldoc at a command prompt.

– barbara beeton
2 hours ago





You might look at the sideset command from amsmath. If you have a tex installation based on TeX Live, tyou shoyuld be able to look at this documentation locally via texdoc amsldoc at a command prompt.

– barbara beeton
2 hours ago










1 Answer
1






active

oldest

votes


















1














You have a wrong ^ character that is not a ascii character but possibly something with similar appearance and this is what causes the whole problem.



Your code with the correct character is something like:



documentclass{article}

begin{document}
begin{equation}
y = beta_{0}+sum_{j=1}^{2} beta_{j}X_{j}+sumsum_{i<j}beta_{ij}X_{i}X{j}+sum_{j=1}^2beta_{jj}X_{j}^2
label{equation1}
end{equation}
end{document}


And gives:



enter image description here



PS1: Not sure about the last power and the last upper limit of the sum, but you will see it works if you just delete your bad character and replace with the original keyboard's ^.



PS2: For readability never start a sum by its upper limit, but use first its lower limit instead.






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


    }
    });






    Luciana Guedes 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%2f478998%2fhow-to-add-superscript-on-summation-symbol%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









    1














    You have a wrong ^ character that is not a ascii character but possibly something with similar appearance and this is what causes the whole problem.



    Your code with the correct character is something like:



    documentclass{article}

    begin{document}
    begin{equation}
    y = beta_{0}+sum_{j=1}^{2} beta_{j}X_{j}+sumsum_{i<j}beta_{ij}X_{i}X{j}+sum_{j=1}^2beta_{jj}X_{j}^2
    label{equation1}
    end{equation}
    end{document}


    And gives:



    enter image description here



    PS1: Not sure about the last power and the last upper limit of the sum, but you will see it works if you just delete your bad character and replace with the original keyboard's ^.



    PS2: For readability never start a sum by its upper limit, but use first its lower limit instead.






    share|improve this answer






























      1














      You have a wrong ^ character that is not a ascii character but possibly something with similar appearance and this is what causes the whole problem.



      Your code with the correct character is something like:



      documentclass{article}

      begin{document}
      begin{equation}
      y = beta_{0}+sum_{j=1}^{2} beta_{j}X_{j}+sumsum_{i<j}beta_{ij}X_{i}X{j}+sum_{j=1}^2beta_{jj}X_{j}^2
      label{equation1}
      end{equation}
      end{document}


      And gives:



      enter image description here



      PS1: Not sure about the last power and the last upper limit of the sum, but you will see it works if you just delete your bad character and replace with the original keyboard's ^.



      PS2: For readability never start a sum by its upper limit, but use first its lower limit instead.






      share|improve this answer




























        1












        1








        1







        You have a wrong ^ character that is not a ascii character but possibly something with similar appearance and this is what causes the whole problem.



        Your code with the correct character is something like:



        documentclass{article}

        begin{document}
        begin{equation}
        y = beta_{0}+sum_{j=1}^{2} beta_{j}X_{j}+sumsum_{i<j}beta_{ij}X_{i}X{j}+sum_{j=1}^2beta_{jj}X_{j}^2
        label{equation1}
        end{equation}
        end{document}


        And gives:



        enter image description here



        PS1: Not sure about the last power and the last upper limit of the sum, but you will see it works if you just delete your bad character and replace with the original keyboard's ^.



        PS2: For readability never start a sum by its upper limit, but use first its lower limit instead.






        share|improve this answer















        You have a wrong ^ character that is not a ascii character but possibly something with similar appearance and this is what causes the whole problem.



        Your code with the correct character is something like:



        documentclass{article}

        begin{document}
        begin{equation}
        y = beta_{0}+sum_{j=1}^{2} beta_{j}X_{j}+sumsum_{i<j}beta_{ij}X_{i}X{j}+sum_{j=1}^2beta_{jj}X_{j}^2
        label{equation1}
        end{equation}
        end{document}


        And gives:



        enter image description here



        PS1: Not sure about the last power and the last upper limit of the sum, but you will see it works if you just delete your bad character and replace with the original keyboard's ^.



        PS2: For readability never start a sum by its upper limit, but use first its lower limit instead.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 2 hours ago

























        answered 2 hours ago









        koleygrkoleygr

        12.4k11038




        12.4k11038






















            Luciana Guedes is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            Luciana Guedes is a new contributor. Be nice, and check out our Code of Conduct.













            Luciana Guedes is a new contributor. Be nice, and check out our Code of Conduct.












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




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f478998%2fhow-to-add-superscript-on-summation-symbol%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

            El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

            Castillo d'Acher Características Menú de navegación

            Connecting two nodes from the same mother node horizontallyTikZ: What EXACTLY does the the |- notation for...