Re: [NTG-context] table: vertical distance

2010-04-17 Thread Wolfgang Schuster

Am 17.04.10 11:35, schrieb Wolfgang Werners-Lucchini:

Hallo,

I have to typeset a division and have two diverent solutions but they
both have problems.

\setuplines[style=type]
\startlines
110011:11=10001
11
...
~0
\stoplines
\stoptext
   

\setuplines[style=type,space=on]
\startlines
\formula{\tt 110011:11=10001}
11
--
 00
 00
 --
  00
  00
  --
   01
   00
   --
11
11
--
 0
\stoplines

You can also look at the xlop package 
http://ctan.org/tex-archive/macros/generic/xlop/


Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table: vertical distance

2010-04-17 Thread Wolfgang Werners-Lucchini
 \define[1]\divisionrule
 {\dontleavehmode\blap
 {\vskip-\strutht
 \blackrule[width=\the\dimexpr.5em*#1\relax,height=2\linewidth]}%
 \vskip-\lineheight}

Ahh! Yes, this helps a lot.
Thank you very much!

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___