[NTG-context] textrules

Aditya Mahajan adityam at umich.edu
Fri Oct 20 01:32:34 CEST 2006

On Thu, 19 Oct 2006, Thomas A. Schmitz wrote:

> On Oct 19, 2006, at 5:04 PM, Peter Rolf wrote:
>> Hi Thomas,
>> add
>> \showskips
>> to your source (better a small one). I just tested a bit (between my
>> current mp examples) and 'inbetween={\blank[2*big]}' and
>> 'after={\blank[2*big]}' should do the job. If you dare, ask Hans about
>> the meaning of 'before' ;)
>> Greetings, Peter
> Thanks Peter,
> that was very helpful. I still had to tweak a bit, but by combining
> "inbetween" and "after," I got an acceptable result. So the mystery
> thickens: what is before? :-)

\textrule[top] does

----------- (rule)

\textrule[bottom] does


\textrule with no argumet is equal to \textrule[bottom]

There is a \domiddletextrule that does


but this is not interfaced with \textrule. It only becomes active 
inside a \starttextrule.

\input knuth
\input knuth

To use this, you can define your own rule as



And midtextrule will use inbetween on both side.

Hans, does it make sense to add this to core-rul?

      [  \v!top=>\let\next\dotoptextrule,
         middle=>\let\next\domiddletextrule, %<------- Added


More information about the ntg-context mailing list