[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] Mathematics not displayed correctly inside switch envi
Joris van der Hoeven
Re: [Texmacs-dev] Mathematics not displayed correctly inside switch environment
Tue, 29 Nov 2005 11:55:56 +0100
On Wed, Nov 09, 2005 at 10:09:47AM -0800, Karl Hegbloom wrote:
> On Wed, 2005-11-09 at 15:01 +0100, Joris van der Hoeven wrote:
> > On Wed, Nov 09, 2005 at 02:59:56AM -0800, Karl Hegbloom wrote:
> > > I tried to put some mathematics inside a switch environment, to try and
> > > create an exam with answer key. I thought I could put a \vspace into
> > > one branch, and then the answer in another, then print once with the
> > > space and another time with the answer.
> > >
> > > It does not work, because mathematics mode doesn't work right inside of
> > > the switch environment. How can I do this? Do I need to create a
> > > macro?
> > What do you mean by "mathematics doesn't work right"?
> > Example file?
> Inside the switch, type $ lim _ -> $ and you'll see that it does not
> change the toolbar and that the under-bar character is inserted instead
> of creating a subscript.
Yes, I see... I know what the problem is (the quasi/unquote stuff in
the macro corresponding to switch). However, this is not completely
easy to fix. I will do it as soon as I have a bit more time,
but hopefully before version 1.1.
Best wishes, Joris