Skip to content

Mixed use of \ldots and \dotsc #2032

Closed
Closed
@jensmaurer

Description

@jensmaurer
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.

Activity

tkoeppe

tkoeppe commented on Apr 14, 2018

@tkoeppe
Contributor

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

jensmaurer commented on Apr 14, 2018

@jensmaurer
MemberAuthor

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

added
decision-requiredA decision of the editorial group (or the Project Editor) is required.
on Apr 14, 2018
tkoeppe

tkoeppe commented on Apr 14, 2018

@tkoeppe
Contributor

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.

removed
decision-requiredA decision of the editorial group (or the Project Editor) is required.
on Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @tkoeppe@jensmaurer

        Issue actions

          Mixed use of \ldots and \dotsc · Issue #2032 · cplusplus/draft