From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4271 Path: main.gmane.org!not-for-mail From: Uwe Koloska Newsgroups: gmane.comp.tex.context Subject: robust \dots command Date: Mon, 5 Mar 2001 11:52:21 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <01030511522101.00898@bilbo> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035394951 24308 80.91.224.250 (23 Oct 2002 17:42:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:42:31 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:4271 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4271 Hello, I suggest to change the definition of \dots to match the one from latex. With the current implementation \dots uses the math \ldots so it is not set in the current font. Latex makes a distinction between \textellipsis and \mathellipsis: \DeclareRobustCommand{\dots}{% \ifmmode\mathellipsis\else\textellipsis\fi} \DeclareTextCommandDefault{\textellipsis}{% .\kern\fontdimen3\font .\kern\fontdimen3\font .\kern\fontdimen3\font} \def\mathellipsis{\mathinner{\ldotp\ldotp\ldotp}}% The advantage of this definition is, that we can switch easyly to a real ellipsis if the current font has one. Uwe -- mailto:koloska@rcs.urz.tu-dresden.de http://rcswww.urz.tu-dresden.de/~koloska/ -- -- right now the web page is in german only but this will change as time goes by ;-)