Tuesday, December 2, 2003 Boris Hollas wrote:
Hello!
I tried the modules t-amsl and t-nath. 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.
Ok, I gave a look at this one. I had forgotten to tell you that I wanted to consider the \cases{...} construct obsolete! The 'proper' (i.e. AMS-style) way to do it would be \startcases 1 & \text{if etc } \cr 0 & \text{otherwise} \stopcases This will work, with or without nath (but of course with amsl). Anyway, since I know how hard it is to get over one's habits :) I updated both the amsl and nath module in such a way that they will now support old-style \cases{...} constructs. There are some minor spacing issues involved in the solution I came up with, but that's the best I can do. I uploaded a new ctx-math.zip to CTAN, containing the updated files. If you want to grab the new modules before they get distributed properly, see if you can get it from the UK node. Also note that now nath will automatically load amsl,so you don't need to \usemodule both :) -- Giuseppe "Oblomov" Bilotta