Vertical dots with same height as colon












7















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





























    7















    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



























      7












      7








      7


      1






      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.







      math-mode symbols






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 31 at 20:41









      Circumscribe

      6,4312837




      6,4312837










      asked Oct 14 '18 at 17:52









      SidSid

      665313




      665313






















          4 Answers
          4






          active

          oldest

          votes


















          9














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



          I'm actually defining several different versions of threedots with different spacing properties:





          • threedotsord has the same spacing as ordinary letters;


          • threedotsopen and threedotsclose have the same spacing as opening and closing parentheses respectively;


          • threedotsbin has the same spacing as a binary operator (like +, -, times,…);


          • threedotsrel has the same spacing as a relation symbol (like =, <, sim, rightorrow, …).


          Which version you need will depend on how you intend to use the symbol. Since you're talking about operator ordering, you will probably want to use threedotsopen and threedotsclose. For convenience, I defined a macro oporder that puts a pair of triple dots with the correct spacing around its argument.



          documentclass{article}

          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 @

          %% You may want to rename these...
          newcommand*threedotsord{mathpalettesuperimpose{{mathop:}{cdot}}} %% <- normal
          newcommand*threedotsopen{mathopen{threedotsord}} %% <- spacing like (
          newcommand*threedotsclose{mathclose{threedotsord}} %% <- spacing like )
          newcommand*threedotsbin{mathbin{threedotsord}} %% <- spacing like +, -, ...
          newcommand*threedotsrel{mathrel{threedotsord}} %% <- spacing like =, <, ...

          newcommand*oporder[1]{threedotsopen#1threedotsclose} %% <- wraps argument in these

          begin{document}

          Using the verb|mathopen| and verb|mathclose| versions is probably what you want:
          [
          1 + oporder{ x(t_1) x(t_2) x(t_3) } + delta
          ]

          The spacing is nearly always the same as for ordinary atoms though:
          [
          1 + threedotsord x(t_1) x(t_2) x(t_3) threedotsord + delta
          ]

          Using verb|mathbin| or verb|mathrel| would be wrong in this context:
          [
          1 + threedotsbin x(t_1) x(t_2) x(t_3) threedotsbin + delta
          ]
          [
          1 + threedotsrel x(t_1) x(t_2) x(t_3) threedotsrel + delta
          ]

          This also works in superscripts and subscripts
          [
          X_{oporder{xyz}^{oporder{abc}}}
          ]

          end{document}


          output



          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).






          share|improve this answer


























          • You can see that the central dot is misaligned in subscripts

            – egreg
            Oct 14 '18 at 19:55











          • @egreg Oh, I hadn't noticed that. It is aligned correctly when I zoom in on the pdf file. Do you have any idea why it might be off in the screenshot?

            – Circumscribe
            Oct 14 '18 at 20:04











          • Adjusting to the raster. I had a similar idea, but didn't think to zoom, so when I saw the misalignment I went for a different strategy.

            – egreg
            Oct 14 '18 at 20:15



















          8














          This typesets three dots filling the same height as the colon:



          documentclass{article}

          makeatletter
          newcommand{fcolon}{%
          mathrel{mathpalettefcolon@relax}%
          }
          newcommand{fcolon@}[2]{%
          sboxz@{$m@th#1:$}%
          vbox tohtz@{%
          hbox{$m@th#1.$}%
          vss
          hbox{$m@th#1.$}%
          vss
          hbox{$m@th#1.$}%
          }%
          }
          makeatother

          begin{document}

          $A:Bfcolon C_{:fcolon_{:fcolon}}$

          end{document}


          enter image description here






          share|improve this answer































            6














            enter image description here



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



            documentclass{article}

            begin{document}


            $ x : x mathrel{:} x $

            $ x : x mathrel{lower.04emhbox{rlap{$cdot$}}{:}} x $

            end{document}





            share|improve this answer































              3














              You could use the tri-colon or vertical ellipsis ⋮ at a font height weight and position to match the colon :
              something like the a+⋮xyz⋮+b example (I know its not perfect but given time...)



              enter image description here



              but wrapped per another Unicode answer



              documentclass{article}
              usepackage[utf8]{inputenc}
              usepackage{amsmath,amssymb}
              makeatletter
              newcommandUnicodeMathSymbol[4]{%
              ifnum#1>"FF
              expandafterDeclareUnicodeCharacterexpandafter{@gobble#1}{#2}%
              fi
              }
              makeatother
              input{unicode-math-table}
              begin{document}
              $a+{lower.2emhbox{$⋮$}} xyz{lower.2emhbox{$⋮$}}+b$
              end{document}





              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%2f455170%2fvertical-dots-with-same-height-as-colon%23new-answer', 'question_page');
                }
                );

                Post as a guest















                Required, but never shown

























                4 Answers
                4






                active

                oldest

                votes








                4 Answers
                4






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                9














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



                I'm actually defining several different versions of threedots with different spacing properties:





                • threedotsord has the same spacing as ordinary letters;


                • threedotsopen and threedotsclose have the same spacing as opening and closing parentheses respectively;


                • threedotsbin has the same spacing as a binary operator (like +, -, times,…);


                • threedotsrel has the same spacing as a relation symbol (like =, <, sim, rightorrow, …).


                Which version you need will depend on how you intend to use the symbol. Since you're talking about operator ordering, you will probably want to use threedotsopen and threedotsclose. For convenience, I defined a macro oporder that puts a pair of triple dots with the correct spacing around its argument.



                documentclass{article}

                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 @

                %% You may want to rename these...
                newcommand*threedotsord{mathpalettesuperimpose{{mathop:}{cdot}}} %% <- normal
                newcommand*threedotsopen{mathopen{threedotsord}} %% <- spacing like (
                newcommand*threedotsclose{mathclose{threedotsord}} %% <- spacing like )
                newcommand*threedotsbin{mathbin{threedotsord}} %% <- spacing like +, -, ...
                newcommand*threedotsrel{mathrel{threedotsord}} %% <- spacing like =, <, ...

                newcommand*oporder[1]{threedotsopen#1threedotsclose} %% <- wraps argument in these

                begin{document}

                Using the verb|mathopen| and verb|mathclose| versions is probably what you want:
                [
                1 + oporder{ x(t_1) x(t_2) x(t_3) } + delta
                ]

                The spacing is nearly always the same as for ordinary atoms though:
                [
                1 + threedotsord x(t_1) x(t_2) x(t_3) threedotsord + delta
                ]

                Using verb|mathbin| or verb|mathrel| would be wrong in this context:
                [
                1 + threedotsbin x(t_1) x(t_2) x(t_3) threedotsbin + delta
                ]
                [
                1 + threedotsrel x(t_1) x(t_2) x(t_3) threedotsrel + delta
                ]

                This also works in superscripts and subscripts
                [
                X_{oporder{xyz}^{oporder{abc}}}
                ]

                end{document}


                output



                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).






                share|improve this answer


























                • You can see that the central dot is misaligned in subscripts

                  – egreg
                  Oct 14 '18 at 19:55











                • @egreg Oh, I hadn't noticed that. It is aligned correctly when I zoom in on the pdf file. Do you have any idea why it might be off in the screenshot?

                  – Circumscribe
                  Oct 14 '18 at 20:04











                • Adjusting to the raster. I had a similar idea, but didn't think to zoom, so when I saw the misalignment I went for a different strategy.

                  – egreg
                  Oct 14 '18 at 20:15
















                9














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



                I'm actually defining several different versions of threedots with different spacing properties:





                • threedotsord has the same spacing as ordinary letters;


                • threedotsopen and threedotsclose have the same spacing as opening and closing parentheses respectively;


                • threedotsbin has the same spacing as a binary operator (like +, -, times,…);


                • threedotsrel has the same spacing as a relation symbol (like =, <, sim, rightorrow, …).


                Which version you need will depend on how you intend to use the symbol. Since you're talking about operator ordering, you will probably want to use threedotsopen and threedotsclose. For convenience, I defined a macro oporder that puts a pair of triple dots with the correct spacing around its argument.



                documentclass{article}

                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 @

                %% You may want to rename these...
                newcommand*threedotsord{mathpalettesuperimpose{{mathop:}{cdot}}} %% <- normal
                newcommand*threedotsopen{mathopen{threedotsord}} %% <- spacing like (
                newcommand*threedotsclose{mathclose{threedotsord}} %% <- spacing like )
                newcommand*threedotsbin{mathbin{threedotsord}} %% <- spacing like +, -, ...
                newcommand*threedotsrel{mathrel{threedotsord}} %% <- spacing like =, <, ...

                newcommand*oporder[1]{threedotsopen#1threedotsclose} %% <- wraps argument in these

                begin{document}

                Using the verb|mathopen| and verb|mathclose| versions is probably what you want:
                [
                1 + oporder{ x(t_1) x(t_2) x(t_3) } + delta
                ]

                The spacing is nearly always the same as for ordinary atoms though:
                [
                1 + threedotsord x(t_1) x(t_2) x(t_3) threedotsord + delta
                ]

                Using verb|mathbin| or verb|mathrel| would be wrong in this context:
                [
                1 + threedotsbin x(t_1) x(t_2) x(t_3) threedotsbin + delta
                ]
                [
                1 + threedotsrel x(t_1) x(t_2) x(t_3) threedotsrel + delta
                ]

                This also works in superscripts and subscripts
                [
                X_{oporder{xyz}^{oporder{abc}}}
                ]

                end{document}


                output



                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).






                share|improve this answer


























                • You can see that the central dot is misaligned in subscripts

                  – egreg
                  Oct 14 '18 at 19:55











                • @egreg Oh, I hadn't noticed that. It is aligned correctly when I zoom in on the pdf file. Do you have any idea why it might be off in the screenshot?

                  – Circumscribe
                  Oct 14 '18 at 20:04











                • Adjusting to the raster. I had a similar idea, but didn't think to zoom, so when I saw the misalignment I went for a different strategy.

                  – egreg
                  Oct 14 '18 at 20:15














                9












                9








                9







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



                I'm actually defining several different versions of threedots with different spacing properties:





                • threedotsord has the same spacing as ordinary letters;


                • threedotsopen and threedotsclose have the same spacing as opening and closing parentheses respectively;


                • threedotsbin has the same spacing as a binary operator (like +, -, times,…);


                • threedotsrel has the same spacing as a relation symbol (like =, <, sim, rightorrow, …).


                Which version you need will depend on how you intend to use the symbol. Since you're talking about operator ordering, you will probably want to use threedotsopen and threedotsclose. For convenience, I defined a macro oporder that puts a pair of triple dots with the correct spacing around its argument.



                documentclass{article}

                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 @

                %% You may want to rename these...
                newcommand*threedotsord{mathpalettesuperimpose{{mathop:}{cdot}}} %% <- normal
                newcommand*threedotsopen{mathopen{threedotsord}} %% <- spacing like (
                newcommand*threedotsclose{mathclose{threedotsord}} %% <- spacing like )
                newcommand*threedotsbin{mathbin{threedotsord}} %% <- spacing like +, -, ...
                newcommand*threedotsrel{mathrel{threedotsord}} %% <- spacing like =, <, ...

                newcommand*oporder[1]{threedotsopen#1threedotsclose} %% <- wraps argument in these

                begin{document}

                Using the verb|mathopen| and verb|mathclose| versions is probably what you want:
                [
                1 + oporder{ x(t_1) x(t_2) x(t_3) } + delta
                ]

                The spacing is nearly always the same as for ordinary atoms though:
                [
                1 + threedotsord x(t_1) x(t_2) x(t_3) threedotsord + delta
                ]

                Using verb|mathbin| or verb|mathrel| would be wrong in this context:
                [
                1 + threedotsbin x(t_1) x(t_2) x(t_3) threedotsbin + delta
                ]
                [
                1 + threedotsrel x(t_1) x(t_2) x(t_3) threedotsrel + delta
                ]

                This also works in superscripts and subscripts
                [
                X_{oporder{xyz}^{oporder{abc}}}
                ]

                end{document}


                output



                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).






                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 of a :. The code below, which is based on this excellent answer, does exactly this.



                I'm actually defining several different versions of threedots with different spacing properties:





                • threedotsord has the same spacing as ordinary letters;


                • threedotsopen and threedotsclose have the same spacing as opening and closing parentheses respectively;


                • threedotsbin has the same spacing as a binary operator (like +, -, times,…);


                • threedotsrel has the same spacing as a relation symbol (like =, <, sim, rightorrow, …).


                Which version you need will depend on how you intend to use the symbol. Since you're talking about operator ordering, you will probably want to use threedotsopen and threedotsclose. For convenience, I defined a macro oporder that puts a pair of triple dots with the correct spacing around its argument.



                documentclass{article}

                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 @

                %% You may want to rename these...
                newcommand*threedotsord{mathpalettesuperimpose{{mathop:}{cdot}}} %% <- normal
                newcommand*threedotsopen{mathopen{threedotsord}} %% <- spacing like (
                newcommand*threedotsclose{mathclose{threedotsord}} %% <- spacing like )
                newcommand*threedotsbin{mathbin{threedotsord}} %% <- spacing like +, -, ...
                newcommand*threedotsrel{mathrel{threedotsord}} %% <- spacing like =, <, ...

                newcommand*oporder[1]{threedotsopen#1threedotsclose} %% <- wraps argument in these

                begin{document}

                Using the verb|mathopen| and verb|mathclose| versions is probably what you want:
                [
                1 + oporder{ x(t_1) x(t_2) x(t_3) } + delta
                ]

                The spacing is nearly always the same as for ordinary atoms though:
                [
                1 + threedotsord x(t_1) x(t_2) x(t_3) threedotsord + delta
                ]

                Using verb|mathbin| or verb|mathrel| would be wrong in this context:
                [
                1 + threedotsbin x(t_1) x(t_2) x(t_3) threedotsbin + delta
                ]
                [
                1 + threedotsrel x(t_1) x(t_2) x(t_3) threedotsrel + delta
                ]

                This also works in superscripts and subscripts
                [
                X_{oporder{xyz}^{oporder{abc}}}
                ]

                end{document}


                output



                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).







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Nov 7 '18 at 21:05

























                answered Oct 14 '18 at 18:36









                CircumscribeCircumscribe

                6,4312837




                6,4312837













                • You can see that the central dot is misaligned in subscripts

                  – egreg
                  Oct 14 '18 at 19:55











                • @egreg Oh, I hadn't noticed that. It is aligned correctly when I zoom in on the pdf file. Do you have any idea why it might be off in the screenshot?

                  – Circumscribe
                  Oct 14 '18 at 20:04











                • Adjusting to the raster. I had a similar idea, but didn't think to zoom, so when I saw the misalignment I went for a different strategy.

                  – egreg
                  Oct 14 '18 at 20:15



















                • You can see that the central dot is misaligned in subscripts

                  – egreg
                  Oct 14 '18 at 19:55











                • @egreg Oh, I hadn't noticed that. It is aligned correctly when I zoom in on the pdf file. Do you have any idea why it might be off in the screenshot?

                  – Circumscribe
                  Oct 14 '18 at 20:04











                • Adjusting to the raster. I had a similar idea, but didn't think to zoom, so when I saw the misalignment I went for a different strategy.

                  – egreg
                  Oct 14 '18 at 20:15

















                You can see that the central dot is misaligned in subscripts

                – egreg
                Oct 14 '18 at 19:55





                You can see that the central dot is misaligned in subscripts

                – egreg
                Oct 14 '18 at 19:55













                @egreg Oh, I hadn't noticed that. It is aligned correctly when I zoom in on the pdf file. Do you have any idea why it might be off in the screenshot?

                – Circumscribe
                Oct 14 '18 at 20:04





                @egreg Oh, I hadn't noticed that. It is aligned correctly when I zoom in on the pdf file. Do you have any idea why it might be off in the screenshot?

                – Circumscribe
                Oct 14 '18 at 20:04













                Adjusting to the raster. I had a similar idea, but didn't think to zoom, so when I saw the misalignment I went for a different strategy.

                – egreg
                Oct 14 '18 at 20:15





                Adjusting to the raster. I had a similar idea, but didn't think to zoom, so when I saw the misalignment I went for a different strategy.

                – egreg
                Oct 14 '18 at 20:15











                8














                This typesets three dots filling the same height as the colon:



                documentclass{article}

                makeatletter
                newcommand{fcolon}{%
                mathrel{mathpalettefcolon@relax}%
                }
                newcommand{fcolon@}[2]{%
                sboxz@{$m@th#1:$}%
                vbox tohtz@{%
                hbox{$m@th#1.$}%
                vss
                hbox{$m@th#1.$}%
                vss
                hbox{$m@th#1.$}%
                }%
                }
                makeatother

                begin{document}

                $A:Bfcolon C_{:fcolon_{:fcolon}}$

                end{document}


                enter image description here






                share|improve this answer




























                  8














                  This typesets three dots filling the same height as the colon:



                  documentclass{article}

                  makeatletter
                  newcommand{fcolon}{%
                  mathrel{mathpalettefcolon@relax}%
                  }
                  newcommand{fcolon@}[2]{%
                  sboxz@{$m@th#1:$}%
                  vbox tohtz@{%
                  hbox{$m@th#1.$}%
                  vss
                  hbox{$m@th#1.$}%
                  vss
                  hbox{$m@th#1.$}%
                  }%
                  }
                  makeatother

                  begin{document}

                  $A:Bfcolon C_{:fcolon_{:fcolon}}$

                  end{document}


                  enter image description here






                  share|improve this answer


























                    8












                    8








                    8







                    This typesets three dots filling the same height as the colon:



                    documentclass{article}

                    makeatletter
                    newcommand{fcolon}{%
                    mathrel{mathpalettefcolon@relax}%
                    }
                    newcommand{fcolon@}[2]{%
                    sboxz@{$m@th#1:$}%
                    vbox tohtz@{%
                    hbox{$m@th#1.$}%
                    vss
                    hbox{$m@th#1.$}%
                    vss
                    hbox{$m@th#1.$}%
                    }%
                    }
                    makeatother

                    begin{document}

                    $A:Bfcolon C_{:fcolon_{:fcolon}}$

                    end{document}


                    enter image description here






                    share|improve this answer













                    This typesets three dots filling the same height as the colon:



                    documentclass{article}

                    makeatletter
                    newcommand{fcolon}{%
                    mathrel{mathpalettefcolon@relax}%
                    }
                    newcommand{fcolon@}[2]{%
                    sboxz@{$m@th#1:$}%
                    vbox tohtz@{%
                    hbox{$m@th#1.$}%
                    vss
                    hbox{$m@th#1.$}%
                    vss
                    hbox{$m@th#1.$}%
                    }%
                    }
                    makeatother

                    begin{document}

                    $A:Bfcolon C_{:fcolon_{:fcolon}}$

                    end{document}


                    enter image description here







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Oct 14 '18 at 19:54









                    egregegreg

                    718k8719043200




                    718k8719043200























                        6














                        enter image description here



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



                        documentclass{article}

                        begin{document}


                        $ x : x mathrel{:} x $

                        $ x : x mathrel{lower.04emhbox{rlap{$cdot$}}{:}} x $

                        end{document}





                        share|improve this answer




























                          6














                          enter image description here



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



                          documentclass{article}

                          begin{document}


                          $ x : x mathrel{:} x $

                          $ x : x mathrel{lower.04emhbox{rlap{$cdot$}}{:}} x $

                          end{document}





                          share|improve this answer


























                            6












                            6








                            6







                            enter image description here



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



                            documentclass{article}

                            begin{document}


                            $ x : x mathrel{:} x $

                            $ x : x mathrel{lower.04emhbox{rlap{$cdot$}}{:}} x $

                            end{document}





                            share|improve this answer













                            enter image description here



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



                            documentclass{article}

                            begin{document}


                            $ x : x mathrel{:} x $

                            $ x : x mathrel{lower.04emhbox{rlap{$cdot$}}{:}} x $

                            end{document}






                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Oct 14 '18 at 18:29









                            David CarlisleDavid Carlisle

                            489k4111321880




                            489k4111321880























                                3














                                You could use the tri-colon or vertical ellipsis ⋮ at a font height weight and position to match the colon :
                                something like the a+⋮xyz⋮+b example (I know its not perfect but given time...)



                                enter image description here



                                but wrapped per another Unicode answer



                                documentclass{article}
                                usepackage[utf8]{inputenc}
                                usepackage{amsmath,amssymb}
                                makeatletter
                                newcommandUnicodeMathSymbol[4]{%
                                ifnum#1>"FF
                                expandafterDeclareUnicodeCharacterexpandafter{@gobble#1}{#2}%
                                fi
                                }
                                makeatother
                                input{unicode-math-table}
                                begin{document}
                                $a+{lower.2emhbox{$⋮$}} xyz{lower.2emhbox{$⋮$}}+b$
                                end{document}





                                share|improve this answer






























                                  3














                                  You could use the tri-colon or vertical ellipsis ⋮ at a font height weight and position to match the colon :
                                  something like the a+⋮xyz⋮+b example (I know its not perfect but given time...)



                                  enter image description here



                                  but wrapped per another Unicode answer



                                  documentclass{article}
                                  usepackage[utf8]{inputenc}
                                  usepackage{amsmath,amssymb}
                                  makeatletter
                                  newcommandUnicodeMathSymbol[4]{%
                                  ifnum#1>"FF
                                  expandafterDeclareUnicodeCharacterexpandafter{@gobble#1}{#2}%
                                  fi
                                  }
                                  makeatother
                                  input{unicode-math-table}
                                  begin{document}
                                  $a+{lower.2emhbox{$⋮$}} xyz{lower.2emhbox{$⋮$}}+b$
                                  end{document}





                                  share|improve this answer




























                                    3












                                    3








                                    3







                                    You could use the tri-colon or vertical ellipsis ⋮ at a font height weight and position to match the colon :
                                    something like the a+⋮xyz⋮+b example (I know its not perfect but given time...)



                                    enter image description here



                                    but wrapped per another Unicode answer



                                    documentclass{article}
                                    usepackage[utf8]{inputenc}
                                    usepackage{amsmath,amssymb}
                                    makeatletter
                                    newcommandUnicodeMathSymbol[4]{%
                                    ifnum#1>"FF
                                    expandafterDeclareUnicodeCharacterexpandafter{@gobble#1}{#2}%
                                    fi
                                    }
                                    makeatother
                                    input{unicode-math-table}
                                    begin{document}
                                    $a+{lower.2emhbox{$⋮$}} xyz{lower.2emhbox{$⋮$}}+b$
                                    end{document}





                                    share|improve this answer















                                    You could use the tri-colon or vertical ellipsis ⋮ at a font height weight and position to match the colon :
                                    something like the a+⋮xyz⋮+b example (I know its not perfect but given time...)



                                    enter image description here



                                    but wrapped per another Unicode answer



                                    documentclass{article}
                                    usepackage[utf8]{inputenc}
                                    usepackage{amsmath,amssymb}
                                    makeatletter
                                    newcommandUnicodeMathSymbol[4]{%
                                    ifnum#1>"FF
                                    expandafterDeclareUnicodeCharacterexpandafter{@gobble#1}{#2}%
                                    fi
                                    }
                                    makeatother
                                    input{unicode-math-table}
                                    begin{document}
                                    $a+{lower.2emhbox{$⋮$}} xyz{lower.2emhbox{$⋮$}}+b$
                                    end{document}






                                    share|improve this answer














                                    share|improve this answer



                                    share|improve this answer








                                    edited Oct 14 '18 at 21:38

























                                    answered Oct 14 '18 at 20:45









                                    KJOKJO

                                    2,1971118




                                    2,1971118






























                                        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%2f455170%2fvertical-dots-with-same-height-as-colon%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

                                        Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                                        ComboBox Display Member on multiple fields

                                        Is it possible to collect Nectar points via Trainline?