On 27/06/2014 13:51, Alexander Grahn wrote:
> some of the possible `\resizebox` usages don't map to corresponding
> l3box functions.
> In particular, I am looking for
> The first one resizes width and height of the original box to the provided
> <h-size> and <v-size> values and the second one only the height, while
> maintaining the original aspect ratio of the box content.
> 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
> Could they be provided in a future l3box version?
> Thanks and kind regards,
I've not noted it down, but I think the reason I went for just 'total
height' functions here is that the end result then has a dimension (or
dimensions) that are explicit in the code. Something like
gives you a box that is not necessarily the vertical size you've put
into your code, which could be regarded as a bit odd. (It's also doable
by viewing this operation as a scaling to ht_new/ht_old.) Of course,
this might just be me: one reason these are in the 'candidates' part of
l3kernel is they've not been discussed a lot, so some feedback is almost