How to globally decrease space between symbols?












3















In my document, LateX is consistently placing far too much space between symbols, e.g.



bad-spacing



One way I am improving this spacing manually is using the following



Suppose $x,{=},2$


which yields something much more reasonable:



good-spacing



The document renders much better throughout when I use ,{=}, instead of = (and other symbols such as in, >, etc.).



Is there a way I can by default reduce the spacing around symbols such as = and in etc. without having to use the hack shown above in each location? I guess one possibility to define a command mysymb that sets the spacing, although I'm wondering if there is a global setting that I can configure?










share|improve this question























  • I am also willing to accept that modifying the spacing in this way is a bad idea and that it is best to leave LaTeX to squeeze/stretch the mathbin and mathrel automatically, provided there is a compelling argument.

    – jesterII
    Jan 20 at 17:16













  • using , forces it to use thinmuskip which seems terribly tight spacing and less than the medmuskip used around binary relations such as +

    – David Carlisle
    Jan 20 at 17:50













  • your initial spacing looks much more than the default, but you showed no code that produced that image.

    – David Carlisle
    Jan 20 at 22:37
















3















In my document, LateX is consistently placing far too much space between symbols, e.g.



bad-spacing



One way I am improving this spacing manually is using the following



Suppose $x,{=},2$


which yields something much more reasonable:



good-spacing



The document renders much better throughout when I use ,{=}, instead of = (and other symbols such as in, >, etc.).



Is there a way I can by default reduce the spacing around symbols such as = and in etc. without having to use the hack shown above in each location? I guess one possibility to define a command mysymb that sets the spacing, although I'm wondering if there is a global setting that I can configure?










share|improve this question























  • I am also willing to accept that modifying the spacing in this way is a bad idea and that it is best to leave LaTeX to squeeze/stretch the mathbin and mathrel automatically, provided there is a compelling argument.

    – jesterII
    Jan 20 at 17:16













  • using , forces it to use thinmuskip which seems terribly tight spacing and less than the medmuskip used around binary relations such as +

    – David Carlisle
    Jan 20 at 17:50













  • your initial spacing looks much more than the default, but you showed no code that produced that image.

    – David Carlisle
    Jan 20 at 22:37














3












3








3


1






In my document, LateX is consistently placing far too much space between symbols, e.g.



bad-spacing



One way I am improving this spacing manually is using the following



Suppose $x,{=},2$


which yields something much more reasonable:



good-spacing



The document renders much better throughout when I use ,{=}, instead of = (and other symbols such as in, >, etc.).



Is there a way I can by default reduce the spacing around symbols such as = and in etc. without having to use the hack shown above in each location? I guess one possibility to define a command mysymb that sets the spacing, although I'm wondering if there is a global setting that I can configure?










share|improve this question














In my document, LateX is consistently placing far too much space between symbols, e.g.



bad-spacing



One way I am improving this spacing manually is using the following



Suppose $x,{=},2$


which yields something much more reasonable:



good-spacing



The document renders much better throughout when I use ,{=}, instead of = (and other symbols such as in, >, etc.).



Is there a way I can by default reduce the spacing around symbols such as = and in etc. without having to use the hack shown above in each location? I guess one possibility to define a command mysymb that sets the spacing, although I'm wondering if there is a global setting that I can configure?







spacing symbols






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 20 at 17:11









jesterIIjesterII

1773




1773













  • I am also willing to accept that modifying the spacing in this way is a bad idea and that it is best to leave LaTeX to squeeze/stretch the mathbin and mathrel automatically, provided there is a compelling argument.

    – jesterII
    Jan 20 at 17:16













  • using , forces it to use thinmuskip which seems terribly tight spacing and less than the medmuskip used around binary relations such as +

    – David Carlisle
    Jan 20 at 17:50













  • your initial spacing looks much more than the default, but you showed no code that produced that image.

    – David Carlisle
    Jan 20 at 22:37



















  • I am also willing to accept that modifying the spacing in this way is a bad idea and that it is best to leave LaTeX to squeeze/stretch the mathbin and mathrel automatically, provided there is a compelling argument.

    – jesterII
    Jan 20 at 17:16













  • using , forces it to use thinmuskip which seems terribly tight spacing and less than the medmuskip used around binary relations such as +

    – David Carlisle
    Jan 20 at 17:50













  • your initial spacing looks much more than the default, but you showed no code that produced that image.

    – David Carlisle
    Jan 20 at 22:37

















I am also willing to accept that modifying the spacing in this way is a bad idea and that it is best to leave LaTeX to squeeze/stretch the mathbin and mathrel automatically, provided there is a compelling argument.

– jesterII
Jan 20 at 17:16







I am also willing to accept that modifying the spacing in this way is a bad idea and that it is best to leave LaTeX to squeeze/stretch the mathbin and mathrel automatically, provided there is a compelling argument.

– jesterII
Jan 20 at 17:16















using , forces it to use thinmuskip which seems terribly tight spacing and less than the medmuskip used around binary relations such as +

– David Carlisle
Jan 20 at 17:50







using , forces it to use thinmuskip which seems terribly tight spacing and less than the medmuskip used around binary relations such as +

– David Carlisle
Jan 20 at 17:50















your initial spacing looks much more than the default, but you showed no code that produced that image.

– David Carlisle
Jan 20 at 22:37





your initial spacing looks much more than the default, but you showed no code that produced that image.

– David Carlisle
Jan 20 at 22:37










2 Answers
2






active

oldest

votes


















5














The default spacing around a mathrel atom such as = is thickmuskip the default setting is



thickmuskip=5mu plus 5mu


the first setting looks best to me



enter image description here



documentclass{article}

begin{document}

default
[3=1+2]

hmmm
thickmuskip=3mu plus 2mu
[3=1+2]


hmmmmm
thickmuskip=1mu plus 1mu
[3=1+2]


end{document}


Although you could of course also reduce medmuskip to be more consistent.






share|improve this answer

































    1














    another option is to use the package savetrees The first output below when using the package and the second output without it



    Mathematica graphics



    documentclass[12pt]{article}
    usepackage{amsmath}
    usepackage[extreme]{savetrees}

    begin{document}
    Suppose $x=2$
    end{document}


    But notice this will affect other spacings in document and not just the space around = so it might not be what you want but something to try. There are different levels of saving space.






    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%2f471027%2fhow-to-globally-decrease-space-between-symbols%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









      5














      The default spacing around a mathrel atom such as = is thickmuskip the default setting is



      thickmuskip=5mu plus 5mu


      the first setting looks best to me



      enter image description here



      documentclass{article}

      begin{document}

      default
      [3=1+2]

      hmmm
      thickmuskip=3mu plus 2mu
      [3=1+2]


      hmmmmm
      thickmuskip=1mu plus 1mu
      [3=1+2]


      end{document}


      Although you could of course also reduce medmuskip to be more consistent.






      share|improve this answer






























        5














        The default spacing around a mathrel atom such as = is thickmuskip the default setting is



        thickmuskip=5mu plus 5mu


        the first setting looks best to me



        enter image description here



        documentclass{article}

        begin{document}

        default
        [3=1+2]

        hmmm
        thickmuskip=3mu plus 2mu
        [3=1+2]


        hmmmmm
        thickmuskip=1mu plus 1mu
        [3=1+2]


        end{document}


        Although you could of course also reduce medmuskip to be more consistent.






        share|improve this answer




























          5












          5








          5







          The default spacing around a mathrel atom such as = is thickmuskip the default setting is



          thickmuskip=5mu plus 5mu


          the first setting looks best to me



          enter image description here



          documentclass{article}

          begin{document}

          default
          [3=1+2]

          hmmm
          thickmuskip=3mu plus 2mu
          [3=1+2]


          hmmmmm
          thickmuskip=1mu plus 1mu
          [3=1+2]


          end{document}


          Although you could of course also reduce medmuskip to be more consistent.






          share|improve this answer















          The default spacing around a mathrel atom such as = is thickmuskip the default setting is



          thickmuskip=5mu plus 5mu


          the first setting looks best to me



          enter image description here



          documentclass{article}

          begin{document}

          default
          [3=1+2]

          hmmm
          thickmuskip=3mu plus 2mu
          [3=1+2]


          hmmmmm
          thickmuskip=1mu plus 1mu
          [3=1+2]


          end{document}


          Although you could of course also reduce medmuskip to be more consistent.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 20 at 17:55

























          answered Jan 20 at 17:48









          David CarlisleDavid Carlisle

          491k4111351883




          491k4111351883























              1














              another option is to use the package savetrees The first output below when using the package and the second output without it



              Mathematica graphics



              documentclass[12pt]{article}
              usepackage{amsmath}
              usepackage[extreme]{savetrees}

              begin{document}
              Suppose $x=2$
              end{document}


              But notice this will affect other spacings in document and not just the space around = so it might not be what you want but something to try. There are different levels of saving space.






              share|improve this answer




























                1














                another option is to use the package savetrees The first output below when using the package and the second output without it



                Mathematica graphics



                documentclass[12pt]{article}
                usepackage{amsmath}
                usepackage[extreme]{savetrees}

                begin{document}
                Suppose $x=2$
                end{document}


                But notice this will affect other spacings in document and not just the space around = so it might not be what you want but something to try. There are different levels of saving space.






                share|improve this answer


























                  1












                  1








                  1







                  another option is to use the package savetrees The first output below when using the package and the second output without it



                  Mathematica graphics



                  documentclass[12pt]{article}
                  usepackage{amsmath}
                  usepackage[extreme]{savetrees}

                  begin{document}
                  Suppose $x=2$
                  end{document}


                  But notice this will affect other spacings in document and not just the space around = so it might not be what you want but something to try. There are different levels of saving space.






                  share|improve this answer













                  another option is to use the package savetrees The first output below when using the package and the second output without it



                  Mathematica graphics



                  documentclass[12pt]{article}
                  usepackage{amsmath}
                  usepackage[extreme]{savetrees}

                  begin{document}
                  Suppose $x=2$
                  end{document}


                  But notice this will affect other spacings in document and not just the space around = so it might not be what you want but something to try. There are different levels of saving space.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 20 at 18:17









                  NasserNasser

                  8,29373185




                  8,29373185






























                      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%2f471027%2fhow-to-globally-decrease-space-between-symbols%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

                      Mario Kart Wii

                      The Binding of Isaac: Rebirth/Afterbirth

                      What does “Dominus providebit” mean?