textvdots in LaTeX?
up vote
4
down vote
favorite
Is there a text-mode vertical ellipsis that I can use directly in LaTeX, e.g., named textvdots
, texvellipsis
or similar?
I don't mean the unicode engines, but LaTeX, since in {Xe/Lua}LaTeX we could probably type in the vertical ellipsis ⋮ directly. Moreover, I don't wish to switch to math mode, such as in (vdots)
: it produces some undesirable vertical space above the symbol. I've already tried Detexify and symbols-a4.pdf
.
symbols ellipsis
add a comment |
up vote
4
down vote
favorite
Is there a text-mode vertical ellipsis that I can use directly in LaTeX, e.g., named textvdots
, texvellipsis
or similar?
I don't mean the unicode engines, but LaTeX, since in {Xe/Lua}LaTeX we could probably type in the vertical ellipsis ⋮ directly. Moreover, I don't wish to switch to math mode, such as in (vdots)
: it produces some undesirable vertical space above the symbol. I've already tried Detexify and symbols-a4.pdf
.
symbols ellipsis
I vote to delete my own question, since it is really misleading. I falsely assumed that vdots is not available in text mode. As @Werner says (thx!), it is not the case: you can usevdots
in either text or math mode.
– user49915
Nov 28 at 23:03
We don't delete Q&A with upvotes. It's OK if it stays around. Other users might have similar problems and find it useful after all.
– Martin Scharrer♦
Nov 29 at 6:34
@MartinScharrer I see. Perhaps, the folks could downvote it, so that it will be deleted?
– user49915
Nov 29 at 14:17
Well, why not let it be? It does not create a problem.
– Martin Scharrer♦
Nov 30 at 7:04
@MartinScharrer I prefer to keep my bullshit footprint low.
– user49915
Nov 30 at 22:04
add a comment |
up vote
4
down vote
favorite
up vote
4
down vote
favorite
Is there a text-mode vertical ellipsis that I can use directly in LaTeX, e.g., named textvdots
, texvellipsis
or similar?
I don't mean the unicode engines, but LaTeX, since in {Xe/Lua}LaTeX we could probably type in the vertical ellipsis ⋮ directly. Moreover, I don't wish to switch to math mode, such as in (vdots)
: it produces some undesirable vertical space above the symbol. I've already tried Detexify and symbols-a4.pdf
.
symbols ellipsis
Is there a text-mode vertical ellipsis that I can use directly in LaTeX, e.g., named textvdots
, texvellipsis
or similar?
I don't mean the unicode engines, but LaTeX, since in {Xe/Lua}LaTeX we could probably type in the vertical ellipsis ⋮ directly. Moreover, I don't wish to switch to math mode, such as in (vdots)
: it produces some undesirable vertical space above the symbol. I've already tried Detexify and symbols-a4.pdf
.
symbols ellipsis
symbols ellipsis
edited Nov 28 at 20:52
Werner
433k609531635
433k609531635
asked Nov 28 at 20:18
user49915
42616
42616
I vote to delete my own question, since it is really misleading. I falsely assumed that vdots is not available in text mode. As @Werner says (thx!), it is not the case: you can usevdots
in either text or math mode.
– user49915
Nov 28 at 23:03
We don't delete Q&A with upvotes. It's OK if it stays around. Other users might have similar problems and find it useful after all.
– Martin Scharrer♦
Nov 29 at 6:34
@MartinScharrer I see. Perhaps, the folks could downvote it, so that it will be deleted?
– user49915
Nov 29 at 14:17
Well, why not let it be? It does not create a problem.
– Martin Scharrer♦
Nov 30 at 7:04
@MartinScharrer I prefer to keep my bullshit footprint low.
– user49915
Nov 30 at 22:04
add a comment |
I vote to delete my own question, since it is really misleading. I falsely assumed that vdots is not available in text mode. As @Werner says (thx!), it is not the case: you can usevdots
in either text or math mode.
– user49915
Nov 28 at 23:03
We don't delete Q&A with upvotes. It's OK if it stays around. Other users might have similar problems and find it useful after all.
– Martin Scharrer♦
Nov 29 at 6:34
@MartinScharrer I see. Perhaps, the folks could downvote it, so that it will be deleted?
– user49915
Nov 29 at 14:17
Well, why not let it be? It does not create a problem.
– Martin Scharrer♦
Nov 30 at 7:04
@MartinScharrer I prefer to keep my bullshit footprint low.
– user49915
Nov 30 at 22:04
I vote to delete my own question, since it is really misleading. I falsely assumed that vdots is not available in text mode. As @Werner says (thx!), it is not the case: you can use
vdots
in either text or math mode.– user49915
Nov 28 at 23:03
I vote to delete my own question, since it is really misleading. I falsely assumed that vdots is not available in text mode. As @Werner says (thx!), it is not the case: you can use
vdots
in either text or math mode.– user49915
Nov 28 at 23:03
We don't delete Q&A with upvotes. It's OK if it stays around. Other users might have similar problems and find it useful after all.
– Martin Scharrer♦
Nov 29 at 6:34
We don't delete Q&A with upvotes. It's OK if it stays around. Other users might have similar problems and find it useful after all.
– Martin Scharrer♦
Nov 29 at 6:34
@MartinScharrer I see. Perhaps, the folks could downvote it, so that it will be deleted?
– user49915
Nov 29 at 14:17
@MartinScharrer I see. Perhaps, the folks could downvote it, so that it will be deleted?
– user49915
Nov 29 at 14:17
Well, why not let it be? It does not create a problem.
– Martin Scharrer♦
Nov 30 at 7:04
Well, why not let it be? It does not create a problem.
– Martin Scharrer♦
Nov 30 at 7:04
@MartinScharrer I prefer to keep my bullshit footprint low.
– user49915
Nov 30 at 22:04
@MartinScharrer I prefer to keep my bullshit footprint low.
– user49915
Nov 30 at 22:04
add a comment |
1 Answer
1
active
oldest
votes
up vote
4
down vote
accepted
The default vdots
is defined as
DeclareRobustCommand{vdots}{%
vbox{%
baselineskip 4p@
lineskiplimit z@
kern 6p@
hbox{.}hbox{.}hbox{.}%
}%
}
with no indication of using math mode. So you can just use vdots
within the text, or define textvdots
for using in text as needed:
documentclass{article}
lettextvdotsvdots
begin{document}
This is verb|textvdots| textvdots{} or verb|vdots| vdots{} in text mode.
end{document}
If the command did not have the above construction that allowed for using within text/math mode, then you can use (for example, when considering alpha
that only works in math mode):
newcommand{textalpha}{$alpha$}
or something more intricate
newcommand{textalpha}{ifmmode alphaelse $alpha$fi}
the works in both text and math mode.
For reducing the vertical stretch, redefine textvdots
to be similar to vdots
only with a smaller baselineskip
:
documentclass{article}
makeatletter
DeclareRobustCommand{textalpha}{%
vbox{%
baselineskip 3p@
lineskiplimit z@
kern 6p@
hbox{.}hbox{.}hbox{.}%
}%
}
makeatother
begin{document}
This is verb|$textalpha$| textalpha{} and vdots{} in text mode, for comparison.
end{document}
I see. I falsely assumed that vdots is only math-mode. You are right; I apologize. Anyway, thanks for the code!
– user49915
Nov 28 at 22:26
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
The default vdots
is defined as
DeclareRobustCommand{vdots}{%
vbox{%
baselineskip 4p@
lineskiplimit z@
kern 6p@
hbox{.}hbox{.}hbox{.}%
}%
}
with no indication of using math mode. So you can just use vdots
within the text, or define textvdots
for using in text as needed:
documentclass{article}
lettextvdotsvdots
begin{document}
This is verb|textvdots| textvdots{} or verb|vdots| vdots{} in text mode.
end{document}
If the command did not have the above construction that allowed for using within text/math mode, then you can use (for example, when considering alpha
that only works in math mode):
newcommand{textalpha}{$alpha$}
or something more intricate
newcommand{textalpha}{ifmmode alphaelse $alpha$fi}
the works in both text and math mode.
For reducing the vertical stretch, redefine textvdots
to be similar to vdots
only with a smaller baselineskip
:
documentclass{article}
makeatletter
DeclareRobustCommand{textalpha}{%
vbox{%
baselineskip 3p@
lineskiplimit z@
kern 6p@
hbox{.}hbox{.}hbox{.}%
}%
}
makeatother
begin{document}
This is verb|$textalpha$| textalpha{} and vdots{} in text mode, for comparison.
end{document}
I see. I falsely assumed that vdots is only math-mode. You are right; I apologize. Anyway, thanks for the code!
– user49915
Nov 28 at 22:26
add a comment |
up vote
4
down vote
accepted
The default vdots
is defined as
DeclareRobustCommand{vdots}{%
vbox{%
baselineskip 4p@
lineskiplimit z@
kern 6p@
hbox{.}hbox{.}hbox{.}%
}%
}
with no indication of using math mode. So you can just use vdots
within the text, or define textvdots
for using in text as needed:
documentclass{article}
lettextvdotsvdots
begin{document}
This is verb|textvdots| textvdots{} or verb|vdots| vdots{} in text mode.
end{document}
If the command did not have the above construction that allowed for using within text/math mode, then you can use (for example, when considering alpha
that only works in math mode):
newcommand{textalpha}{$alpha$}
or something more intricate
newcommand{textalpha}{ifmmode alphaelse $alpha$fi}
the works in both text and math mode.
For reducing the vertical stretch, redefine textvdots
to be similar to vdots
only with a smaller baselineskip
:
documentclass{article}
makeatletter
DeclareRobustCommand{textalpha}{%
vbox{%
baselineskip 3p@
lineskiplimit z@
kern 6p@
hbox{.}hbox{.}hbox{.}%
}%
}
makeatother
begin{document}
This is verb|$textalpha$| textalpha{} and vdots{} in text mode, for comparison.
end{document}
I see. I falsely assumed that vdots is only math-mode. You are right; I apologize. Anyway, thanks for the code!
– user49915
Nov 28 at 22:26
add a comment |
up vote
4
down vote
accepted
up vote
4
down vote
accepted
The default vdots
is defined as
DeclareRobustCommand{vdots}{%
vbox{%
baselineskip 4p@
lineskiplimit z@
kern 6p@
hbox{.}hbox{.}hbox{.}%
}%
}
with no indication of using math mode. So you can just use vdots
within the text, or define textvdots
for using in text as needed:
documentclass{article}
lettextvdotsvdots
begin{document}
This is verb|textvdots| textvdots{} or verb|vdots| vdots{} in text mode.
end{document}
If the command did not have the above construction that allowed for using within text/math mode, then you can use (for example, when considering alpha
that only works in math mode):
newcommand{textalpha}{$alpha$}
or something more intricate
newcommand{textalpha}{ifmmode alphaelse $alpha$fi}
the works in both text and math mode.
For reducing the vertical stretch, redefine textvdots
to be similar to vdots
only with a smaller baselineskip
:
documentclass{article}
makeatletter
DeclareRobustCommand{textalpha}{%
vbox{%
baselineskip 3p@
lineskiplimit z@
kern 6p@
hbox{.}hbox{.}hbox{.}%
}%
}
makeatother
begin{document}
This is verb|$textalpha$| textalpha{} and vdots{} in text mode, for comparison.
end{document}
The default vdots
is defined as
DeclareRobustCommand{vdots}{%
vbox{%
baselineskip 4p@
lineskiplimit z@
kern 6p@
hbox{.}hbox{.}hbox{.}%
}%
}
with no indication of using math mode. So you can just use vdots
within the text, or define textvdots
for using in text as needed:
documentclass{article}
lettextvdotsvdots
begin{document}
This is verb|textvdots| textvdots{} or verb|vdots| vdots{} in text mode.
end{document}
If the command did not have the above construction that allowed for using within text/math mode, then you can use (for example, when considering alpha
that only works in math mode):
newcommand{textalpha}{$alpha$}
or something more intricate
newcommand{textalpha}{ifmmode alphaelse $alpha$fi}
the works in both text and math mode.
For reducing the vertical stretch, redefine textvdots
to be similar to vdots
only with a smaller baselineskip
:
documentclass{article}
makeatletter
DeclareRobustCommand{textalpha}{%
vbox{%
baselineskip 3p@
lineskiplimit z@
kern 6p@
hbox{.}hbox{.}hbox{.}%
}%
}
makeatother
begin{document}
This is verb|$textalpha$| textalpha{} and vdots{} in text mode, for comparison.
end{document}
answered Nov 28 at 20:47
Werner
433k609531635
433k609531635
I see. I falsely assumed that vdots is only math-mode. You are right; I apologize. Anyway, thanks for the code!
– user49915
Nov 28 at 22:26
add a comment |
I see. I falsely assumed that vdots is only math-mode. You are right; I apologize. Anyway, thanks for the code!
– user49915
Nov 28 at 22:26
I see. I falsely assumed that vdots is only math-mode. You are right; I apologize. Anyway, thanks for the code!
– user49915
Nov 28 at 22:26
I see. I falsely assumed that vdots is only math-mode. You are right; I apologize. Anyway, thanks for the code!
– user49915
Nov 28 at 22:26
add a comment |
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f462241%2ftextvdots-in-latex%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
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
I vote to delete my own question, since it is really misleading. I falsely assumed that vdots is not available in text mode. As @Werner says (thx!), it is not the case: you can use
vdots
in either text or math mode.– user49915
Nov 28 at 23:03
We don't delete Q&A with upvotes. It's OK if it stays around. Other users might have similar problems and find it useful after all.
– Martin Scharrer♦
Nov 29 at 6:34
@MartinScharrer I see. Perhaps, the folks could downvote it, so that it will be deleted?
– user49915
Nov 29 at 14:17
Well, why not let it be? It does not create a problem.
– Martin Scharrer♦
Nov 30 at 7:04
@MartinScharrer I prefer to keep my bullshit footprint low.
– user49915
Nov 30 at 22:04