Hello Giuseppe, I'm having a little trouble with the cases in amsl. Compiling this: \[ f(x) = \startcases 0 & \text{if $x < -\epsilon$} \\ \frac12 & \text{if $x > \epsilon$} \stopcases \] results in an error around the \frac. Changing it to \dfrac makes the input compile ok, but typesets the cases in an ugly manner with really narrow spacing. Is there some way of telling startcases/stopcases to behave in display mode? Thanks in advance, David
Thursday, May 20, 2004 David Munger wrote:
Hello Giuseppe,
I'm having a little trouble with the cases in amsl.
Compiling this:
\[ f(x) = \startcases 0 & \text{if $x < -\epsilon$} \\ \frac12 & \text{if $x > \epsilon$} \stopcases \]
results in an error around the \frac.
Hello David, sorry for the delay. The problem is caused by \frac being defined in the newmat module as %D Better: \def\frac#1#2{\mathematics{\genfrac{}{}{}\donothing{#1}{#2}}} If you comment that line, it will compile flawlessly. Hans, why would you want to allow \frac in text mode?
Changing it to \dfrac makes the input compile ok, but typesets the cases in an ugly manner with really narrow spacing.
(Yes.)
Is there some way of telling startcases/stopcases to behave in display mode?
Yup, I just changed a couple of things and now we have a \startbigcases ... \stopbigcases for this. Will upload new version soon. -- Giuseppe "Oblomov" Bilotta
Is there some way of telling startcases/stopcases to behave in display mode?
Yup, I just changed a couple of things and now we have a \startbigcases ... \stopbigcases for this. Will upload new version soon.
Oh, great! I'm really looking forward to get this new version. By the way, would you be so kind to include some multiline equation environment? Something like (or better than) \[ first part of very long equation \eqbreak second part of very long equation \eqbreak third part of very long equation \] which I achieve at the moment by doing \[ \startalign first part of very long equation \hskip 1.5em \\ \hfill second part of very long equation \\ \hfill third and part of very long equation \stopalign \] But this does not work as well I wish. I'd like to substitute the '\hskip 1.5 em' after the first line for a '\hfill' so that it always be the leftmost line, but the latter does nothing at all. So I have to put a '\hskip' and tweak the distance by hand. Thanks for you help, David
Tuesday, May 25, 2004 David Munger wrote:
Is there some way of telling startcases/stopcases to behave in display mode?
Yup, I just changed a couple of things and now we have a \startbigcases ... \stopbigcases for this. Will upload new version soon.
Oh, great! I'm really looking forward to get this new version. By the way, would you be so kind to include some multiline equation environment? Something like (or better than)
\[ first part of very long equation \eqbreak second part of very long equation \eqbreak third part of very long equation \]
You want to use the nath module: all equations are multiline: \[ a= b + \\ c + d + \\ e + \] You may want to look at the documentation for the nath package in LaTeX about the use of \wall and \return for alignments within multiline equations. -- Giuseppe "Oblomov" Bilotta
Oh, great! I'm really looking forward to get this new version. By the way, would you be so kind to include some multiline equation environment? Something like (or better than)
\[ first part of very long equation \eqbreak second part of very long equation \eqbreak third part of very long equation \]
You want to use the nath module: all equations are multiline:
Indeed, I used to like nath a lot, but as I pointed out in this thread http://www.ntg.nl/pipermail/ntg-context/2004/005306.html there are bugs which prevent me from using it at the moment. Regards, David
Thursday, May 27, 2004 David Munger wrote:
Indeed, I used to like nath a lot, but as I pointed out in this thread http://www.ntg.nl/pipermail/ntg-context/2004/005306.html there are bugs which prevent me from using it at the moment.
Yes, it's still in my TODO list. Sadly, I don't have enough time to work on it these days :\ -- Giuseppe "Oblomov" Bilotta
Indeed, I used to like nath a lot, but as I pointed out in this thread http://www.ntg.nl/pipermail/ntg-context/2004/005306.html there are bugs which prevent me from using it at the moment.
Yes, it's still in my TODO list. Sadly, I don't have enough time to work on it these days :\
What you've done so far is already a great piece of work. :) Without it, I wouldn't be writing my physics thesis using ConTeXt. David
Friday, May 28, 2004 David Munger wrote:
Indeed, I used to like nath a lot, but as I pointed out in this thread http://www.ntg.nl/pipermail/ntg-context/2004/005306.html there are bugs which prevent me from using it at the moment.
Yes, it's still in my TODO list. Sadly, I don't have enough time to work on it these days :\
What you've done so far is already a great piece of work. :) Without it, I wouldn't be writing my physics thesis using ConTeXt.
Thank you. Of course most of the work has actually been done by others so far, and my only job has been that of bringing things together :) -- Giuseppe "Oblomov" Bilotta
participants (2)
-
David Munger
-
Giuseppe Bilotta