Dnia 2012-11-14, o godz. 11:38:48 Philipp Gesang <philipp.ges...@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 <mb...@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 ___________________________________________________________________________________