ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: A problem with itemize in columns - once again, now with an MWE
Date: Fri, 17 Jan 2014 16:19:48 +0100	[thread overview]
Message-ID: <69BBF81D-C37E-43BF-99A7-9EE89E3E1C47@gmail.com> (raw)
In-Reply-To: <20140117160520.1353f407@aga-netbook>


Am 17.01.2014 um 16:05 schrieb Marcin Borkowski <mbork@wmi.amu.edu.pl>:

> Hi all,
> 
> once again I have a problem with itemization in columns.  This time, I
> finally managed to isolate the problem and prepare an MWE.  The
> problem does not appear with Latin Modern fonts, but does with Pagella
> (I didn't test other fonts).  It seems that the height of the square
> root sign is too high.  \smash-ing helps, but I'd prefer not to have
> to \smash things manually.  Can anything be done about this?  (Note:
> I'm using the latest beta.  In some earlier versions, \smash-ing
> didn't help, so it's not something of high priority for me now.  But
> if it's something easy to fix, I'd be thankful.)

You can increase the linespacing in the itemize.

\setupbodyfont[pagella]

\startsetups[itemize:before]
  \blank
  \begingroup
  \setupinterlinespace[medium]
\stopsetups

\startsetups[itemize:after]
  \endgroup
  \blank
\stopsetups

\starttext

\startitemize[columns,two,packed][before=\directsetup{itemize:before},after=\directsetup{itemize:after}]
\item abc
\item \math{a^2}
\item xyz
\item \math{\frac{1}{2}}
\item foo
\item bar
\item baz
\item \math{\sqrt{2}}
\item asdf
\item qwerty
\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
___________________________________________________________________________________


  reply	other threads:[~2014-01-17 15:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-17 15:05 Marcin Borkowski
2014-01-17 15:19 ` Wolfgang Schuster [this message]
2014-01-17 16:18   ` Marcin Borkowski

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=69BBF81D-C37E-43BF-99A7-9EE89E3E1C47@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).