Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Handling limits

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Handling limits


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Handling limits
  • Date: Sun, 20 Aug 2006 22:42:53 +0200

On Tue, Mar 21, 2006 at 09:34:24AM +0100, Armin Straub wrote:
> 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.

At the moment, the "with-limits" primitive (which was designed
originally for this purpose) does not work as it should.
As a temporary non-macro solution, you can use script above/below.

Best wishes, Joris

----------------------------------------------------
> 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>


  • Re: [TeXmacs] Handling limits, Joris van der Hoeven, 08/20/2006

Archive powered by MHonArc 2.6.19.

Top of Page