Jean-Marc Lasgouttes wrote: > Le 09/04/2018 ?? 12:20, Jean-Marc Lasgouttes a écrit : >> commit 6df8c42e59f7dbe00d585525d1ce7e91a42411ca >> Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> >> Date: Mon Apr 9 12:18:24 2018 +0200 >> Set a minimal height for math rows >> The value used here is the x height. It would be nice to see >> what the >> TeXbook really says. >> This makes a big difference with \tilde{.}, for example. > > Riki, > > This should go in 2.3.X.
JMarc, after two days of work I would suggest we use 'b' rather than 'x' for min height, looks better to me. Pavel >> - dim.asc = 0; >> + frontend::FontMetrics const & fm = theFontMetrics(mi.base.font); >> + // FIXME: this is the minimal ascent seen empirically, check >> + // what the TeXbook says. >> + dim.asc = fm.ascent('x'); >> dim.wid = 0; >> // In order to compute the dimension of macros and their >> // arguments, it is necessary to keep track of them.