texmacs-dev
[Top][All Lists]

## Re: [Texmacs-dev] Mathematics not displayed correctly inside switch envi

 From: Karl Hegbloom Subject: Re: [Texmacs-dev] Mathematics not displayed correctly inside switch environment Date: Wed, 09 Nov 2005 10:09:47 -0800

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.

--