LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Date: Thu, 3 Jul 2014 09:16:32 +0100
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
Message-ID: <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset=UTF-8
From: Joseph Wright <[log in to unmask]>
Parts/Attachments: text/plain (56 lines)
On 03/07/2014 08:47, Alexander Grahn wrote:
> Hi Joseph,
> On Thu, Jul 03, 2014 at 08:25:59AM +0100, Joseph Wright wrote:
>> On 28/06/2014 14:04, Alexander Grahn wrote:
>>> 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.
>> If we are having one here we should have the other: I'll add.
> Thanks a lot for taking it into consideration.
> Alexander

This will be in the next release. Three questions:

 1. Is this urgent (I can do a release if required)?
 2. Does it still make sense to have the 'basic' function
    as equivalent to "wd_and_ht_plus_dp", and if so do
    we need the latter as a equivalent 'systematic' function?
 3. Are these more complex possibilities needed for \coffins_...?
    (Currently there is only \coffin_resize:Nnn.)
Joseph Wright