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: Lionel Elie Mamane <address@hidden>
  • To: address@hidden
  • Cc: address@hidden, address@hidden
  • Subject: Re: [TeXmacs] Re: [Texmacs-dev] ensuremath
  • Date: Sat, 12 Feb 2005 09:06:41 +0100

On Fri, Feb 11, 2005 at 06:54:54PM +0100, 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...>
> ]]

Yeah, it works. To Bas's defence, the reason we didn't think of it is
that in LaTeX, opening math mode twice means closing it, or if using
the "math" environment, not possible (gives an error). We tend to
"transpose" our LaTeX habits to TeXmacs.

But in TeXmacs, indeed, there seems to be no problem in embedding a
math mode in a math mode, so yadda yadda ensuremath is not necessary.

But that kind of constructs breaks the LaTeX export "obviously".

--
Lionel



Archive powered by MHonArc 2.6.19.

Top of Page