LaTeX adjusting sum limitsHow can I force the argument of a summation to not be offsetBig sum instead of small sum in array environmentsum-like command with subscripts both below and next to itLimits under multiple sumFormula in displaystyle but operator limit in normal subscript positionProblems while displaying sum limits belowsum not properly displayed?How to write the limits under all three summation : $sum sum sum_0 leq i < j <kleq n 1$How to define ReDeclareLargeMathOperatorPlacement of limitsPosition the limits of SumLower and Upper LimitsHow to create an expectation symbol that behave similarly to sum?

Difference on montgomery curve equation between EFD and RFC7748

When traveling to Europe from North America, do I need to purchase a different power strip?

How did Alan Turing break the enigma code using the hint given by the lady in the bar?

Accountant/ lawyer will not return my call

Does "Until when" sound natural for native speakers?

NASA's RS-25 Engines shut down time

Can Mathematica be used to create an Artistic 3D extrusion from a 2D image and wrap a line pattern around it?

Bash script should only kill those instances of another script's that it has launched

Hotkey (or other quick way) to insert a keyframe for only one component of a vector-valued property?

Declaring and defining template, and specialising them

Should I tell my boss the work he did was worthless

List elements digit difference sort

Why the color red for the Republican Party

How to write ı (i without dot) character in pgf-pie

They call me Inspector Morse

Does this video of collapsing warehouse shelves show a real incident?

How to draw cubes in a 3 dimensional plane

Recommendation letter by significant other if you worked with them professionally?

Why does Captain Marvel assume the people on this planet know this?

Plausibility of Mushroom Buildings

In the quantum hamiltonian, why does kinetic energy turn into an operator while potential doesn't?

How to fix the Unknown Command error caused by starting CmdInit.cmd using TCC/LE?

Accepted offer letter, position changed

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



LaTeX adjusting sum limits


How can I force the argument of a summation to not be offsetBig sum instead of small sum in array environmentsum-like command with subscripts both below and next to itLimits under multiple sumFormula in displaystyle but operator limit in normal subscript positionProblems while displaying sum limits belowsum not properly displayed?How to write the limits under all three summation : $sum sum sum_0 leq i < j <kleq n 1$How to define ReDeclareLargeMathOperatorPlacement of limitsPosition the limits of SumLower and Upper LimitsHow to create an expectation symbol that behave similarly to sum?













36















is there a way to show sum limits partially in inline mode and partially in display mode? i.e., I want to write



beginequation
sum_n=-infty^+infty [...]
endequation


but this way the lower limit is too wide, and I don't like it. So I was hoping to write something like this:



beginequation
sum_-infty^+inftynolimits_n [...]
endequation


to write the index n on the right side of the sum symbol, while the limits of the summation remain above and below.



Of course it doesn't work, LaTeX is pissed because there is a double subscript. Anyone knows if it's possible to do what I want to?










share|improve this question















migrated from stackoverflow.com Jan 5 '13 at 12:45


This question came from our site for professional and enthusiast programmers.






















    36















    is there a way to show sum limits partially in inline mode and partially in display mode? i.e., I want to write



    beginequation
    sum_n=-infty^+infty [...]
    endequation


    but this way the lower limit is too wide, and I don't like it. So I was hoping to write something like this:



    beginequation
    sum_-infty^+inftynolimits_n [...]
    endequation


    to write the index n on the right side of the sum symbol, while the limits of the summation remain above and below.



    Of course it doesn't work, LaTeX is pissed because there is a double subscript. Anyone knows if it's possible to do what I want to?










    share|improve this question















    migrated from stackoverflow.com Jan 5 '13 at 12:45


    This question came from our site for professional and enthusiast programmers.




















      36












      36








      36


      14






      is there a way to show sum limits partially in inline mode and partially in display mode? i.e., I want to write



      beginequation
      sum_n=-infty^+infty [...]
      endequation


      but this way the lower limit is too wide, and I don't like it. So I was hoping to write something like this:



      beginequation
      sum_-infty^+inftynolimits_n [...]
      endequation


      to write the index n on the right side of the sum symbol, while the limits of the summation remain above and below.



      Of course it doesn't work, LaTeX is pissed because there is a double subscript. Anyone knows if it's possible to do what I want to?










      share|improve this question
















      is there a way to show sum limits partially in inline mode and partially in display mode? i.e., I want to write



      beginequation
      sum_n=-infty^+infty [...]
      endequation


      but this way the lower limit is too wide, and I don't like it. So I was hoping to write something like this:



      beginequation
      sum_-infty^+inftynolimits_n [...]
      endequation


      to write the index n on the right side of the sum symbol, while the limits of the summation remain above and below.



      Of course it doesn't work, LaTeX is pissed because there is a double subscript. Anyone knows if it's possible to do what I want to?







      math-operators






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 5 '13 at 12:57









      mafp

      14.5k252100




      14.5k252100










      asked Jan 4 '13 at 2:27









      gbasogbaso

      181126




      181126




      migrated from stackoverflow.com Jan 5 '13 at 12:45


      This question came from our site for professional and enthusiast programmers.









      migrated from stackoverflow.com Jan 5 '13 at 12:45


      This question came from our site for professional and enthusiast programmers.






















          2 Answers
          2






          active

          oldest

          votes


















          41














          In this instance a better approach would be to use mathtools's mathclap, which provides a centred overlap in math mode. The centred overlap implies a zero-width box containing stuff that overlaps on the left and right:



          enter image description here



          documentclassarticle
          usepackagemathtools% http://ctan.org/pkg/mathtools
          begindocument
          beginalign*
          A &= sum_n=-infty^+infty f(x) \
          B &= smashoperator[r]sum_n=-infty^+infty f(x) \
          C &= sum_mathclapn=-infty^+infty f(x) \
          D &= sum_substackn=\-infty^+infty f(x) \
          E &= sum_-infty^inftymathop_mkern-5mu n f(x)
          endalign*
          enddocument


          Sure mathtools also loads amsmath, but both these provide excellent tools in terms of typesetting mathematical content (and otherwise).



          To add multiple things under a math operator (like sum), see How do you put multiple things under a limit?, which suggests substack (as I've done in the last horrible visual).






          share|improve this answer




















          • 1





            If you asked me, I vote for option no. 2.

            – yo'
            Jan 5 '13 at 13:13











          • Thank you. I am looking for something like point E., but with prod, not sum. When I tried copying using mathop_mkern-5mu n it did not look so good. How would you do it with prod?

            – user119615
            Feb 9 '17 at 12:09


















          0














          I was looking for this nice work, and I wanna add something you may find it good. Try to use displaystyle in any equation to see how nice it is. For example, write the sum with down limits only:
          $displaystyle sum_n=1 f(x)$.
          Good luck





          share








          New contributor




          MathGuy 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',
            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%2f89447%2flatex-adjusting-sum-limits%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            41














            In this instance a better approach would be to use mathtools's mathclap, which provides a centred overlap in math mode. The centred overlap implies a zero-width box containing stuff that overlaps on the left and right:



            enter image description here



            documentclassarticle
            usepackagemathtools% http://ctan.org/pkg/mathtools
            begindocument
            beginalign*
            A &= sum_n=-infty^+infty f(x) \
            B &= smashoperator[r]sum_n=-infty^+infty f(x) \
            C &= sum_mathclapn=-infty^+infty f(x) \
            D &= sum_substackn=\-infty^+infty f(x) \
            E &= sum_-infty^inftymathop_mkern-5mu n f(x)
            endalign*
            enddocument


            Sure mathtools also loads amsmath, but both these provide excellent tools in terms of typesetting mathematical content (and otherwise).



            To add multiple things under a math operator (like sum), see How do you put multiple things under a limit?, which suggests substack (as I've done in the last horrible visual).






            share|improve this answer




















            • 1





              If you asked me, I vote for option no. 2.

              – yo'
              Jan 5 '13 at 13:13











            • Thank you. I am looking for something like point E., but with prod, not sum. When I tried copying using mathop_mkern-5mu n it did not look so good. How would you do it with prod?

              – user119615
              Feb 9 '17 at 12:09















            41














            In this instance a better approach would be to use mathtools's mathclap, which provides a centred overlap in math mode. The centred overlap implies a zero-width box containing stuff that overlaps on the left and right:



            enter image description here



            documentclassarticle
            usepackagemathtools% http://ctan.org/pkg/mathtools
            begindocument
            beginalign*
            A &= sum_n=-infty^+infty f(x) \
            B &= smashoperator[r]sum_n=-infty^+infty f(x) \
            C &= sum_mathclapn=-infty^+infty f(x) \
            D &= sum_substackn=\-infty^+infty f(x) \
            E &= sum_-infty^inftymathop_mkern-5mu n f(x)
            endalign*
            enddocument


            Sure mathtools also loads amsmath, but both these provide excellent tools in terms of typesetting mathematical content (and otherwise).



            To add multiple things under a math operator (like sum), see How do you put multiple things under a limit?, which suggests substack (as I've done in the last horrible visual).






            share|improve this answer




















            • 1





              If you asked me, I vote for option no. 2.

              – yo'
              Jan 5 '13 at 13:13











            • Thank you. I am looking for something like point E., but with prod, not sum. When I tried copying using mathop_mkern-5mu n it did not look so good. How would you do it with prod?

              – user119615
              Feb 9 '17 at 12:09













            41












            41








            41







            In this instance a better approach would be to use mathtools's mathclap, which provides a centred overlap in math mode. The centred overlap implies a zero-width box containing stuff that overlaps on the left and right:



            enter image description here



            documentclassarticle
            usepackagemathtools% http://ctan.org/pkg/mathtools
            begindocument
            beginalign*
            A &= sum_n=-infty^+infty f(x) \
            B &= smashoperator[r]sum_n=-infty^+infty f(x) \
            C &= sum_mathclapn=-infty^+infty f(x) \
            D &= sum_substackn=\-infty^+infty f(x) \
            E &= sum_-infty^inftymathop_mkern-5mu n f(x)
            endalign*
            enddocument


            Sure mathtools also loads amsmath, but both these provide excellent tools in terms of typesetting mathematical content (and otherwise).



            To add multiple things under a math operator (like sum), see How do you put multiple things under a limit?, which suggests substack (as I've done in the last horrible visual).






            share|improve this answer















            In this instance a better approach would be to use mathtools's mathclap, which provides a centred overlap in math mode. The centred overlap implies a zero-width box containing stuff that overlaps on the left and right:



            enter image description here



            documentclassarticle
            usepackagemathtools% http://ctan.org/pkg/mathtools
            begindocument
            beginalign*
            A &= sum_n=-infty^+infty f(x) \
            B &= smashoperator[r]sum_n=-infty^+infty f(x) \
            C &= sum_mathclapn=-infty^+infty f(x) \
            D &= sum_substackn=\-infty^+infty f(x) \
            E &= sum_-infty^inftymathop_mkern-5mu n f(x)
            endalign*
            enddocument


            Sure mathtools also loads amsmath, but both these provide excellent tools in terms of typesetting mathematical content (and otherwise).



            To add multiple things under a math operator (like sum), see How do you put multiple things under a limit?, which suggests substack (as I've done in the last horrible visual).







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 13 '17 at 12:36









            Community

            1




            1










            answered Jan 4 '13 at 3:21









            WernerWerner

            447k699891695




            447k699891695







            • 1





              If you asked me, I vote for option no. 2.

              – yo'
              Jan 5 '13 at 13:13











            • Thank you. I am looking for something like point E., but with prod, not sum. When I tried copying using mathop_mkern-5mu n it did not look so good. How would you do it with prod?

              – user119615
              Feb 9 '17 at 12:09












            • 1





              If you asked me, I vote for option no. 2.

              – yo'
              Jan 5 '13 at 13:13











            • Thank you. I am looking for something like point E., but with prod, not sum. When I tried copying using mathop_mkern-5mu n it did not look so good. How would you do it with prod?

              – user119615
              Feb 9 '17 at 12:09







            1




            1





            If you asked me, I vote for option no. 2.

            – yo'
            Jan 5 '13 at 13:13





            If you asked me, I vote for option no. 2.

            – yo'
            Jan 5 '13 at 13:13













            Thank you. I am looking for something like point E., but with prod, not sum. When I tried copying using mathop_mkern-5mu n it did not look so good. How would you do it with prod?

            – user119615
            Feb 9 '17 at 12:09





            Thank you. I am looking for something like point E., but with prod, not sum. When I tried copying using mathop_mkern-5mu n it did not look so good. How would you do it with prod?

            – user119615
            Feb 9 '17 at 12:09











            0














            I was looking for this nice work, and I wanna add something you may find it good. Try to use displaystyle in any equation to see how nice it is. For example, write the sum with down limits only:
            $displaystyle sum_n=1 f(x)$.
            Good luck





            share








            New contributor




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
























              0














              I was looking for this nice work, and I wanna add something you may find it good. Try to use displaystyle in any equation to see how nice it is. For example, write the sum with down limits only:
              $displaystyle sum_n=1 f(x)$.
              Good luck





              share








              New contributor




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






















                0












                0








                0







                I was looking for this nice work, and I wanna add something you may find it good. Try to use displaystyle in any equation to see how nice it is. For example, write the sum with down limits only:
                $displaystyle sum_n=1 f(x)$.
                Good luck





                share








                New contributor




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










                I was looking for this nice work, and I wanna add something you may find it good. Try to use displaystyle in any equation to see how nice it is. For example, write the sum with down limits only:
                $displaystyle sum_n=1 f(x)$.
                Good luck






                share








                New contributor




                MathGuy 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




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









                answered 9 mins ago









                MathGuyMathGuy

                11




                11




                New contributor




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





                New contributor





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






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



























                    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%2f89447%2flatex-adjusting-sum-limits%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

                    Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

                    Mpande kaSenzangakhona Biographie | Références | Menu de navigationmodifierMpande kaSenzangakhonavoir la liste des auteursm

                    Hornos de Moncalvillo Voir aussi | Menu de navigationmodifierm