Am 17.04.10 16:59, schrieb Wolfgang Schuster:
Am 17.04.10 11:35, schrieb Wolfgang Werners-Lucchini:
I have to typeset a division …
\setuplines[style=type] \startlines ... \stoplines \stoptext
\definelines[division][style=type,space=on] You don't even need a typewriter font for this:
\definefontfeature[tnum][tnum=yes] \setupbodyfont[pagella] \define[1]\divisionrule {\dontleavehmode\blap {\vskip-\strutht \blackrule[width=\the\dimexpr.5em*#1\relax,height=2\linewidth]}% \vskip-\lineheight} \definelines[division][style=\addff{tnum},space=on] \starttext \startdivision \formula{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