From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31543 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: character width Date: Wed, 25 Oct 2006 11:02:15 +0200 Message-ID: <5563F339-1A68-487E-83B3-3AC43EB8076B@st.estfiles.de> References: <2C25F9DC-49B1-4E1F-9892-B54C6E5626CC@st.estfiles.de> <453E0D2D.9030205@elvenkind.com> <85FDEEB1-451F-4435-87DE-F3E9CAF2E028@st.estfiles.de> <20061024204557.0a06517b.schuster.wolfgang@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1161767210 22394 80.91.229.2 (25 Oct 2006 09:06:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 Oct 2006 09:06:50 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 25 11:06:47 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gceie-0001wr-Qj for gctc-ntg-context-518@m.gmane.org; Wed, 25 Oct 2006 11:06:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 854DB1FF72; Wed, 25 Oct 2006 11:06:40 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21071-06-3; Wed, 25 Oct 2006 11:06:34 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2CD031FF73; Wed, 25 Oct 2006 11:06:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B575B1FF76 for ; Wed, 25 Oct 2006 11:06:32 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20939-03-2 for ; Wed, 25 Oct 2006 11:06:29 +0200 (CEST) Original-Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.18.16]) by ronja.ntg.nl (Postfix) with SMTP id 56AAF1FF71 for ; Wed, 25 Oct 2006 11:06:29 +0200 (CEST) Original-Received: (qmail 5093 invoked from network); 25 Oct 2006 09:02:20 -0000 Original-Received: from unknown (HELO [89.50.68.148]) (698580@[89.50.68.148]) (envelope-sender ) by smtprelay04.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 25 Oct 2006 09:02:20 -0000 In-Reply-To: Original-To: ntg-context@ntg.nl X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:31543 Archived-At: " \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 ... \writetolist[Test]{}{{\hphantom{999}}{\hfill}\bf{Nicely centers TOC = entry}{\hfill}\it 999} ... I would like to make sure that both manually entered numbers are = the same (I don't want to risk a typo!). So I'd like to use something like \def\FakePageNumber{999}, using = \FakePageNumber at the beginning and the end of the above line. The following worked ... \expanded{\writetolist[Test]{}{\hfill {\bf Nicely centers TOC entry} = \hfill \FakePageNumber}} ... but not in combination with \MySpace or \hphantom anymore: \expanded{\writetolist[Test]{}{???\hfill {\bf Nicely centers TOC = entry} \hfill \FakePageNumber}} Could someone please help me over this "expanded/argument/ = whateveristheproblem" gap? Thank you very much, Steffen Am 24.10.2006 um 21:31 schrieb Peter M=FCnster: > On Tue, 24 Oct 2006, Wolfgang Schuster wrote: > >> \def\MySpace >> {\dosingleempty\doMySpace} >> >> \def\doMySpace[#1]% >> {\setbox\scratchbox=3D\hbox{#1}% >> \unskip\hskip \the\wd \scratchbox} > > Or perhaps just: > > \starttext > Text\hphantom{999}Text > \stoptext > > ? > > Cheers, Peter > > -- = > http://pmrb.free.fr/contact/ > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context >