Understood. Sorry, I wasn't meant to be rude. In such cases, how should I proceed? Is there a better way? Thank you in advance. Cordially, Jairo :) El lun, 7 de dic. de 2020 a la(s) 03:58, Hans Hagen (j.hagen@xs4all.nl) escribió:
On 12/7/2020 6:15 AM, Jairo A. del Rio wrote:
Hi. Thanks to Hans for the quick fixes. However, some examples are still misbehaving. See the following:
\setupbodyfont[70pt] \starttext \startTEXpage \framed{$a >> n = \left\lfloor\frac{a}{2^n}\right\rfloor$} \stopTEXpage \stoptext
It works in MkIV, but it has the right margin cut with LMTX. Also, both MkIV and LMTX give cropped formulas when \framed is absent in the example above. Thank you in advance for any feedback. be careful with terms like 'bug' or 'misbehaving' ... in this case it's what one expects
(1) this mechanism creates / operates in a vbox (using a hbox might have been nicer in retrospect but then you would have more issues unless configured)
(2) so, we need some default hsize to start with and this is the text width by defalut unless you set one with the 'width' argument or when you pass [align=]
(3) cropping takes place after all has been typeset but happens within the width, again, this could be made more tolerant but then other cases will fail
with mechanisms like there is always a catch: handle this well and something else will fail (when it works as expected it's seen as a feature and otherwise it's considered a bug)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------