What is the purpose of : in math mode?How to typeset $:=$ correctly?When not to use ensuremath for math macro?Define particle names to use upright greek letters in math modeAbbreviations in math modeText and math versions of textual (non-numeric) footnote symbolsWhat are semantically correct alternatives to text in math mode?Necessity of nested text within math mode for proper mathchoice-based scalingFixing mathit spacing with unicode-mathWhat math font is a good complement for Charter font?Inacessible math modeAlternative to using inline math mode for single letters?

Pedaling at different gear ratios on flat terrain: what's the point?

Capital gains on stocks sold to take initial investment off the table

SHAKE-128/256 or SHA3-256/512

When did Britain learn about American independence?

What is the purpose of : in math mode?

Why is the marginal distribution/marginal probability described as "marginal"?

Why doesn't Iron Man's action affect this person in Endgame?

Why would you put your input amplifier in front of your filtering for and ECG signal?

How to handle professionally if colleagues has referred his relative and asking to take easy while taking interview

Why did nobody know who the Lord of this region was?

Canadian citizen who is presently in litigation with a US-based company

Is it standard to have the first week's pay indefinitely withheld?

How to pass store code to custom URL in magento 2

What is this rubber on gear cables

Is Precocious Apprentice enough for Mystic Theurge?

Can a person still be an Orthodox Jew and believe that the Torah contains narratives that are not scientifically correct?

How to know the path of a particular software?

How does the Heat Metal spell interact with a follow-up Frostbite spell?

What formula to chose a nonlinear formula?

Why is vowel phonology represented in a trapezoid instead of a square?

How can I fix the label locations on my tikzcd diagram?

Why is Drogon so much better in battle than Rhaegal and Viserion?

Why are lawsuits between the President and Congress not automatically sent to the Supreme Court

Given 0s on Assignments with suspected and dismissed cheating?



What is the purpose of : in math mode?


How to typeset $:=$ correctly?When not to use ensuremath for math macro?Define particle names to use upright greek letters in math modeAbbreviations in math modeText and math versions of textual (non-numeric) footnote symbolsWhat are semantically correct alternatives to text in math mode?Necessity of nested text within math mode for proper mathchoice-based scalingFixing mathit spacing with unicode-mathWhat math font is a good complement for Charter font?Inacessible math modeAlternative to using inline math mode for single letters?













6















What is the purpose of $:$?



We know that in math mode one should write in natural language and not being so strict with math notation.



For example: $f:Ato B$ is not "correct", the correct way would be $fcolon Ato B$ (and variants).



I do not remember any math book that uses the colon as part of a sentence in math mode.



The only 2 uses I can give to $:$ is when are learning about divisions ($2:4=1:2$) and for scales ($1:2$).



Does (La)TeX give a meaning of : in math mode?










share|improve this question


























    6















    What is the purpose of $:$?



    We know that in math mode one should write in natural language and not being so strict with math notation.



    For example: $f:Ato B$ is not "correct", the correct way would be $fcolon Ato B$ (and variants).



    I do not remember any math book that uses the colon as part of a sentence in math mode.



    The only 2 uses I can give to $:$ is when are learning about divisions ($2:4=1:2$) and for scales ($1:2$).



    Does (La)TeX give a meaning of : in math mode?










    share|improve this question
























      6












      6








      6


      1






      What is the purpose of $:$?



      We know that in math mode one should write in natural language and not being so strict with math notation.



      For example: $f:Ato B$ is not "correct", the correct way would be $fcolon Ato B$ (and variants).



      I do not remember any math book that uses the colon as part of a sentence in math mode.



      The only 2 uses I can give to $:$ is when are learning about divisions ($2:4=1:2$) and for scales ($1:2$).



      Does (La)TeX give a meaning of : in math mode?










      share|improve this question














      What is the purpose of $:$?



      We know that in math mode one should write in natural language and not being so strict with math notation.



      For example: $f:Ato B$ is not "correct", the correct way would be $fcolon Ato B$ (and variants).



      I do not remember any math book that uses the colon as part of a sentence in math mode.



      The only 2 uses I can give to $:$ is when are learning about divisions ($2:4=1:2$) and for scales ($1:2$).



      Does (La)TeX give a meaning of : in math mode?







      math-mode punctuation






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 2 hours ago









      manoooohmanooooh

      1,2361517




      1,2361517




















          2 Answers
          2






          active

          oldest

          votes


















          3














          The : is a relational symbol in TeX. It is intended to be used in conjunction with =. From the TeXbook.



          Plain TeX treats the four characters |=|, |<|, |>|, and |:| as
          ``^relations'' because they express a relationship between two
          quantities. For example, `$x<y$' means that $x$~is less than~$y$.
          Such relationships have a rather different meaning from binary
          operations like $+$, and the symbols are typeset somewhat differently:
          beginmathdemo
          |$x=y>z$|&x=y>zcr
          |$x:=y$|&x:=ycr
          |$xle yne z$|&xle yne zcr
          |$xsim ysimeq z$|&xsim ysimeq zcr
          |$xequiv ynotequiv z$|&xequiv ynotequiv zcr
          |$xsubset ysubseteq z$|&xsubset ysubseteq zcr
          endmathdemo


          Here the same table rendered in LaTeX:



          enter image description here



          documentclassarticle
          usepackagearray
          usepackageamsmath
          usepackagelistings
          lstsetbasicstyle=ttfamily
          begindocument
          lstMakeShortInline|
          begintabularl>$l<$
          |$x=y>z$| & x=y>z \
          |$x:=y$| & x:=y \
          |$xle yne z$| & xle yne z \
          |$xsim ysimeq z$| & xsim ysimeq z \
          |$xequiv ynotequiv z$| & xequiv ynotequiv z \
          |$xsubset ysubseteq z$| & xsubset ysubseteq z \
          endtabular
          enddocument





          share|improve this answer




















          • 1





            I think := should be typeset with coloneqq: tex.stackexchange.com/a/4217/156344. One should not use $a:=b$ as Knuth said.

            – JouleV
            24 mins ago











          • The claim that : "is intended to be used in conjunction with =" seems a bit too strong. E.g., it seems perfectly code to use : to denote conditioning on an event.

            – Mico
            3 mins ago











          • If you inspect the typeset version of := closely, you'll notice that the colon symbol is centered vertically on the equals symbol. That's why it's useful to write coloneq, coloneqq, etc.

            – Mico
            18 secs ago


















          1














          Quite often, one sees : employed in place of a vertical bar (|) to denote conditioning on some event or condition. E.g., both $E(X : X>0)$ and $E(Xmid X>0)$ would express the "expectation of the random variable X conditional on this random variable taking on positive values".



          By default, TeX treats both : and mid -- but not | and vert -- as "relational" operators and inserts an amount of whitespace around them that's also used for other relational operators such as <, =, and >.



          For other, i.e., non-conditioning math uses of the colon symbol, one should employ colon, coloneq (or, depending on the package that's in use, coloneqq, etc.






          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%2f491080%2fwhat-is-the-purpose-of-in-math-mode%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









            3














            The : is a relational symbol in TeX. It is intended to be used in conjunction with =. From the TeXbook.



            Plain TeX treats the four characters |=|, |<|, |>|, and |:| as
            ``^relations'' because they express a relationship between two
            quantities. For example, `$x<y$' means that $x$~is less than~$y$.
            Such relationships have a rather different meaning from binary
            operations like $+$, and the symbols are typeset somewhat differently:
            beginmathdemo
            |$x=y>z$|&x=y>zcr
            |$x:=y$|&x:=ycr
            |$xle yne z$|&xle yne zcr
            |$xsim ysimeq z$|&xsim ysimeq zcr
            |$xequiv ynotequiv z$|&xequiv ynotequiv zcr
            |$xsubset ysubseteq z$|&xsubset ysubseteq zcr
            endmathdemo


            Here the same table rendered in LaTeX:



            enter image description here



            documentclassarticle
            usepackagearray
            usepackageamsmath
            usepackagelistings
            lstsetbasicstyle=ttfamily
            begindocument
            lstMakeShortInline|
            begintabularl>$l<$
            |$x=y>z$| & x=y>z \
            |$x:=y$| & x:=y \
            |$xle yne z$| & xle yne z \
            |$xsim ysimeq z$| & xsim ysimeq z \
            |$xequiv ynotequiv z$| & xequiv ynotequiv z \
            |$xsubset ysubseteq z$| & xsubset ysubseteq z \
            endtabular
            enddocument





            share|improve this answer




















            • 1





              I think := should be typeset with coloneqq: tex.stackexchange.com/a/4217/156344. One should not use $a:=b$ as Knuth said.

              – JouleV
              24 mins ago











            • The claim that : "is intended to be used in conjunction with =" seems a bit too strong. E.g., it seems perfectly code to use : to denote conditioning on an event.

              – Mico
              3 mins ago











            • If you inspect the typeset version of := closely, you'll notice that the colon symbol is centered vertically on the equals symbol. That's why it's useful to write coloneq, coloneqq, etc.

              – Mico
              18 secs ago















            3














            The : is a relational symbol in TeX. It is intended to be used in conjunction with =. From the TeXbook.



            Plain TeX treats the four characters |=|, |<|, |>|, and |:| as
            ``^relations'' because they express a relationship between two
            quantities. For example, `$x<y$' means that $x$~is less than~$y$.
            Such relationships have a rather different meaning from binary
            operations like $+$, and the symbols are typeset somewhat differently:
            beginmathdemo
            |$x=y>z$|&x=y>zcr
            |$x:=y$|&x:=ycr
            |$xle yne z$|&xle yne zcr
            |$xsim ysimeq z$|&xsim ysimeq zcr
            |$xequiv ynotequiv z$|&xequiv ynotequiv zcr
            |$xsubset ysubseteq z$|&xsubset ysubseteq zcr
            endmathdemo


            Here the same table rendered in LaTeX:



            enter image description here



            documentclassarticle
            usepackagearray
            usepackageamsmath
            usepackagelistings
            lstsetbasicstyle=ttfamily
            begindocument
            lstMakeShortInline|
            begintabularl>$l<$
            |$x=y>z$| & x=y>z \
            |$x:=y$| & x:=y \
            |$xle yne z$| & xle yne z \
            |$xsim ysimeq z$| & xsim ysimeq z \
            |$xequiv ynotequiv z$| & xequiv ynotequiv z \
            |$xsubset ysubseteq z$| & xsubset ysubseteq z \
            endtabular
            enddocument





            share|improve this answer




















            • 1





              I think := should be typeset with coloneqq: tex.stackexchange.com/a/4217/156344. One should not use $a:=b$ as Knuth said.

              – JouleV
              24 mins ago











            • The claim that : "is intended to be used in conjunction with =" seems a bit too strong. E.g., it seems perfectly code to use : to denote conditioning on an event.

              – Mico
              3 mins ago











            • If you inspect the typeset version of := closely, you'll notice that the colon symbol is centered vertically on the equals symbol. That's why it's useful to write coloneq, coloneqq, etc.

              – Mico
              18 secs ago













            3












            3








            3







            The : is a relational symbol in TeX. It is intended to be used in conjunction with =. From the TeXbook.



            Plain TeX treats the four characters |=|, |<|, |>|, and |:| as
            ``^relations'' because they express a relationship between two
            quantities. For example, `$x<y$' means that $x$~is less than~$y$.
            Such relationships have a rather different meaning from binary
            operations like $+$, and the symbols are typeset somewhat differently:
            beginmathdemo
            |$x=y>z$|&x=y>zcr
            |$x:=y$|&x:=ycr
            |$xle yne z$|&xle yne zcr
            |$xsim ysimeq z$|&xsim ysimeq zcr
            |$xequiv ynotequiv z$|&xequiv ynotequiv zcr
            |$xsubset ysubseteq z$|&xsubset ysubseteq zcr
            endmathdemo


            Here the same table rendered in LaTeX:



            enter image description here



            documentclassarticle
            usepackagearray
            usepackageamsmath
            usepackagelistings
            lstsetbasicstyle=ttfamily
            begindocument
            lstMakeShortInline|
            begintabularl>$l<$
            |$x=y>z$| & x=y>z \
            |$x:=y$| & x:=y \
            |$xle yne z$| & xle yne z \
            |$xsim ysimeq z$| & xsim ysimeq z \
            |$xequiv ynotequiv z$| & xequiv ynotequiv z \
            |$xsubset ysubseteq z$| & xsubset ysubseteq z \
            endtabular
            enddocument





            share|improve this answer















            The : is a relational symbol in TeX. It is intended to be used in conjunction with =. From the TeXbook.



            Plain TeX treats the four characters |=|, |<|, |>|, and |:| as
            ``^relations'' because they express a relationship between two
            quantities. For example, `$x<y$' means that $x$~is less than~$y$.
            Such relationships have a rather different meaning from binary
            operations like $+$, and the symbols are typeset somewhat differently:
            beginmathdemo
            |$x=y>z$|&x=y>zcr
            |$x:=y$|&x:=ycr
            |$xle yne z$|&xle yne zcr
            |$xsim ysimeq z$|&xsim ysimeq zcr
            |$xequiv ynotequiv z$|&xequiv ynotequiv zcr
            |$xsubset ysubseteq z$|&xsubset ysubseteq zcr
            endmathdemo


            Here the same table rendered in LaTeX:



            enter image description here



            documentclassarticle
            usepackagearray
            usepackageamsmath
            usepackagelistings
            lstsetbasicstyle=ttfamily
            begindocument
            lstMakeShortInline|
            begintabularl>$l<$
            |$x=y>z$| & x=y>z \
            |$x:=y$| & x:=y \
            |$xle yne z$| & xle yne z \
            |$xsim ysimeq z$| & xsim ysimeq z \
            |$xequiv ynotequiv z$| & xequiv ynotequiv z \
            |$xsubset ysubseteq z$| & xsubset ysubseteq z \
            endtabular
            enddocument






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 44 mins ago

























            answered 49 mins ago









            Henri MenkeHenri Menke

            79.2k9172286




            79.2k9172286







            • 1





              I think := should be typeset with coloneqq: tex.stackexchange.com/a/4217/156344. One should not use $a:=b$ as Knuth said.

              – JouleV
              24 mins ago











            • The claim that : "is intended to be used in conjunction with =" seems a bit too strong. E.g., it seems perfectly code to use : to denote conditioning on an event.

              – Mico
              3 mins ago











            • If you inspect the typeset version of := closely, you'll notice that the colon symbol is centered vertically on the equals symbol. That's why it's useful to write coloneq, coloneqq, etc.

              – Mico
              18 secs ago












            • 1





              I think := should be typeset with coloneqq: tex.stackexchange.com/a/4217/156344. One should not use $a:=b$ as Knuth said.

              – JouleV
              24 mins ago











            • The claim that : "is intended to be used in conjunction with =" seems a bit too strong. E.g., it seems perfectly code to use : to denote conditioning on an event.

              – Mico
              3 mins ago











            • If you inspect the typeset version of := closely, you'll notice that the colon symbol is centered vertically on the equals symbol. That's why it's useful to write coloneq, coloneqq, etc.

              – Mico
              18 secs ago







            1




            1





            I think := should be typeset with coloneqq: tex.stackexchange.com/a/4217/156344. One should not use $a:=b$ as Knuth said.

            – JouleV
            24 mins ago





            I think := should be typeset with coloneqq: tex.stackexchange.com/a/4217/156344. One should not use $a:=b$ as Knuth said.

            – JouleV
            24 mins ago













            The claim that : "is intended to be used in conjunction with =" seems a bit too strong. E.g., it seems perfectly code to use : to denote conditioning on an event.

            – Mico
            3 mins ago





            The claim that : "is intended to be used in conjunction with =" seems a bit too strong. E.g., it seems perfectly code to use : to denote conditioning on an event.

            – Mico
            3 mins ago













            If you inspect the typeset version of := closely, you'll notice that the colon symbol is centered vertically on the equals symbol. That's why it's useful to write coloneq, coloneqq, etc.

            – Mico
            18 secs ago





            If you inspect the typeset version of := closely, you'll notice that the colon symbol is centered vertically on the equals symbol. That's why it's useful to write coloneq, coloneqq, etc.

            – Mico
            18 secs ago











            1














            Quite often, one sees : employed in place of a vertical bar (|) to denote conditioning on some event or condition. E.g., both $E(X : X>0)$ and $E(Xmid X>0)$ would express the "expectation of the random variable X conditional on this random variable taking on positive values".



            By default, TeX treats both : and mid -- but not | and vert -- as "relational" operators and inserts an amount of whitespace around them that's also used for other relational operators such as <, =, and >.



            For other, i.e., non-conditioning math uses of the colon symbol, one should employ colon, coloneq (or, depending on the package that's in use, coloneqq, etc.






            share|improve this answer



























              1














              Quite often, one sees : employed in place of a vertical bar (|) to denote conditioning on some event or condition. E.g., both $E(X : X>0)$ and $E(Xmid X>0)$ would express the "expectation of the random variable X conditional on this random variable taking on positive values".



              By default, TeX treats both : and mid -- but not | and vert -- as "relational" operators and inserts an amount of whitespace around them that's also used for other relational operators such as <, =, and >.



              For other, i.e., non-conditioning math uses of the colon symbol, one should employ colon, coloneq (or, depending on the package that's in use, coloneqq, etc.






              share|improve this answer

























                1












                1








                1







                Quite often, one sees : employed in place of a vertical bar (|) to denote conditioning on some event or condition. E.g., both $E(X : X>0)$ and $E(Xmid X>0)$ would express the "expectation of the random variable X conditional on this random variable taking on positive values".



                By default, TeX treats both : and mid -- but not | and vert -- as "relational" operators and inserts an amount of whitespace around them that's also used for other relational operators such as <, =, and >.



                For other, i.e., non-conditioning math uses of the colon symbol, one should employ colon, coloneq (or, depending on the package that's in use, coloneqq, etc.






                share|improve this answer













                Quite often, one sees : employed in place of a vertical bar (|) to denote conditioning on some event or condition. E.g., both $E(X : X>0)$ and $E(Xmid X>0)$ would express the "expectation of the random variable X conditional on this random variable taking on positive values".



                By default, TeX treats both : and mid -- but not | and vert -- as "relational" operators and inserts an amount of whitespace around them that's also used for other relational operators such as <, =, and >.



                For other, i.e., non-conditioning math uses of the colon symbol, one should employ colon, coloneq (or, depending on the package that's in use, coloneqq, etc.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 10 mins ago









                MicoMico

                291k32399788




                291k32399788



























                    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%2f491080%2fwhat-is-the-purpose-of-in-math-mode%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

                    Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                    Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                    Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її