Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixed use of \ldots and \dotsc #2032

Closed
jensmaurer opened this issue Apr 14, 2018 · 3 comments
Closed

Mixed use of \ldots and \dotsc #2032

jensmaurer opened this issue Apr 14, 2018 · 3 comments

Comments

@jensmaurer
Copy link
Member

Those seem to be used in approximately the same context of comma-separated lists, so we should find out what the differences are and harmonize on one.
Also update the style guide.

@tkoeppe
Copy link
Contributor

tkoeppe commented Apr 14, 2018

Please research first each macro's purpose. I believe that the \dotsX macros are for math mode, whereas \ldots works in text mode. The horizontal spacing is different in the different modes, so both macros may be appropriate in their respective contexts.

@jensmaurer
Copy link
Member Author

From https://tex.stackexchange.com/questions/77737/dots-versus-ldots-is-there-a-difference :

"in latex.ltx, \ldots is equated (\let) to \dots. so in text, it's the same, and you can use either.
with amsmath, the situation is more complicated; \dots tries to determine by context (only in math mode) whether to use \ldots or \cdots"

... and \dotsc just means \ldots (the kind of dots you use for comma-separated lists; in math mode only).

@jensmaurer jensmaurer added the decision-required A decision of the editorial group (or the Project Editor) is required. label Apr 14, 2018
@tkoeppe
Copy link
Contributor

tkoeppe commented Apr 14, 2018

OK - looks like we can use either, then. That said, I like keeping \dotsc in math mode because it's nice and self-documenting (but maybe that's just because I used to typeset a lot of maths). I'd be happy to use Ams-dots in math mode and "raw" dots in text mode.

@jensmaurer jensmaurer removed the decision-required A decision of the editorial group (or the Project Editor) is required. label Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants