5 Aprile 2011 alle 16:18
#57909
::
come faccio a trovare ht+dp?
Scusami ma non sono molto pratico di context……
\htdp<
`\starttext
\newbox\MyBox
\setbox\MyBox=\vbox{\hsize=3em foo\crlf goo}
\the\htdp\MyBox\crlf
ht+dp=\the\dimexpr \ht\MyBox +\dp\MyBox\relax\crlf
ht=\the\dimexpr \ht\MyBox +0\dp\MyBox\relax\crlf
dp=\the\dimexpr 0\ht\MyBox +\dp\MyBox\relax\crlf
\ruledvbox{\unvbox\MyBox}
\stoptext
`