ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Daniel Pittman <daniel@rimspace.net>
Subject: Re: How to place an item between table rows, centered on the page.
Date: Fri, 08 Mar 2002 21:33:49 +1100	[thread overview]
Message-ID: <8766472vsi.fsf@inanna.rimspace.net> (raw)
In-Reply-To: <5.1.0.14.1.20020308002516.03b8efc8@server-1> (Hans Hagen's message of "Fri, 08 Mar 2002 00:27:10 +0100")

On Fri, 08 Mar 2002, Hans Hagen wrote:
> At 06:00 PM 3/7/2002 +1100, Daniel Pittman wrote:
> 
>>So, to resolve both of these I did a bit of playing around with TeX
>>primitives and came up with the following code:

[...]

>>       \setbox\StepDividerBox=\hbox to \hsize{%
>>         \hfil \blackrule[width=.3\hsize,height=.5pt,depth=.3pt] \hfil
>                                                                  ^ no
>                                                                  space
>                                                                  here

I am curious -- why should I avoid the space between the \blackrule and
the \hfil?  As far as I could tell it worked just fine with the space
and, as far as I know, TeX should be in the space skipping state when it
completes the execution of the \blackrule...

So, what have I missed? :)

[...]

> \def\StepDivider

[...]

> will probbaly also do,

Nope. That also had the 'squeeze the text to nothing' effect. You can
grab a copy of the PDF file from
<https://lists.rimspace.net/context-sample.pdf>

        Daniel

-- 
Life is demented enough as it is.
Why I haven't gone crazy, I don't know.
But sometimes I wish I were. 
        -- Jason Q. 


  reply	other threads:[~2002-03-08 10:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-06  8:37 Daniel Pittman
2002-03-06  9:11 ` Hans Hagen
2002-03-06  9:57   ` Daniel Pittman
2002-03-06 10:26   ` Re[2]: " Giuseppe Bilotta
2002-03-06 11:05   ` Daniel Pittman
2002-03-06 19:55     ` Hartmut Henkel
2002-03-08 20:48       ` Michael Hallgren
2002-03-07  7:00   ` Daniel Pittman
2002-03-07 23:27     ` Hans Hagen
2002-03-08 10:33       ` Daniel Pittman [this message]
2002-03-08 11:23         ` Hans Hagen
2002-03-08 11:27         ` Taco Hoekwater

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=8766472vsi.fsf@inanna.rimspace.net \
    --to=daniel@rimspace.net \
    /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).