Re: [NTG-context] character width

2006-10-25 Thread Steffen Wolfrum
\hphantom ! What a promising word for exactly what I needed! Again and again I am surprised how many (strange) commands there exist. Where does \hphantom come frome? Where is it documented? Thank you for your replies! But it could be even better: As I need, finally, a construct like ...

Re: [NTG-context] character width

2006-10-25 Thread Hans Hagen
Wolfgang Schuster wrote: \def\doMySpace[#1]% {\unskip\hphantom{#1}\ignorespaces} \ifhmode\unskip\fi or use \removeunwantedspaces - Hans Hagen | PRAGMA ADE

[NTG-context] character width

2006-10-24 Thread Steffen Wolfrum
Hi, for fine-adjusting I need to have a variable horizontal space sometimes the width of 999 sometimes of 1, for example. Is there a command that reads the width of a character so it can be used in some kind of horizontal space? Steffen ___

Re: [NTG-context] character width

2006-10-24 Thread Taco Hoekwater
Steffen Wolfrum wrote: Hi, for fine-adjusting I need to have a variable horizontal space sometimes the width of 999 sometimes of 1, for example. Is there a command that reads the width of a character so it can be used in some kind of horizontal space? There is a \fontcharwd primitive

Re: [NTG-context] character width

2006-10-24 Thread Steffen Wolfrum
Yes, that's it. Thank you! But can it also be defined in a more handy \MySpace[999] ? Sorry, I tried some \def ... but didn't succeed. Steffen Am 24.10.2006 um 14:55 schrieb Taco Hoekwater: Steffen Wolfrum wrote: Hi, for fine-adjusting I need to have a variable horizontal space

Re: [NTG-context] character width

2006-10-24 Thread Wolfgang Schuster
On Tue, 24 Oct 2006 18:39:22 +0200 Steffen Wolfrum [EMAIL PROTECTED] wrote: Yes, that's it. Thank you! But can it also be defined in a more handy \MySpace[999] ? Sorry, I tried some \def ... but didn't succeed. Steffen Am 24.10.2006 um 14:55 schrieb Taco Hoekwater:

Re: [NTG-context] character width

2006-10-24 Thread Peter Münster
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 --

Re: [NTG-context] character width

2006-10-24 Thread Wolfgang Schuster
On Tue, 24 Oct 2006 21:31:29 +0200 (CEST) Peter Münster [EMAIL PROTECTED] 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: