From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7162 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: How to place an item between table rows, centered on the page. Date: Fri, 08 Mar 2002 00:27:10 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020308002516.03b8efc8@server-1> References: <5.1.0.14.1.20020306101103.034df6d0@server-1> <5.1.0.14.1.20020306101103.034df6d0@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035397645 16999 80.91.224.250 (23 Oct 2002 18:27:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:27:25 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Daniel Pittman In-Reply-To: <874rjs9822.fsf@inanna.rimspace.net> Xref: main.gmane.org gmane.comp.tex.context:7162 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7162 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: > >\newbox\StepDividerBox >\def\StepDivider{ % called from the macro that writes > \TABLEnoalign{ % table rows > \nointerlineskip > \vskip 4pt > { > \setbox\StepDividerBox=\hbox to \hsize{% > \hfil \blackrule[width=.3\hsize,height=.5pt,depth=.3pt] \hfil ^ no space here > } > \wd\StepDividerBox=0pt > \box\StepDividerBox > } > \vskip 6pt > } >} \def\StepDivider {\TABLEnoalign {\nointerlineskip \vskip .4\lineheight \hbox to \hsize {\hfil \blackrule[width=.3\hsize,height=.5pt,depth=.3pt]% \hfil}% \vskip .6\lineheight}} will probbaly also do, Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- fall-back web server: www.pragma-ade.nl -------------------------------------------------------------------------