texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texmacs-dev] Multiple big operators as variants


From: david
Subject: [Texmacs-dev] Multiple big operators as variants
Date: Wed, 29 Jan 2003 11:21:03 +0100
User-agent: Mutt/1.4i

On Tue, Jan 28, 2003 at 09:55:14PM +0100, Gwenael GABARD wrote:
>    Hi,
> 
>    I tried to define double, triple and multiple integrals as variants of the 
> simple one. In kbd-math.scm I added something like
>   ("math:symbol I var" (make-big-operator "iint"))
> 
> But this does not work and I did not find any variant definition using 
> make-big-operator or make-large-*. Is it possible to define such variants ??

One thing first, iint does not seem defined as a symbol. Maybe you
actually want to go the whole way to creating a new big operator, but
I do not know how to do that.

Maybe one should be able to do
   ("math:symbol I var" (make-big-operator "iint") (make-big-operator "iint"))
but this does not seem easily possible. The problem seems to lie
somewher in the editor core.

make-big-operator does
(lambda (x) (insert-object `(big ,x)))

Which involve some quite complicated code. When texmacs goes back to
the main loop it seems to disable the shortcut input mode.

The important thing is that there is no problem when inserting atoms
(simple symbols), and I see no reason why that should not be possible
for more complicated expressions too.

-- 
David Allouche         | GNU TeXmacs -- Writing is a pleasure
Free software engineer |    http://www.texmacs.org
   http://ddaa.net     |    http://alqua.com/tmresources
   address@hidden  |    address@hidden
TeXmacs is NOT a LaTeX front-end and is unrelated to emacs.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]