From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: ntg-context@ntg.nl
Subject: Re: \startitemize[columns] once again...
Date: Fri, 16 Nov 2012 21:00:15 +0100 [thread overview]
Message-ID: <20121116210015.108106e6@aga-netbook> (raw)
In-Reply-To: <20121114103848.GA5659@tartaros>
Dnia 2012-11-14, o godz. 11:38:48
Philipp Gesang <Philipp.Gesang@alumni.uni-heidelberg.de> napisał(a):
> ···<date: 2012-11-14, Wednesday>···<from: Marcin Borkowski>···
>
> > Dnia 2012-11-10, o godz. 03:23:11
> > Marcin Borkowski <mbork@wmi.amu.edu.pl> napisał(a):
> >
> > > This minimal example behaves in a strange way:
> > >
> > > \starttext
> > > Some text
> > > \startitemize[columns,two,joinedup]
> > > \item abc% $\frac{x^2-x+3}{x^2+x-3}$;
> > > \item xyz% $\frac{x^5-3}{x^3+x-2}$.
> > > \stopitemize
> > > \stoptext
> > >
> > > If we remove the percentage signs in the items, an additional
> > > vertical skip appears. Is it a feature or a bug?
> >
> > Hi, could anybody look into it? I tried also \smash-ing the
> > formulae - with no luck.
>
> Hi Marcin, appears like the vertical spacing is extended when
> content of the item exceeds the line height. The behavior is not
> restricted to math mode, though I can’t say if there is an
> official way to prevent or customize it. If you are desperate to
> get around it, maybe put the content in a box of fixed height.
>
> ······ demo ·····················································
> \defineframed[crampy][height=\ht\strutbox,frame=off]
> \starttext
> before
> \thinrule
> \startitemize[columns,two,joinedup]
> \item abc \mathematics{\frac{x^2-x+3}{x^2+x-3}};
> \item xyz \mathematics{\frac{x^5-3}{x^3+x-2}}.
> \stopitemize
> \thinrule
> after
>
> before
> \thinrule
> \startitemize[columns,two,joinedup]
> \item abc \crampy[frame=on]{\mathematics{\frac{x^2-x+3}{x^2+x-3}}};
> \item xyz \crampy[frame=on]{\mathematics{\frac{x^5-3}{x^3+x-2}}}.
> \stopitemize
> \thinrule
> after
>
> before
> \thinrule
> \startitemize[columns,two,joinedup]
> \item abc \crampy{\mathematics{\frac{x^2-x+3}{x^2+x-3}}};
> \item xyz \crampy{\mathematics{\frac{x^5-3}{x^3+x-2}}}.
> \stopitemize
> \thinrule
> after
> \stoptext
> ·································································
>
> Hth, Philipp
Yes it does, thanks! (It helps in some other strange cases, too.)
What is especially interesting, is that \strut\smash{...} didn't help.
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___________________________________________________________________________________
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:[~2012-11-16 20:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-10 2:23 Marcin Borkowski
2012-11-14 10:16 ` Marcin Borkowski
2012-11-14 10:38 ` Philipp Gesang
2012-11-14 10:40 ` Herbert Voss
2012-11-16 20:00 ` Marcin Borkowski [this message]
2012-11-17 14:08 ` Otared Kavian
2012-11-22 18:22 ` Hans Hagen
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=20121116210015.108106e6@aga-netbook \
--to=mbork@wmi.amu.edu.pl \
--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).