jed-users mailing list

[2011 Date Index] [2011 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [Jed-users-l] [PATCH] TeX mode: Replace three dots by \ldots instead of {\ldots}


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]