LaTeX adjusting sum limitsHow can I force the argument of a summation to not be offsetBig sum instead of...

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

Does "Until when" sound natural for native speakers?

Dropdown com clique

Single word request: Harming the benefactor

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

How can I get players to stop ignoring or overlooking the plot hooks I'm giving them?

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

In the late 1940’s to early 1950’s what technology was available that could melt a LOT of ice?

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

List elements digit difference sort

How is the wildcard * interpreted as a command?

An alternative proof of an application of Hahn-Banach

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

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

Vocabulary for giving just numbers, not a full answer

Can you reject a postdoc offer after the PI has paid a large sum for flights/accommodation for your visit?

Do I really need to have a scientific explanation for my premise?

Filtering SOQL results with optional conditionals

'The literal of type int is out of range' con número enteros pequeños (2 dígitos)

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

Difference on montgomery curve equation between EFD and RFC7748

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

How to draw cubes in a 3 dimensional plane

Why does the negative sign arise in this thermodynamic relation?



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



begin{equation}
sum_{n=-infty}^{+infty} [...]
end{equation}


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



begin{equation}
sum_{-infty}^{+infty}nolimits_{n} [...]
end{equation}


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



    begin{equation}
    sum_{n=-infty}^{+infty} [...]
    end{equation}


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



    begin{equation}
    sum_{-infty}^{+infty}nolimits_{n} [...]
    end{equation}


    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



      begin{equation}
      sum_{n=-infty}^{+infty} [...]
      end{equation}


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



      begin{equation}
      sum_{-infty}^{+infty}nolimits_{n} [...]
      end{equation}


      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



      begin{equation}
      sum_{n=-infty}^{+infty} [...]
      end{equation}


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



      begin{equation}
      sum_{-infty}^{+infty}nolimits_{n} [...]
      end{equation}


      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



          documentclass{article}
          usepackage{mathtools}% http://ctan.org/pkg/mathtools
          begin{document}
          begin{align*}
          A &= sum_{n=-infty}^{+infty} f(x) \
          B &= smashoperator[r]{sum_{n=-infty}^{+infty}} f(x) \
          C &= sum_{mathclap{n=-infty}}^{+infty} f(x) \
          D &= sum_{substack{n={}\-infty}}^{+infty} f(x) \
          E &= sum_{-infty}^{infty}mathop{}_{mkern-5mu n} f(x)
          end{align*}
          end{document}


          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



            documentclass{article}
            usepackage{mathtools}% http://ctan.org/pkg/mathtools
            begin{document}
            begin{align*}
            A &= sum_{n=-infty}^{+infty} f(x) \
            B &= smashoperator[r]{sum_{n=-infty}^{+infty}} f(x) \
            C &= sum_{mathclap{n=-infty}}^{+infty} f(x) \
            D &= sum_{substack{n={}\-infty}}^{+infty} f(x) \
            E &= sum_{-infty}^{infty}mathop{}_{mkern-5mu n} f(x)
            end{align*}
            end{document}


            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



            documentclass{article}
            usepackage{mathtools}% http://ctan.org/pkg/mathtools
            begin{document}
            begin{align*}
            A &= sum_{n=-infty}^{+infty} f(x) \
            B &= smashoperator[r]{sum_{n=-infty}^{+infty}} f(x) \
            C &= sum_{mathclap{n=-infty}}^{+infty} f(x) \
            D &= sum_{substack{n={}\-infty}}^{+infty} f(x) \
            E &= sum_{-infty}^{infty}mathop{}_{mkern-5mu n} f(x)
            end{align*}
            end{document}


            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



            documentclass{article}
            usepackage{mathtools}% http://ctan.org/pkg/mathtools
            begin{document}
            begin{align*}
            A &= sum_{n=-infty}^{+infty} f(x) \
            B &= smashoperator[r]{sum_{n=-infty}^{+infty}} f(x) \
            C &= sum_{mathclap{n=-infty}}^{+infty} f(x) \
            D &= sum_{substack{n={}\-infty}}^{+infty} f(x) \
            E &= sum_{-infty}^{infty}mathop{}_{mkern-5mu n} f(x)
            end{align*}
            end{document}


            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



            documentclass{article}
            usepackage{mathtools}% http://ctan.org/pkg/mathtools
            begin{document}
            begin{align*}
            A &= sum_{n=-infty}^{+infty} f(x) \
            B &= smashoperator[r]{sum_{n=-infty}^{+infty}} f(x) \
            C &= sum_{mathclap{n=-infty}}^{+infty} f(x) \
            D &= sum_{substack{n={}\-infty}}^{+infty} f(x) \
            E &= sum_{-infty}^{infty}mathop{}_{mkern-5mu n} f(x)
            end{align*}
            end{document}


            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 5 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

                    Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

                    Schneeberg (Smreczany) Bibliografia | Menu...

                    Hans Bellmer Spis treści Życiorys | Upamiętnienie | Przypisy | Bibliografia | Linki zewnętrzne |...