From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Alignment on the baseline in a itemize environment with \dfrac{}{}
Date: Sun, 22 Mar 2015 16:27:11 +0100 [thread overview]
Message-ID: <854388AB-B66F-4ACF-935F-E10A46D5175F@gmail.com> (raw)
In-Reply-To: <CACyK-epND5qFsfYSdjEmZx0GyEVgpgWJ2LNSQULurdaOf23HZQ@mail.gmail.com>
> 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
___________________________________________________________________________________
next prev parent reply other threads:[~2015-03-22 15:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-22 12:10 Fabrice Couvreur
2015-03-22 15:27 ` Wolfgang Schuster [this message]
2015-03-23 13:48 ` Fabrice
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=854388AB-B66F-4ACF-935F-E10A46D5175F@gmail.com \
--to=schuster.wolfgang@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).