Text Formatting\ldots vs \dots

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Robert S
Posts: 1
Joined: Tue Oct 02, 2012 12:15 am

\ldots vs \dots

Post by Robert S »

Hey everyone,

I've always used \ldots, but when I compile a document with \ldots\dots they look exactly the same! They both seem to work in mathmode, so what's the difference between the two? Is one an older version of the other, or is there something else going on here?

Thanks in advance :)

-Robert
Last edited by cgnieder on Tue Oct 02, 2012 1:03 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

\ldots vs \dots

Post by cgnieder »

Hi Robert,

welcome to the LaTeX community!

The two commands actually are the same. From latex.ltx (the LaTeX kernel):

Code: Select all

\DeclareRobustCommand{\dots}{%
   \ifmmode\mathellipsis\else\textellipsis\fi}
\let\ldots\dots
Regards
site moderator & package author
Post Reply