Some questions regarding math typesetting
Dear list, while doing some math typesetting, I have found the following features not working in LMTX: 1. Nondisplaystyle operators are simply not shown (try \sum or \lim in text or scriptstyle). This works in MkIV (and iirc in LMTX versions from before november). 2. \underbrace{x}_{y} stopped working. It produces an underbrace but the subscript is not centered below the brace. It will show up as right subscript. This works in MkIV. 3. \startformulas does not allow numbering formulas because the number will run into the next column. I have posted this at https://tex.stackexchange.com/questions/518262/contextnumberformulasside... and Henri Menke tested that it broke in 2017. Aditya Mahajan mentioned that it is a bug. For the upper two cases: Is anything wrong with my LMTX installation or did I miss some upgrade instructions for math in LMTX? Many thanks for an answer.
Hi, Regarding the first two issues your are reporting on, your file typesets correctly with my installation of LMTX (version 2019.12.04 21:35). I get the three different sizes of \sum as expected, and the underbrace has $n$ under the middle of the brace. The third issue is present, as you are saying in your message. But I don't know what you are trying to achieve with two \startalign...\stopalign in the same formula. Best regards: OK
On 6 Dec 2019, at 09:24, TeXnician
wrote: Dear list,
while doing some math typesetting, I have found the following features not working in LMTX:
1. Nondisplaystyle operators are simply not shown (try \sum or \lim in text or scriptstyle). This works in MkIV (and iirc in LMTX versions from before november). 2. \underbrace{x}_{y} stopped working. It produces an underbrace but the subscript is not centered below the brace. It will show up as right subscript. This works in MkIV. 3. \startformulas does not allow numbering formulas because the number will run into the next column. I have posted this at
https://tex.stackexchange.com/questions/518262/contextnumberformulasside... and Henri Menke tested that it broke in 2017. Aditya Mahajan mentioned that it is a bug.
For the upper two cases: Is anything wrong with my LMTX installation or did I miss some upgrade instructions for math in LMTX?
Many thanks for an answer.
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntgcontext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntgcontext webpage : http://www.pragmaade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/contextmirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
On 12/6/2019 9:24 AM, TeXnician wrote:
Dear list,
while doing some math typesetting, I have found the following features not working in LMTX:
1. Nondisplaystyle operators are simply not shown (try \sum or \lim in text or scriptstyle). This works in MkIV (and iirc in LMTX versions from before november).
fixed in next beta (relates to some new stuff in the engine related to some border case but often happening math spacing)
2. \underbrace{x}_{y} stopped working. It produces an underbrace but the subscript is not centered below the brace. It will show up as right subscript. This works in MkIV.
idem
3. \startformulas does not allow numbering formulas because the number will run into the next column. I have posted this at
https://tex.stackexchange.com/questions/518262/contextnumberformulasside... and Henri Menke tested that it broke in 2017. Aditya Mahajan mentioned that it is a bug.
This one is for Aditya who knows more about these math alignments (needs) than I do. Aditya: when we comment the \aligntab it's ok but i'm hesitant to do that patch ... so do you see bad consequences? \def\math_alignment_NR_indeed[#1][#2]% {%\aligntab % HERE \dostoptagged % finish cell \strc_formulas_place_number_nested{#1}{#2}% \math_number_right_of_eqalign \global\settrue\c_math_eqalign_first \crcr \dostoptagged} % finish row
For the upper two cases: Is anything wrong with my LMTX installation or did I miss some upgrade instructions for math in LMTX? will be fixed
Hans  Hans Hagen  PRAGMA ADE Ridderstraat 27  8061 GH Hasselt  The Netherlands tel: 038 477 53 69  www.pragmaade.nl  www.pragmapod.nl 
Bump On 06.12.19 14:59, Hans Hagen wrote:
On 12/6/2019 9:24 AM, TeXnician wrote:
Dear list,
while doing some math typesetting, I have found the following features not working in LMTX:
3. \startformulas does not allow numbering formulas because the number will run into the next column. I have posted this at
https://tex.stackexchange.com/questions/518262/contextnumberformulasside...
and Henri Menke tested that it broke in 2017. Aditya Mahajan mentioned that it is a bug.
This one is for Aditya who knows more about these math alignments (needs) than I do.
Aditya: when we comment the \aligntab it's ok but i'm hesitant to do that patch ... so do you see bad consequences?
\def\math_alignment_NR_indeed[#1][#2]% {%\aligntab % HERE \dostoptagged % finish cell \strc_formulas_place_number_nested{#1}{#2}% \math_number_right_of_eqalign \global\settrue\c_math_eqalign_first \crcr \dostoptagged} % finish row
Hans
participants (3)

Hans Hagen

Otared Kavian

TeXnician