From: Steffen Wolfrum <context@st.estfiles.de>
Subject: Re: character width
Date: Wed, 25 Oct 2006 11:02:15 +0200 [thread overview]
Message-ID: <5563F339-1A68-487E-83B3-3AC43EB8076B@st.estfiles.de> (raw)
In-Reply-To: <Pine.LNX.4.58.0610242129530.12101@gaston.pm>
" \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ü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
>
> --
> http://pmrb.free.fr/contact/
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
next prev parent reply other threads:[~2006-10-25 9:02 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
2006-10-25 20:38 ` Hans Hagen
2006-10-25 9:02 ` Steffen Wolfrum [this message]
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=5563F339-1A68-487E-83B3-3AC43EB8076B@st.estfiles.de \
--to=context@st.estfiles.de \
--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).