- Subject: Re: [Jed-users-l] [PATCH] TeX mode: Replace three dots by \ldots instead of {\ldots}
- From: Guenter Milde <milde@xxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 12 May 2011 22:33:02 +0200
On 12.05.11, Carlos R. Mafra wrote:
> In TeX's math mode, using {\ldots} instead of \ldots often leads to
> ugly typographic results.
...
> So change the automatic replacement of ... from {\ldots} to \ldots
> in jed's TeX mode to fix this problem.
Unfortunately, this will lead to gobbled spaces in TeX' text mode:
\documentclass{minimal}
\frenchspacing
\begin{document}
It's not that simple, compare math mode (whitespace is insignificant):
$ (1,2,{\ldots}, N) $
$ (1,2,\ldots{}, N) $
$ (1,2,\ldots,N) $
$ (1,2, \ldots , N) $
and in text mode (whitespace is gobbled after commands):
and so on, and so on \ldots{}
And now for something completely different.
and so on, and so on \ldots
And now
and so on, and so on \ldots{}And now
and so on, and so on\ldots{}And now
and so on, and so on \ldots{} And now
\end{document}
so we might need to distinguish text and math mode (unless you prefer
the "dense" variant).
Günter
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l
[2011 date index]
[2011 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]