Vertical dots with same height as colon
Clash 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.
amsmath syntax
add a comment |Â
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.
amsmath syntax
add a comment |Â
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.
amsmath syntax
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
amsmath syntax
edited 1 hour ago
asked 1 hour ago
Sid
625313
625313
add a comment |Â
add a comment |Â
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
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.
add a comment |Â
up vote
2
down vote
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
add a comment |Â
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
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.
add a comment |Â
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
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.
add a comment |Â
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
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.
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
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.
edited 28 mins ago
answered 56 mins ago
Circumscribe
2,198322
2,198322
add a comment |Â
add a comment |Â
up vote
2
down vote
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
add a comment |Â
up vote
2
down vote
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
add a comment |Â
up vote
2
down vote
up vote
2
down vote
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
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
answered 1 hour ago
David Carlisle
471k3811001829
471k3811001829
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password