[NTG-context] Re: Nested itemize

2023-08-22 Thread fv leung
It seems that displaystyle fractions insert extra vertical space before the main item. With textstyle fractions, the code works fine. \blank[back,overlay] can get rid of the gap above the first row, but not the space inserted by \dfrac. \defineitemgroup[alex] \setupitemgroup [alex] [each]

[NTG-context] Re: Nested itemize

2023-08-22 Thread Alexandre Christe
Hi Mikael, That looks very attractive. However, with the following code, I end up with a large gap above the first row. \defineitemgroup[alex] \setupitemgroup  [alex]  [each]  [a,two]  [  margin=2cm,  before=\blank[overlay,-depth],  stopper=)  ] \showboxes \autofences \starttext

[NTG-context] Re: Nested itemize

2023-08-22 Thread Mikael Sundqvist
Hi, On Tue, Aug 22, 2023 at 7:16 AM Alexandre Christe wrote: > > It’s true that \vtop{…} does the job for a single line of items, but it > doesn’t in the case there’re multiple (\vtop{}) aligns with the bottom. > > Here’s a modified MWE > > \startitemize[n][style=\bf] > \item

[NTG-context] Re: Nested itemize

2023-08-21 Thread Alexandre Christe
It’s true that \vtop{…} does the job for a single line of items, but it doesn’t in the case there’re multiple (\vtop{}) aligns with the bottom. Here’s a modified MWE \startitemize[n][style=\bf]   \item \godown[-\lineheight] \startitemize

[NTG-context] Re: Nested itemize

2023-08-21 Thread fv leung
I'd do it this way: \starttext \startitemize[n][style=\bf] \item\vtop{% \startitemize[a,horizontal,four][stopper=\)] \startitem $6(x - \dfrac{5}{12})^2 - \dfrac{1}{24}$ \stopitem \startitem $-3(x - \dfrac{1}{3})^2 + \dfrac{1}{3}$ \stopitem \startitem $7(x +

[NTG-context] Re: Nested itemize

2023-08-21 Thread Alexandre Christe
Dear ConTeXt users, Time goes by but I haven't yet found a nice solution to this issue. When having mathematics, I'd not like to adjust by hand the factor of \linewidth for the \godown command. Here's a MWE \starttext \startitemize[n][style=\bf] \item \godown[-\lineheight] \startitemize