[NTG-context] Alignment on the baseline in a itemize environment with \dfrac{}{}

Wolfgang Schuster schuster.wolfgang at gmail.com
Sun Mar 22 16:27:11 CET 2015


> Am 22.03.2015 um 13:10 schrieb Fabrice Couvreur <fabrice1.couvreur at gmail.com>:
> 
> The alignment of the second item on the baseline is not correct if I use the command \dfrac{}{}.
> How to solve this problem without using the command \framed ?
> Best regards,
> Fabrice
> 
> \starttext
> \startitemize[columns,A,joinedup,three][stopper={)},style=bold]
> \item  $f^{\prime}(x) = \dfrac{- 1}{(x + 1)^2}$
> \item  $f^{\prime}(x) = 1$
> \item  $f^{\prime}(x) = \dfrac{1}{x + 1}$
> \stopitemize
> \stoptext

1. You change your formulas.

\starttext
\startitemize[columns,A,joinedup,three][stopper={)},style=bold,grid=line]
\item  $f^{\prime}(x) = - 1 / (x + 1)^2$
\item  $f^{\prime}(x) = 1$
\item  $f^{\prime}(x) = 1 / (x + 1)$
\stopitemize
\stoptext


2. You enable grid snapping for the columns in the itemize environment with the grid key.

\starttext
\startitemize[columns,A,joinedup,three][stopper={)},style=bold,grid=line]
\item  $f^{\prime}(x) = \dfrac{- 1}{(x + 1)^2}$
\item  $f^{\prime}(x) = 1$
\item  $f^{\prime}(x) = \dfrac{1}{x + 1}$
\stopitemize
\stoptext


3. You increase the line height for the columns in the itemize environment.

\setupmixedcolumns[itemgroupcolumns][before={\setupinterlinespace[big]}]

\starttext
\startitemize[columns,A,joinedup,three][stopper={)},style=bold]
\item  $f^{\prime}(x) = \dfrac{- 1}{(x + 1)^2}$
\item  $f^{\prime}(x) = 1$
\item  $f^{\prime}(x) = \dfrac{1}{x + 1}$
\stopitemize
\stoptext

Wolfgang


More information about the ntg-context mailing list