Why the various definitions of the thin space ,?Why is there a , space at the beginning of the “aligned” environment?Styling definitionsWhy is `strut` working in these scenarios?Necessity of nested text within math mode for proper mathchoice-based scalingHow can I insert a thin space (,) in a listing?Turn * into thin space for clearer math spacingAlways safe to use empty braces `` to guard space?unbreakable (thin) space inside « », for tex4htThin space between minus sign and numberHow to reduce the space between two definitions?

How were servants to the Kaiser of Imperial Germany treated and where may I find more information on them

What happens if I try to grapple an illusory duplicate from the Mirror Image spell?

Quoting Keynes in a lecture

Make a Bowl of Alphabet Soup

What does "tick" mean in this sentence?

El Dorado Word Puzzle II: Videogame Edition

Overlapping circles covering polygon

Is there a RAID 0 Equivalent for RAM?

What is the meaning of "You've never met a graph you didn't like?"

If the only attacker is removed from combat, is a creature still counted as having attacked this turn?

When and why was runway 07/25 at Kai Tak removed?

Unable to disable Microsoft Store in domain environment

Limit max CPU usage SQL SERVER with WSRM

Typing CO_2 easily

Possible Eco thriller, man invents a device to remove rain from glass

Sound waves in different octaves

What is this high flying aircraft over Pennsylvania?

ContourPlot — How do I color by contour curvature?

Check if object is null and return null

Do you waste sorcery points if you try to apply metamagic to a spell from a scroll but fail to cast it?

How to make a list of partial sums using forEach

Would a primitive species be able to learn English from reading books alone?

Echo with obfuscation

How do I fix the group tension caused by my character stealing and possibly killing without provocation?



Why the various definitions of the thin space ,?


Why is there a , space at the beginning of the “aligned” environment?Styling definitionsWhy is `strut` working in these scenarios?Necessity of nested text within math mode for proper mathchoice-based scalingHow can I insert a thin space (,) in a listing?Turn * into thin space for clearer math spacingAlways safe to use empty braces `` to guard space?unbreakable (thin) space inside « », for tex4htThin space between minus sign and numberHow to reduce the space between two definitions?













3















Knuths definition of , is mskipthinmuskip.



LaTeX changes this definition to



DeclareRobustCommand,%
relaxifmmodemskipthinmuskipelsethinspacefi

defthinspacekern .16667em


amsmath.sty says it's



DeclareRobustCommandtmspace[3]%
ifmmodemskip#1#2elsekern#1#3firelax
renewcommand,tmspace+thinmuskip.1667em


I might understand LaTeX's point to make a command usable also in text mode. But what's the point of the redefinition by amsmath?










share|improve this question




























    3















    Knuths definition of , is mskipthinmuskip.



    LaTeX changes this definition to



    DeclareRobustCommand,%
    relaxifmmodemskipthinmuskipelsethinspacefi

    defthinspacekern .16667em


    amsmath.sty says it's



    DeclareRobustCommandtmspace[3]%
    ifmmodemskip#1#2elsekern#1#3firelax
    renewcommand,tmspace+thinmuskip.1667em


    I might understand LaTeX's point to make a command usable also in text mode. But what's the point of the redefinition by amsmath?










    share|improve this question


























      3












      3








      3


      1






      Knuths definition of , is mskipthinmuskip.



      LaTeX changes this definition to



      DeclareRobustCommand,%
      relaxifmmodemskipthinmuskipelsethinspacefi

      defthinspacekern .16667em


      amsmath.sty says it's



      DeclareRobustCommandtmspace[3]%
      ifmmodemskip#1#2elsekern#1#3firelax
      renewcommand,tmspace+thinmuskip.1667em


      I might understand LaTeX's point to make a command usable also in text mode. But what's the point of the redefinition by amsmath?










      share|improve this question
















      Knuths definition of , is mskipthinmuskip.



      LaTeX changes this definition to



      DeclareRobustCommand,%
      relaxifmmodemskipthinmuskipelsethinspacefi

      defthinspacekern .16667em


      amsmath.sty says it's



      DeclareRobustCommandtmspace[3]%
      ifmmodemskip#1#2elsekern#1#3firelax
      renewcommand,tmspace+thinmuskip.1667em


      I might understand LaTeX's point to make a command usable also in text mode. But what's the point of the redefinition by amsmath?







      spacing amsmath






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 4 hours ago









      Sebastiano

      11.1k42164




      11.1k42164










      asked 4 hours ago









      user49915user49915

      617121




      617121




















          1 Answer
          1






          active

          oldest

          votes


















          4














          You should look at the full picture:



           152 │ ifxleavevmode@ifvmode@undefined
          153 │ DeclareRobustCommandtmspace[3]%
          154 │ ifmmodemskip#1#2elsekern#1#3firelax
          155 │ else
          156 │ DeclareRobustCommandtmspace[3]%
          157 │ ifmmodemskip#1#2elseleavevmode@ifvmodekern#1#3firelax
          158 │ fi
          159 │ renewcommand,tmspace+thinmuskip.1667em
          160 │ letthinspace,
          161 │ renewcommand!tmspace-thinmuskip.1667em
          162 │ letnegthinspace!
          163 │ renewcommand:tmspace+medmuskip.2222em
          164 │ letmedspace:
          165 │ newcommandnegmedspacetmspace-medmuskip.2222em
          166 │ renewcommand;tmspace+thickmuskip.2777em
          167 │ letthickspace;
          168 │ newcommandnegthickspacetmspace-thickmuskip.2777em


          The two definitions of tmspace are due to recent decisions to make such commands start paragraph mode anyway. With a recent LaTeX kernel the second one will be used.



          Contrast this with the code in the LaTeX kernel:



          1619 │ DeclareRobustCommand,%
          1620 │ relaxifmmodemskipthinmuskipelsethinspacefi
          1621 │

          1630 │ defthinspaceleavevmode@ifvmodekern .16667em
          1631 │ defnegthinspaceleavevmode@ifvmodekern-.16667em

          4543 │ def>mskipmedmuskip
          4544 │ def;mskipthickmuskip
          4545 │ def!mskip-thinmuskip

          4547 │ let:=>


          The approach of amsmath is much more rational and cleaner. They also provide text mode equivalent of all macros, whereas ! cannot be used in text mode if amsmath is not loaded, and similarly for the others. The final result will be essentially the same. However, a , command will be translated into tmspace+thinmuskip.1667em when written in an auxiliary file, instead of ,. Not really a big deal.






          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%2f480575%2fwhy-the-various-definitions-of-the-thin-space%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









            4














            You should look at the full picture:



             152 │ ifxleavevmode@ifvmode@undefined
            153 │ DeclareRobustCommandtmspace[3]%
            154 │ ifmmodemskip#1#2elsekern#1#3firelax
            155 │ else
            156 │ DeclareRobustCommandtmspace[3]%
            157 │ ifmmodemskip#1#2elseleavevmode@ifvmodekern#1#3firelax
            158 │ fi
            159 │ renewcommand,tmspace+thinmuskip.1667em
            160 │ letthinspace,
            161 │ renewcommand!tmspace-thinmuskip.1667em
            162 │ letnegthinspace!
            163 │ renewcommand:tmspace+medmuskip.2222em
            164 │ letmedspace:
            165 │ newcommandnegmedspacetmspace-medmuskip.2222em
            166 │ renewcommand;tmspace+thickmuskip.2777em
            167 │ letthickspace;
            168 │ newcommandnegthickspacetmspace-thickmuskip.2777em


            The two definitions of tmspace are due to recent decisions to make such commands start paragraph mode anyway. With a recent LaTeX kernel the second one will be used.



            Contrast this with the code in the LaTeX kernel:



            1619 │ DeclareRobustCommand,%
            1620 │ relaxifmmodemskipthinmuskipelsethinspacefi
            1621 │

            1630 │ defthinspaceleavevmode@ifvmodekern .16667em
            1631 │ defnegthinspaceleavevmode@ifvmodekern-.16667em

            4543 │ def>mskipmedmuskip
            4544 │ def;mskipthickmuskip
            4545 │ def!mskip-thinmuskip

            4547 │ let:=>


            The approach of amsmath is much more rational and cleaner. They also provide text mode equivalent of all macros, whereas ! cannot be used in text mode if amsmath is not loaded, and similarly for the others. The final result will be essentially the same. However, a , command will be translated into tmspace+thinmuskip.1667em when written in an auxiliary file, instead of ,. Not really a big deal.






            share|improve this answer



























              4














              You should look at the full picture:



               152 │ ifxleavevmode@ifvmode@undefined
              153 │ DeclareRobustCommandtmspace[3]%
              154 │ ifmmodemskip#1#2elsekern#1#3firelax
              155 │ else
              156 │ DeclareRobustCommandtmspace[3]%
              157 │ ifmmodemskip#1#2elseleavevmode@ifvmodekern#1#3firelax
              158 │ fi
              159 │ renewcommand,tmspace+thinmuskip.1667em
              160 │ letthinspace,
              161 │ renewcommand!tmspace-thinmuskip.1667em
              162 │ letnegthinspace!
              163 │ renewcommand:tmspace+medmuskip.2222em
              164 │ letmedspace:
              165 │ newcommandnegmedspacetmspace-medmuskip.2222em
              166 │ renewcommand;tmspace+thickmuskip.2777em
              167 │ letthickspace;
              168 │ newcommandnegthickspacetmspace-thickmuskip.2777em


              The two definitions of tmspace are due to recent decisions to make such commands start paragraph mode anyway. With a recent LaTeX kernel the second one will be used.



              Contrast this with the code in the LaTeX kernel:



              1619 │ DeclareRobustCommand,%
              1620 │ relaxifmmodemskipthinmuskipelsethinspacefi
              1621 │

              1630 │ defthinspaceleavevmode@ifvmodekern .16667em
              1631 │ defnegthinspaceleavevmode@ifvmodekern-.16667em

              4543 │ def>mskipmedmuskip
              4544 │ def;mskipthickmuskip
              4545 │ def!mskip-thinmuskip

              4547 │ let:=>


              The approach of amsmath is much more rational and cleaner. They also provide text mode equivalent of all macros, whereas ! cannot be used in text mode if amsmath is not loaded, and similarly for the others. The final result will be essentially the same. However, a , command will be translated into tmspace+thinmuskip.1667em when written in an auxiliary file, instead of ,. Not really a big deal.






              share|improve this answer

























                4












                4








                4







                You should look at the full picture:



                 152 │ ifxleavevmode@ifvmode@undefined
                153 │ DeclareRobustCommandtmspace[3]%
                154 │ ifmmodemskip#1#2elsekern#1#3firelax
                155 │ else
                156 │ DeclareRobustCommandtmspace[3]%
                157 │ ifmmodemskip#1#2elseleavevmode@ifvmodekern#1#3firelax
                158 │ fi
                159 │ renewcommand,tmspace+thinmuskip.1667em
                160 │ letthinspace,
                161 │ renewcommand!tmspace-thinmuskip.1667em
                162 │ letnegthinspace!
                163 │ renewcommand:tmspace+medmuskip.2222em
                164 │ letmedspace:
                165 │ newcommandnegmedspacetmspace-medmuskip.2222em
                166 │ renewcommand;tmspace+thickmuskip.2777em
                167 │ letthickspace;
                168 │ newcommandnegthickspacetmspace-thickmuskip.2777em


                The two definitions of tmspace are due to recent decisions to make such commands start paragraph mode anyway. With a recent LaTeX kernel the second one will be used.



                Contrast this with the code in the LaTeX kernel:



                1619 │ DeclareRobustCommand,%
                1620 │ relaxifmmodemskipthinmuskipelsethinspacefi
                1621 │

                1630 │ defthinspaceleavevmode@ifvmodekern .16667em
                1631 │ defnegthinspaceleavevmode@ifvmodekern-.16667em

                4543 │ def>mskipmedmuskip
                4544 │ def;mskipthickmuskip
                4545 │ def!mskip-thinmuskip

                4547 │ let:=>


                The approach of amsmath is much more rational and cleaner. They also provide text mode equivalent of all macros, whereas ! cannot be used in text mode if amsmath is not loaded, and similarly for the others. The final result will be essentially the same. However, a , command will be translated into tmspace+thinmuskip.1667em when written in an auxiliary file, instead of ,. Not really a big deal.






                share|improve this answer













                You should look at the full picture:



                 152 │ ifxleavevmode@ifvmode@undefined
                153 │ DeclareRobustCommandtmspace[3]%
                154 │ ifmmodemskip#1#2elsekern#1#3firelax
                155 │ else
                156 │ DeclareRobustCommandtmspace[3]%
                157 │ ifmmodemskip#1#2elseleavevmode@ifvmodekern#1#3firelax
                158 │ fi
                159 │ renewcommand,tmspace+thinmuskip.1667em
                160 │ letthinspace,
                161 │ renewcommand!tmspace-thinmuskip.1667em
                162 │ letnegthinspace!
                163 │ renewcommand:tmspace+medmuskip.2222em
                164 │ letmedspace:
                165 │ newcommandnegmedspacetmspace-medmuskip.2222em
                166 │ renewcommand;tmspace+thickmuskip.2777em
                167 │ letthickspace;
                168 │ newcommandnegthickspacetmspace-thickmuskip.2777em


                The two definitions of tmspace are due to recent decisions to make such commands start paragraph mode anyway. With a recent LaTeX kernel the second one will be used.



                Contrast this with the code in the LaTeX kernel:



                1619 │ DeclareRobustCommand,%
                1620 │ relaxifmmodemskipthinmuskipelsethinspacefi
                1621 │

                1630 │ defthinspaceleavevmode@ifvmodekern .16667em
                1631 │ defnegthinspaceleavevmode@ifvmodekern-.16667em

                4543 │ def>mskipmedmuskip
                4544 │ def;mskipthickmuskip
                4545 │ def!mskip-thinmuskip

                4547 │ let:=>


                The approach of amsmath is much more rational and cleaner. They also provide text mode equivalent of all macros, whereas ! cannot be used in text mode if amsmath is not loaded, and similarly for the others. The final result will be essentially the same. However, a , command will be translated into tmspace+thinmuskip.1667em when written in an auxiliary file, instead of ,. Not really a big deal.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 4 hours ago









                egregegreg

                728k8819233233




                728k8819233233



























                    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%2f480575%2fwhy-the-various-definitions-of-the-thin-space%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

                    Disable / Remove link to Product Items in Cart Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How can I limit products that can be bought / added to cart?Remove item from cartHide “Add to Cart” button if specific products are already in cart“Prettifying” the custom options in cart pageCreate link in cart sidebar to view all added items After limit reachedLink products together in checkout/cartHow to Get product from cart and add it againHide action-edit on cart page if simple productRemoving Cart items - ObserverRemove wishlist items when added to cart

                    Helsingin valtaus Sisällysluettelo Taustaa | Yleistä sotatoimista | Osapuolet | Taistelut Helsingin ympäristössä | Punaisten antautumissuunnitelma | Taistelujen kulku Helsingissä | Valtauksen jälkeen | Tappiot | Muistaminen | Kirjallisuutta | Lähteet | Aiheesta muualla | NavigointivalikkoTeoksen verkkoversioTeoksen verkkoversioGoogle BooksSisällissota Helsingissä päättyi tasan 95 vuotta sittenSaksalaisten ylivoima jyräsi punaisen HelsinginSuomalaiset kuvaavat sotien jälkiä kaupungeissa – katso kuvat ja tarinat tutuilta kulmiltaHelsingin valtaus 90 vuotta sittenSaksalaiset valtasivat HelsinginHyökkäys HelsinkiinHelsingin valtaus 12.–13.4. 1918Saksalaiset käyttivät ihmiskilpiä Helsingin valtauksessa 1918Teoksen verkkoversioTeoksen verkkoversioSaksalaiset hyökkäävät Etelä-SuomeenTaistelut LeppävaarassaSotilaat ja taistelutLeppävaara 1918 huhtikuussa. KapinatarinaHelsingin taistelut 1918Saksalaisten voitonparaati HelsingissäHelsingin valtausta juhlittiinSaksalaisten Helsinki vuonna 1918Helsingin taistelussa kaatuneet valkokaartilaisetHelsinkiin haudatut taisteluissa kaatuneet punaiset12.4.1918 Helsingin valtauksessa saksalaiset apujoukot vapauttavat kaupunginVapaussodan muistomerkkejä Helsingissä ja pääkaupunkiseudullaCrescendo / Vuoden 1918 Kansalaissodan uhrien muistomerkkim

                    Adjektiivitarina Tarinan tekeminen | Esimerkki: ennen | Esimerkki: jälkeen | Navigointivalikko