Tuesday, December 2, 2003 Boris Hollas wrote:

> Hello!

> I tried the modules t-amsl and t-nath.

Thank you very much :)


> This is what I noticed or have questions about:

> 1. The bracket for \cases{} is too small when t-nath is used, as in
> this example:

> \usemodule[amsl]
> \usemodule[nath]

> \starttext

> We denote by
> \startformula
> 1_{ij} = \cases{ 1 & if $(i,j) \in \cal E$\cr
>                       0 & else}
> \stopformula
> the {\em indicator function} of event $(i,j) \in \cal E$.

> \stoptext

> Without modules amsl and nath the brackets have correct size, but \cal
> has no effect.

I'll look into this bug.

> 2. Without module amsl, the above example produces an error message.

It's not supposed to work ;)

> 3. Module amsl uses \mathBbd{} for the blackboard fonts. I'm not sure
> if this is used in AMS-Latex, however neither amsmath nor amssymb
> introduce this command. Instead, there's a command \mathbb{} in
> amssymb for the blackboard fonts.

> 4. $\mathBbd{N}_0$ doesn't produce ${\mb N}_0$.

To fix these, please change the lines from line 165 in
t-amsl.tex (to the line with \enablemathcollection excluded)
into the following:

\def\!mathcal {\fam\purefamily{calligraphic}}
\def\!mathBbd {\fam\purefamily{blackboard}}
\def\!mathfrak{\fam\purefamily{fraktur}}

\def\mathcal #1{{\!mathcal #1}}
\def\mathbb  #1{{\!mathBbd #1}}
\def\mathfrak#1{{\!mathfrak#1}}

\appendtoks
  \let\cal \!mathcal
  \let\Bbd \!mathBbd
  \let\frak\!mathfrak
\to\everymath

\appendtoks
  \let\cal \!mathcal
  \let\Bbd \!mathBbd
  \let\frak\!mathfrak
\to\everydisplay

and let me know if it works fine.

This way (in math mode) \cal, \Bbd and \frak should change the
font for all following stuff (within local group) and \mathcal,
\mathbb, \mathfrak should work only on the following token. Am
I correct in remembering this is "the LaTeX way"?

-- 
Giuseppe "Oblomov" Bilotta

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to