Elipses

Jürgen Spitzmüller jspitzm at gmail.com
Fri Mar 17 06:49:33 UTC 2023


Am Mittwoch, dem 15.03.2023 um 18:59 +0100 schrieb Jean-Marc
Lasgouttes:
> Notes that the space after ldots is not a very good idea.

I think it is there to get proper spacing if another punctuation mark
follows (e.g., ...?).

Since I don't need that case often, I have, in most of my private
classes, this:

\let\olddots\ldots
\renewcommand*{\ldots}{\olddots\unkern}

A more clever solution would probably be to load the ellipsis package.
This checks for the next token and only adds that extra space if it is
a punctuation mark.

For the most common ellipses (in quotation), csquotes' \textelp is the
better choice anyway, as it includes configurable parentheses/brackets
and optional additions (\textelp{foo} => [...][foo]).

-- 
Jürgen


More information about the lyx-devel mailing list