ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Alignment on the baseline in a itemize environment with \dfrac{}{}
@ 2015-03-22 12:10 Fabrice Couvreur
  2015-03-22 15:27 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Couvreur @ 2015-03-22 12:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 397 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1021 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Alignment on the baseline in a itemize environment with \dfrac{}{}
  2015-03-22 12:10 Alignment on the baseline in a itemize environment with \dfrac{}{} Fabrice Couvreur
@ 2015-03-22 15:27 ` Wolfgang Schuster
  2015-03-23 13:48   ` Fabrice
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2015-03-22 15:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 22.03.2015 um 13:10 schrieb Fabrice Couvreur <fabrice1.couvreur@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Alignment on the baseline in a itemize environment with \dfrac{}{}
  2015-03-22 15:27 ` Wolfgang Schuster
@ 2015-03-23 13:48   ` Fabrice
  0 siblings, 0 replies; 3+ messages in thread
From: Fabrice @ 2015-03-23 13:48 UTC (permalink / raw)
  To: ntg-context


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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-23 13:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-22 12:10 Alignment on the baseline in a itemize environment with \dfrac{}{} Fabrice Couvreur
2015-03-22 15:27 ` Wolfgang Schuster
2015-03-23 13:48   ` Fabrice

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).