[cl-typesetting-devel] Tables with variable column widths

Edi Weitz edi at agharta.de
Sun Apr 10 20:32:35 UTC 2005


On Sun, 10 Apr 2005 09:58:57 +0200, "Marc Battyani" <marc.battyani at fractalconcept.com> wrote:

> It's because you forgot a () and a with-style:

No, I couldn't forget it because I didn't know about it.  Or did I
miss the documentation?

:)

> (compute-boxes-natural-size
>  (boxes (compile-text ()
>           (with-style (:font "Times-Bold") "foo"))) #'dx)
> 15.696000000000002
>
> (compute-boxes-natural-size
>  (boxes (compile-text ()
>           (with-style (:font "Times-Roman") "foo"))) #'dx)
> 15.996
>
> (compute-boxes-natural-size
>  (boxes (compile-text ()
>           (with-style (:font "Times-Roman" :font-size 16) "foo"))) #'dx)
> 21.328

Thanks, that works fine.

Cheers,
Edi.



More information about the cl-typesetting-devel mailing list