Alignment on the baseline in a itemize environment with \dfrac{}{}
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
Am 22.03.2015 um 13:10 schrieb Fabrice Couvreur
: 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
Hi Wolfgang, Thank you for these three solutions. One thing I'm missing is the role of grid I did not know. Fabrice
participants (3)
-
Fabrice
-
Fabrice Couvreur
-
Wolfgang Schuster