ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ryo Furue <furue@hawaii.edu>
To: ntg-context@ntg.nl
Subject: Re: narrow space in "\ldots."
Date: Mon, 11 May 2009 11:14:58 -1000 (HST)	[thread overview]
Message-ID: <20090511.111458.106822172.furue@hawaii.edu> (raw)
In-Reply-To: <55E016D5-16CB-4521-A8E9-B5CB410998DA@gmail.com>

Wolfgang,

| \unexpanded\def\fourdots{{\def\periodswidth{.3em}\periods[4]}}
| 
| \starttext
| Hello\fourdots\ World\fourdots
| 
| Hello\fourdots\ World.
| \stoptext

Thanks for the macro!  It's almost perfect. . . .  I thought I was
imagining things, but the distance between the last letter of the word
and the first dot actually seems to be dependent on the parameter
"\periodswidth{.3em}".  See the attached example.

I changed it to "\periodswidth{.4em}" and then the distance is
larger with \fourdots than with \ldots  .  The distance \ldots
produces is the same as a raw period produces.  If possible,
I'd like the distance to be always the same as the one
a raw period produces.

By the way, I'm wondering where one should store personal macro files.
With LaTeX (texlive-latex), ~/texmf/tex/latex/ seems to be the default
place.  Is ~/texmf/tex/context/ a recommended place?

Ryo
-------------
%
% Use a large font to make the difference clearer.
%
\unexpanded\def\fourdots{{\def\periodswidth{.4em}\periods[4]}}
\starttext
Hello. World.

Hello\ldots.  World.

Hello\fourdots\ World.

Hello. World.
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2009-05-11 21:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-08 19:03 Ryo Furue
2009-05-08 19:56 ` Hans Hagen
2009-05-08 20:22   ` Ryo Furue
2009-05-09  8:45     ` Wolfgang Schuster
2009-05-11 21:14       ` Ryo Furue [this message]
2009-05-11 21:18         ` Hans Hagen
2009-05-11 22:10         ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090511.111458.106822172.furue@hawaii.edu \
    --to=furue@hawaii.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).