From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
Subject: Re: character width
Date: Tue, 24 Oct 2006 22:01:23 +0200 [thread overview]
Message-ID: <20061024220123.bcfe17b3.schuster.wolfgang@googlemail.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0610242129530.12101@gaston.pm>
On Tue, 24 Oct 2006 21:31:29 +0200 (CEST)
Peter Münster <pmlists@free.fr> wrote:
> On Tue, 24 Oct 2006, Wolfgang Schuster wrote:
>
> > \def\MySpace
> > {\dosingleempty\doMySpace}
> >
> > \def\doMySpace[#1]%
> > {\setbox\scratchbox=\hbox{#1}%
> > \unskip\hskip \the\wd \scratchbox}
>
> Or perhaps just:
>
> \starttext
> Text\hphantom{999}Text
> \stoptext
>
> ?
>
> Cheers, Peter
>
Hi Peter,
right this also works but we wont care about spaces in the souce.
Look:
\starttext
Text\hphantom{999}Text
Text\hphantom{999} Text
Text \hphantom{999} Text
\stoptext
Antoher solution for the spacemacro:
\def\MySpace
{\dosingleempty\doMySpace}
\def\doMySpace[#1]%
{\unskip\hphantom{#1}\ignorespaces}
\starttext
Text\hphantom{999}Text
Text\hphantom{999} Text
Text \hphantom{999} Text
\stoptext
and we have always the same gap.
Wolfgang
next prev parent reply other threads:[~2006-10-24 20:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-24 11:31 Steffen Wolfrum
2006-10-24 12:55 ` Taco Hoekwater
2006-10-24 16:39 ` Steffen Wolfrum
2006-10-24 18:45 ` Wolfgang Schuster
2006-10-24 19:31 ` Peter Münster
2006-10-24 20:01 ` Wolfgang Schuster [this message]
2006-10-25 20:38 ` Hans Hagen
2006-10-25 9:02 ` Steffen Wolfrum
2006-10-30 18:56 ` 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=20061024220123.bcfe17b3.schuster.wolfgang@googlemail.com \
--to=schuster.wolfgang@googlemail.com \
--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).