mathcases look different in mathalign and formula
Hi all, While playing with \startmathcases, I discovered some strange (maybe wanted?) behaviour of \startmathcases and \stopmathcases: - The interline spacing in mathcases is different depending on whether the mathcases are used in a mathalignment or a formula environment. - Lucida OpenType math has some nice curly brace that is also used in cases environments. However, if \startmathcases, \stopmathcases is used in some mathalignment environment and the cases contain subscripts, the curly brace disappears and some "straight" brace is used instead. - When using superscripts instead of subscripts, the curly brace reappears but the cases look like not vertically centered in both formula and mathalignment environments. I produced an example demonstrating the above observations. In my opinion, the disappearing curly brace is worst of all of them since one frequently has formulas both with and without subscripts on the same page and different braces are quite easily spotted. Tobias
On 3/28/2013 6:00 PM, Tobias Columbus wrote:
Hi all,
While playing with \startmathcases, I discovered some strange (maybe wanted?) behaviour of \startmathcases and \stopmathcases:
- The interline spacing in mathcases is different depending on whether the mathcases are used in a mathalignment or a formula environment.
- Lucida OpenType math has some nice curly brace that is also used in cases environments. However, if \startmathcases, \stopmathcases is used in some mathalignment environment and the cases contain subscripts, the curly brace disappears and some "straight" brace is used instead.
a lucida issue (already looked into)
- When using superscripts instead of subscripts, the curly brace reappears but the cases look like not vertically centered in both formula and mathalignment environments.
I've added struts to the text column. This can be turned off with \setupmathcases[strut=no] The heights and depths and therefore the size of the curly braces is more consistent that way.
I produced an example demonstrating the above observations. In my opinion, the disappearing curly brace is worst of all of them since one frequently has formulas both with and without subscripts on the same page and different braces are quite easily spotted.
I'll clean up those macros (a bit more control and efficiency) when we're gone current (remind me). Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hi Hans, A few days ago, I started a similar thread on the Lucida mailing list at TUG. Karl Berry said that they'd discuss and look for a method to achieve a consistent look of braces in Lucida. Thanks for telling about the strut=no option. I'll try it this weekend, but I think it will solve my problem for now. I'll try to remind you of the mathcases macros... We'll see ;) Tobias
On 4/5/2013 8:46 AM, Tobias Columbus wrote:
Hi Hans,
A few days ago, I started a similar thread on the Lucida mailing list at TUG. Karl Berry said that they'd discuss and look for a method to achieve a consistent look of braces in Lucida.
Thanks for telling about the strut=no option. I'll try it this weekend, but I think it will solve my problem for now. I'll try to remind you of the mathcases macros... We'll see ;)
beware: strut=yes is now the default ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Tobias Columbus