Subject: mailing-list for TeXmacs Users
List archive
From : Armin Straub <address@hidden>- To: address@hidden
- Subject: Handling limits
- Date: Tue, 21 Mar 2006 09:34:24 +0100
Hi,
the help for <rsup|script> states the following:
"When a right script is attached to an operator (or symbol) which accepts
limits, then it is rendered below or above instead of beside the operator"
Unfortunately, I was unable to find out how to define such an operator that
accepts limits.
To be specific, I want to write a macro for entering weak limits, i.e.
something that behaves like "lim" but is rendered differently e.g. "wlim".
I have attached a small file to illustrate this. I'm using TeXmacs version
1.0.5.
Any help would be very appreciated.
Thanks,
--
Armin Straub
<TeXmacs|1.0.5>
<style|generic>
<\body>
This is how normal lim looks like:
<\equation*>
lim<rsub|n>x
</equation*>
But just prepending a single char turns it into:
<\equation*>
wlim<rsub|n>x
</equation*>
I now want to write a macro wlim that can be used just as if I had entered
lim, i.e.
<\itemize>
<item>the limit may be entered with _ and appears depending on
math-display below or after wlim. (I know that I can force it to appear
below using A-b (script below))
<item>I don't have to manually add additional whitespace after wlim.
</itemize>
In short, entering ``\\wlim _n x'' should do the trick.
Any ideas? Thanks for your time!
</body>
<\initial>
<\collection>
<associate|language|american>
</collection>
</initial>
- Handling limits, Armin Straub, 03/21/2006
Archive powered by MHonArc 2.6.19.