Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Re: [Texmacs-dev] ensuremath

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Re: [Texmacs-dev] ensuremath


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: Bas Spitters <address@hidden>
  • Cc: <address@hidden>, <address@hidden>, <address@hidden>
  • Subject: Re: [TeXmacs] Re: [Texmacs-dev] ensuremath
  • Date: Fri, 18 Feb 2005 18:27:36 +0100 (CET)


On Sat, 12 Feb 2005, Bas Spitters wrote:
> On Friday 11 February 2005 18:54, Henri Lesourd wrote:
> > >Is there an equivalent for the latex \ensuremath enviroment and texmacs?
> > >(\ensuremath does just that: it ensures that the argument is in mathmode)
> >
> > What about :
> > [[
> > <with|mode|math|...your argument(s) here...>
> > ]]
>
> That indeed does work nice in texmacs, however try exporting the following
> file to latex:
>
> <TeXmacs|1.0.4.5>
>
> <style|generic>
>
> <\body>
>
> <assign|real|<with|mode|math|\<bbb-R\>>><value|real><with|mode|math|<value|
> real>>
> </body>
>
> <\initial>
> <\collection>
> <associate|language|american>
> </collection>
> </initial>
>
> I think that the moral of your answer is: This is not a lack of feature in
> texmacs, but a bug in the latex exportation!?

You may always create an "ensuremath" macro in a style package.
It will be exported as the LaTeX ensuremath command.




Archive powered by MHonArc 2.6.19.

Top of Page