17 Apr
2010
17 Apr
'10
4:59 p.m.
Am 17.04.10 11:35, schrieb Wolfgang Werners-Lucchini:
I have to typeset a division …
\setuplines[style=type] \startlines 110011:11=10001 11 -- ~00 ~00 ~-- ~~00 ~~00 ~~-- ~~~01 ~~~00 ~~~-- ~~~~11 ~~~~11 ~~~~-- ~~~~~0 \stoplines \stoptext
\define[1]\divisionrule {\dontleavehmode\blap {\vskip-\strutht \blackrule[width=\the\dimexpr.5em*#1\relax,height=2\linewidth]}% \vskip-\lineheight} \definelines[division][style=type,space=on] \starttext \startdivision \formula{\tt 110011 ÷ 11 = 10001} 11 \divisionrule{2} 00 00 \divisionrule{2} 00 00 \divisionrule{2} 01 00 \divisionrule{2} 11 11 \divisionrule{2} 0 \stopdivision \stoptext Wolfgang