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

2015-03-23 Thread Fabrice


Hi Wolfgang,
Thank you for these three solutions. One thing I'm missing is the role 
of grid  I did not know.

Fabrice
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

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

2015-03-22 Thread Wolfgang Schuster

 Am 22.03.2015 um 13:10 schrieb Fabrice Couvreur fabrice1.couvr...@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
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

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

2015-03-22 Thread 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
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___