mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] mod on tmlen


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] mod on tmlen
  • Date: Thu, 1 Sep 2011 11:51:44 +0200

Dear Sam,

On Thu, Sep 01, 2011 at 09:10:54AM +0100, Sam Liddicott wrote:
> I'm trying to use resize to increase the bounding box to the next
> multiple of 1fn
>
> <assign|booked|<macro|x|<boxit|<resize|<arg|x><minus|1w|2fn|0fn>-<mod|1w|1fn>|-0fn||<minus|1w|2fn|0fn>|>>>>
>
> In the example above I've included the calculation in the body so
> that I can see what goes on.
> It seems that <mod|1w|1fn> isn't allowed, and in fact that plus and
> minus on tmlen's makes a longer tuple anyway...
>
> Anyone know a way to achieve what I'm trying to do?

I changed div and mod to make this possible.
Be careful that 'fn' is a rubber length;
you probably want to use 'em' instead.

Best, --Joris



Archive powered by MHonArc 2.6.19.

Top of page