Hi, Sanjoy,

On Sun, 13 Sept 2026 at 14:48, Sanjoy Mahajan <[email protected]> wrote:
>
> Dear List,
>
> In a multicolumn enumeration, fractions seem to confuse the vertical
> alignment.  Here's a minimal example illustrating the issue:
>
> \starttext
>
> Test:
> \startitemize[a,columns,five]
> \item $\dfrac{1}{3}$   \item $\dfrac{1}{2}$
> \item $\dfrac{2}{3}$   \item $\dfrac{3}{4}$
> \item NOTA
> \stopitemize
>
> \stoptext
>
> The "e. NOTA" item is (incorrectly) placed about half a line higher than
> the other four items (all fractions).  The problem also happens with two
> columns ("two" option), just using one fraction and then the NOTA text.
>
> Testing history:
>
> The vertical alignment worked as expected with ConTeXt 2024.11.01 (I
> think, but trying the 2024.06.21 version on ConTeXt-on-web also fails).
> Or at least, I didn't notice this problem using that version.  However,
> I never tested a minimal example until now.
>
> It fails with ConTeXt 2026.09.10 and with both ConTeXt-on-web versions
> (2024.06.21 and 2026.07.29).
>
> I've tried replacing "\item XYZ" with "\startitem XYZ \stopitem" (based
> on one of the Wiki pages), but the results were unchanged.
>
> Hopefully I am just doing something silly!

I don't think you are, but Hans added the following possibility:

\defineitemgroup
  [abc]

\setupitemgroup
  [abc]
  [each]
  [a,five]

\starttext

\startabctable
\startitem $\dfrac{1}{3}$ \stopitem
\startitem $\dfrac{1}{2}$ \stopitem
\startitem $\dfrac{2}{3}$ \stopitem
\startitem $\dfrac{3}{4}$ \stopitem
\startitem NOTA           \stopitem
\stopabctable

\stoptext

Maybe that works OK for you?

/Mikael
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to