Print

Print


On Sat, Jun 28, 2014 at 01:55:58PM +0930, Will Robertson wrote:
>On 27 Jun 2014, at 10:21 pm, Alexander Grahn <[log in to unmask]> wrote:
>
>> The existing \box_resize:Nnn resizes width and totalheight, but I am
>> looking for resizing width and height.
>> 
>> There is a \box_resize_to_ht_plus_dp:Nn, but \box_resize_to_ht:Nn is
>> missing.
>
>Hi Alexander,
>
>I’ve added this function to l3candidates for consideration — it sounds like a sensible request to me.

Thanks, Will.

The direct l3 counterpart of

  \resizebox{<h-size>}{<v-size>}

is missing too, since

  \box_resize:Nnn<box>{<h-size>}{<v-size>} is

actually

  \resizebox*{<h-size>}{<v-size>}

that is, after resizing, the box' totalheight is set to <v-scale>,
thus, something like \box_resize_to_wd_and_ht:Nnn to set width and
height.

Regards,
Alexander.

>Cheers,
>Will
>

-- 
Dr.-Ing. Alexander Grahn
Helmholtz-Zentrum Dresden-Rossendorf e. V.,
Institut für Ressourcenökologie
PF 51 01 19
01314 Dresden
Allemagne

m a i l t o : A . G r a h n @ h z d r . d e
Tel.: +49 (0)3 51-2 60 23 31
Fax.: +49 (0)3 51-2 60 12 33 1

Vorstand: Prof. Dr. Dr. h. c. Roland Sauerbrey, Prof. Dr. Dr. h. c. Peter
Joehnk
Vereinsregister: VR 1693 beim Amtsgericht Dresden