ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mathcases look different in mathalign and formula
@ 2013-03-28 17:00 Tobias Columbus
  2013-04-04 22:46 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Tobias Columbus @ 2013-03-28 17:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1003 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1223 bytes --]

[-- Attachment #2: mathcases-2013.03.28.pdf --]
[-- Type: application/pdf, Size: 18256 bytes --]

[-- Attachment #3: mathcases-2013.03.28.tex --]
[-- Type: application/x-tex, Size: 2253 bytes --]

[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mathcases look different in mathalign and formula
  2013-03-28 17:00 mathcases look different in mathalign and formula Tobias Columbus
@ 2013-04-04 22:46 ` Hans Hagen
  2013-04-05  6:46   ` Tobias Columbus
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2013-04-04 22:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Tobias Columbus

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mathcases look different in mathalign and formula
  2013-04-04 22:46 ` Hans Hagen
@ 2013-04-05  6:46   ` Tobias Columbus
  2013-04-05  7:33     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Tobias Columbus @ 2013-04-05  6:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Hans Hagen


[-- Attachment #1.1: Type: text/plain, Size: 386 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 500 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mathcases look different in mathalign and formula
  2013-04-05  6:46   ` Tobias Columbus
@ 2013-04-05  7:33     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2013-04-05  7:33 UTC (permalink / raw)
  To: Tobias Columbus; +Cc: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-05  7:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-28 17:00 mathcases look different in mathalign and formula Tobias Columbus
2013-04-04 22:46 ` Hans Hagen
2013-04-05  6:46   ` Tobias Columbus
2013-04-05  7:33     ` Hans Hagen

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).