Vertical dots with same height as colon

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












How can I construct three vertical dots similar to vdots but which span the same height as a colon :? vdots is usually intended for use in matrices or a set of equations to indicate that there are many elements. I am intending its use within an in-line equation for purposes of operator ordering.










share|improve this question



























    up vote
    2
    down vote

    favorite












    How can I construct three vertical dots similar to vdots but which span the same height as a colon :? vdots is usually intended for use in matrices or a set of equations to indicate that there are many elements. I am intending its use within an in-line equation for purposes of operator ordering.










    share|improve this question

























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      How can I construct three vertical dots similar to vdots but which span the same height as a colon :? vdots is usually intended for use in matrices or a set of equations to indicate that there are many elements. I am intending its use within an in-line equation for purposes of operator ordering.










      share|improve this question















      How can I construct three vertical dots similar to vdots but which span the same height as a colon :? vdots is usually intended for use in matrices or a set of equations to indicate that there are many elements. I am intending its use within an in-line equation for purposes of operator ordering.







      amsmath syntax






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 1 hour ago

























      asked 1 hour ago









      Sid

      625313




      625313




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          If you want a version of vdots that is exactly as tall as a colon you could try to overlay a cdot on top a :. The following code, which is based on this excellent answer, does exactly this.



          documentclassarticle

          newcommand*threedotsordmathpalettesuperimposemathop:cdot
          newcommand*threedotsrelmathrelthreedotsord
          newcommand*threedotsopenmathopenthreedotsord
          newcommand*threedotsclosemathclosethreedotsord
          makeatletter %% <- make @ usable in macro names
          newcommand*superimpose[2]%
          ooalign$m@th#1@firstoftwo#2$cr
          hidewidth$m@th#1@secondoftwo#2$hidewidth%

          makeatother %% <- revert @

          begindocument

          [
          a + threedotsopen xyz threedotsclose + b
          ]
          [
          a + threedotsord xyz threedotsord + b
          ]
          [
          a + threedotsrel xyz threedotsrel + b
          ]
          [
          X_threedotsrel xyz threedotsrel
          ]

          enddocument


          enter image description here



          Note that mathop vertically centres its argument with respect to the math axis whenever it is applied to a single character, as remarked e.g. here.
          You could also centre the cdot with respect to the :, but this is more work (if you want to do it automatically, without guessing the amount to lower it by).



          I created four versions with different spacing: threedotsord has the same spacing as normal letters, threedotsrel is treated as a relation symbol (like :), threedotsopen has the spacing of an opening parenthesis and threedotsclose has the spacing of a closing parenthesis. You should choose the one that applies to your situation.






          share|improve this answer





























            up vote
            2
            down vote













            enter image description here



            If you need subscripts and superscripts to work, needs to be a bit more complicated but...



            documentclassarticle

            begindocument


            $ x : x mathrel: x $

            $ x : x mathrellower.04emhboxrlap$cdot$: x $

            enddocument





            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',
              convertImagesToLinks: false,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              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%2f455170%2fvertical-dots-with-same-height-as-colon%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              3
              down vote



              accepted










              If you want a version of vdots that is exactly as tall as a colon you could try to overlay a cdot on top a :. The following code, which is based on this excellent answer, does exactly this.



              documentclassarticle

              newcommand*threedotsordmathpalettesuperimposemathop:cdot
              newcommand*threedotsrelmathrelthreedotsord
              newcommand*threedotsopenmathopenthreedotsord
              newcommand*threedotsclosemathclosethreedotsord
              makeatletter %% <- make @ usable in macro names
              newcommand*superimpose[2]%
              ooalign$m@th#1@firstoftwo#2$cr
              hidewidth$m@th#1@secondoftwo#2$hidewidth%

              makeatother %% <- revert @

              begindocument

              [
              a + threedotsopen xyz threedotsclose + b
              ]
              [
              a + threedotsord xyz threedotsord + b
              ]
              [
              a + threedotsrel xyz threedotsrel + b
              ]
              [
              X_threedotsrel xyz threedotsrel
              ]

              enddocument


              enter image description here



              Note that mathop vertically centres its argument with respect to the math axis whenever it is applied to a single character, as remarked e.g. here.
              You could also centre the cdot with respect to the :, but this is more work (if you want to do it automatically, without guessing the amount to lower it by).



              I created four versions with different spacing: threedotsord has the same spacing as normal letters, threedotsrel is treated as a relation symbol (like :), threedotsopen has the spacing of an opening parenthesis and threedotsclose has the spacing of a closing parenthesis. You should choose the one that applies to your situation.






              share|improve this answer


























                up vote
                3
                down vote



                accepted










                If you want a version of vdots that is exactly as tall as a colon you could try to overlay a cdot on top a :. The following code, which is based on this excellent answer, does exactly this.



                documentclassarticle

                newcommand*threedotsordmathpalettesuperimposemathop:cdot
                newcommand*threedotsrelmathrelthreedotsord
                newcommand*threedotsopenmathopenthreedotsord
                newcommand*threedotsclosemathclosethreedotsord
                makeatletter %% <- make @ usable in macro names
                newcommand*superimpose[2]%
                ooalign$m@th#1@firstoftwo#2$cr
                hidewidth$m@th#1@secondoftwo#2$hidewidth%

                makeatother %% <- revert @

                begindocument

                [
                a + threedotsopen xyz threedotsclose + b
                ]
                [
                a + threedotsord xyz threedotsord + b
                ]
                [
                a + threedotsrel xyz threedotsrel + b
                ]
                [
                X_threedotsrel xyz threedotsrel
                ]

                enddocument


                enter image description here



                Note that mathop vertically centres its argument with respect to the math axis whenever it is applied to a single character, as remarked e.g. here.
                You could also centre the cdot with respect to the :, but this is more work (if you want to do it automatically, without guessing the amount to lower it by).



                I created four versions with different spacing: threedotsord has the same spacing as normal letters, threedotsrel is treated as a relation symbol (like :), threedotsopen has the spacing of an opening parenthesis and threedotsclose has the spacing of a closing parenthesis. You should choose the one that applies to your situation.






                share|improve this answer
























                  up vote
                  3
                  down vote



                  accepted







                  up vote
                  3
                  down vote



                  accepted






                  If you want a version of vdots that is exactly as tall as a colon you could try to overlay a cdot on top a :. The following code, which is based on this excellent answer, does exactly this.



                  documentclassarticle

                  newcommand*threedotsordmathpalettesuperimposemathop:cdot
                  newcommand*threedotsrelmathrelthreedotsord
                  newcommand*threedotsopenmathopenthreedotsord
                  newcommand*threedotsclosemathclosethreedotsord
                  makeatletter %% <- make @ usable in macro names
                  newcommand*superimpose[2]%
                  ooalign$m@th#1@firstoftwo#2$cr
                  hidewidth$m@th#1@secondoftwo#2$hidewidth%

                  makeatother %% <- revert @

                  begindocument

                  [
                  a + threedotsopen xyz threedotsclose + b
                  ]
                  [
                  a + threedotsord xyz threedotsord + b
                  ]
                  [
                  a + threedotsrel xyz threedotsrel + b
                  ]
                  [
                  X_threedotsrel xyz threedotsrel
                  ]

                  enddocument


                  enter image description here



                  Note that mathop vertically centres its argument with respect to the math axis whenever it is applied to a single character, as remarked e.g. here.
                  You could also centre the cdot with respect to the :, but this is more work (if you want to do it automatically, without guessing the amount to lower it by).



                  I created four versions with different spacing: threedotsord has the same spacing as normal letters, threedotsrel is treated as a relation symbol (like :), threedotsopen has the spacing of an opening parenthesis and threedotsclose has the spacing of a closing parenthesis. You should choose the one that applies to your situation.






                  share|improve this answer














                  If you want a version of vdots that is exactly as tall as a colon you could try to overlay a cdot on top a :. The following code, which is based on this excellent answer, does exactly this.



                  documentclassarticle

                  newcommand*threedotsordmathpalettesuperimposemathop:cdot
                  newcommand*threedotsrelmathrelthreedotsord
                  newcommand*threedotsopenmathopenthreedotsord
                  newcommand*threedotsclosemathclosethreedotsord
                  makeatletter %% <- make @ usable in macro names
                  newcommand*superimpose[2]%
                  ooalign$m@th#1@firstoftwo#2$cr
                  hidewidth$m@th#1@secondoftwo#2$hidewidth%

                  makeatother %% <- revert @

                  begindocument

                  [
                  a + threedotsopen xyz threedotsclose + b
                  ]
                  [
                  a + threedotsord xyz threedotsord + b
                  ]
                  [
                  a + threedotsrel xyz threedotsrel + b
                  ]
                  [
                  X_threedotsrel xyz threedotsrel
                  ]

                  enddocument


                  enter image description here



                  Note that mathop vertically centres its argument with respect to the math axis whenever it is applied to a single character, as remarked e.g. here.
                  You could also centre the cdot with respect to the :, but this is more work (if you want to do it automatically, without guessing the amount to lower it by).



                  I created four versions with different spacing: threedotsord has the same spacing as normal letters, threedotsrel is treated as a relation symbol (like :), threedotsopen has the spacing of an opening parenthesis and threedotsclose has the spacing of a closing parenthesis. You should choose the one that applies to your situation.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 28 mins ago

























                  answered 56 mins ago









                  Circumscribe

                  2,198322




                  2,198322




















                      up vote
                      2
                      down vote













                      enter image description here



                      If you need subscripts and superscripts to work, needs to be a bit more complicated but...



                      documentclassarticle

                      begindocument


                      $ x : x mathrel: x $

                      $ x : x mathrellower.04emhboxrlap$cdot$: x $

                      enddocument





                      share|improve this answer
























                        up vote
                        2
                        down vote













                        enter image description here



                        If you need subscripts and superscripts to work, needs to be a bit more complicated but...



                        documentclassarticle

                        begindocument


                        $ x : x mathrel: x $

                        $ x : x mathrellower.04emhboxrlap$cdot$: x $

                        enddocument





                        share|improve this answer






















                          up vote
                          2
                          down vote










                          up vote
                          2
                          down vote









                          enter image description here



                          If you need subscripts and superscripts to work, needs to be a bit more complicated but...



                          documentclassarticle

                          begindocument


                          $ x : x mathrel: x $

                          $ x : x mathrellower.04emhboxrlap$cdot$: x $

                          enddocument





                          share|improve this answer












                          enter image description here



                          If you need subscripts and superscripts to work, needs to be a bit more complicated but...



                          documentclassarticle

                          begindocument


                          $ x : x mathrel: x $

                          $ x : x mathrellower.04emhboxrlap$cdot$: x $

                          enddocument






                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 1 hour ago









                          David Carlisle

                          471k3811001829




                          471k3811001829



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f455170%2fvertical-dots-with-same-height-as-colon%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Comments

                              Popular posts from this blog

                              Long meetings (6-7 hours a day): Being “babysat” by supervisor

                              Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

                              Confectionery