Hi, is it possible to align the inner itemgroup vertically with the outer enumeration, even if there is a "big" math expression? See the example below (where I have made the enumeration serried, just to see the _vertical_ misalignment better)? I think I miss something simple, but looking in setup-en.pdf I cannot find the necessary key. /Mikael %%% \defineenumeration[question][ text=, alternative=serried, ] \defineitemgroup[abc] \setupitemgroup[abc][each][a,horizontal,two,intro,nowhite][ stopper=, right=), ] \starttext This looks OK: \startquestion \blank[overlay] \startabc \startitem foo \stopitem \startitem bar \stopitem \stopabc \stopquestion Here, the 2 and a) are not vertically aligned: \startquestion \blank[overlay] \startabc \startitem $ \int_a^b f(x)\,dx$ \stopitem \startitem test \stopitem \stopabc \stopquestion \stoptext %%%
Hi,
is it possible to align the inner itemgroup vertically with the outer enumeration, even if there is a "big" math expression? See the example below (where I have made the enumeration serried, just to see the _vertical_ misalignment better)? I think I miss something simple, but looking in setup-en.pdf I cannot find the necessary key.
On 6/3/2017 6:11 PM, Mikael P. Sundqvist wrote: this is rather nasty code but i'll see what i can do ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On Sun, Jun 4, 2017 at 3:23 PM, Hans Hagen
On 6/3/2017 6:11 PM, Mikael P. Sundqvist wrote:
Hi,
is it possible to align the inner itemgroup vertically with the outer enumeration, even if there is a "big" math expression? See the example below (where I have made the enumeration serried, just to see the _vertical_ misalignment better)? I think I miss something simple, but looking in setup-en.pdf I cannot find the necessary key.
this is rather nasty code but i'll see what i can do
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
Thank you! Problem solved in 2017.06.04 16:55. It works in all instances in my document (with square roots, fractions, integrals, ...). /Mikael
participants (2)
-
Hans Hagen
-
Mikael P. Sundqvist