Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id t7LIO8ff003402 for ; Fri, 21 Aug 2015 20:24:09 +0200 Received: from relay2.uni-heidelberg.de ([129.206.210.211]) by mx-ha.gmx.net (mxgmx001) with ESMTPS (Nemesis) id 0M3zvu-1YbZq43Tgw-00rVWz for ; Fri, 21 Aug 2015 20:24:03 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t7LIMHxl021319 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Aug 2015 20:22:17 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t7LHYbtg005833; Fri, 21 Aug 2015 20:22:16 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 12513636 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 21 Aug 2015 20:22:16 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t7LIJxE1015816 for ; Fri, 21 Aug 2015 20:22:16 +0200 Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t7LHNCwD030453 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Fri, 21 Aug 2015 19:23:17 +0200 Received: by padfo6 with SMTP id fo6so11320459pad.1 for ; Fri, 21 Aug 2015 10:23:12 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.67.30.161 with SMTP id kf1mr19224972pad.89.1440177392194; Fri, 21 Aug 2015 10:16:32 -0700 (PDT) Received: by 10.66.254.138 with HTTP; Fri, 21 Aug 2015 10:16:32 -0700 (PDT) References: Content-Type: text/plain; charset=UTF-8 X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id t7LIMGDt016362 Message-ID: Date: Fri, 21 Aug 2015 13:16:32 -0400 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: "Joel C. Salomon" Subject: Re: Help with Expl3-izing some code To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-MIME-Autoconverted: from 8bit to quoted-printable by relay2.uni-heidelberg.de id t7LIMHxl021319 Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:2I0t4oTxwSM=:Noo4EpdIXl+RofIKyTXVKXY0wj OXzozM16x9E9b5r0+K/1l9tDJLD27HC21/hlYA5xtBJEYcJ0MgCpdeC1KVVdjIoP6njeyCd2/ fsHAVqDF7NLLljHQnAtGGhUDI24CNdtJrjw/hNCsb6G0230N/dMmDql9K2NyRRt4g+EHzBimE tIXwG+QgPHXm0UINCsQKD23bGZ8qxQHL99/dQ5UhZuf9N2WUTKmJkWbMj9eyMRuYjLdvjPiK2 HHV2TReI/jTe2rfSgWhJqO5r3FvPn8ZrIkadxP4HWAQe86gr5ZzvygidO6+ifGqPtByvMVNum iCscrYqseKRINs52AJbZ5/L9dEWq03SfiO/RTYv7UxZeG/qBh81XZZi8jhb6SJVofaRXSjxs3 oTrfvN72wytm5fI9MnK8aDI/4ZN0wcHb8oaRsv40QnRV2Md2fOpCJfIuhDGeVfDs6icGIhbaz 3yjsXfGnRI9way6DROYbhvlLh+kJqIqXDK12pn9QAIp90us/r/tPgcz0Tbz2rb7heWnGOfiEH lRyB8ptMPRoQYhDQegFavMbC4QrAp7TTF9Dfwl0eNG7DsArlR/m2cqC8qHcTC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x76 V2fe3qgxGgR2eqG1/mKgHcpMMs7+QJ3RHWMZ+v16rBbV12m2XuJ6HvC3MPoXVTvySFEp/ckpY uLKE/ThLe9Jr5IMHU0kUrGuEf/nNSF/5TsAoSmYDB8Z9mTRCA76DSNCtCBwX3K4C/VLESIEa+ rTdu3X7X56s6riGZejsIEpEdWrbGAb30KReLGh9SANTBZF20Zh3uH0hMBCHwz8kASZwHtB2fx LY9jHNnfrQ+yKe5r2ztZmc6dLsRxHhhEzoQeXb9q+ZRI0V+0TEz8teWYjxqEE/Ux3J1BTx1S3 GMkI6bG465Zi2XP6tclfaxD+CG9KPw+WXqHLqlJ3inv4y19RTeoHO/gREHtCoSHYJVlPsmQtv cfO/Ame222r87dGjLMedg52l3WtCkBkBvAOw0M5yPfouD2Iv8fbwZZ9EHK1SawkPqvfpuRvxG gWFqVvkDCgHQBL74a4lp8MMhxWUU3YIINWSbPw/3aj/31e62/Hl2 X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by h1439878.stratoserver.net id t7LIO8ff003402 Status: R X-Status: X-Keywords: X-UID: 7824 Last night, I wrote: > What is the cleanest way to do this with Expl3? Specifically, what are > the Expl3 equivalents of `\parbox` and `\llap`, at least in the way > this code uses them? > > (I understand that `\raggedleft` would be in a very different layer of > the code [the galley?] and probably doesn’t have a useable Expl3 > equivalent yet; and that using `\tex_kern:D` is no clearer than > `\kern`, and that its Expl3ization will probably be in the fonts > module. On the other hand, I see that l3trial/xfont/xfss.dtx includes > a definition for `\mode_leave_vertical:` so perhaps I’ll copy its > definition and use that.) Hunting around the latex3 repository it seems I’m anticipating what l3trial/xbox is doing. (It’s not stable, I understand, but is xbox in a somewhat usable state if I take it from the repository? I’m quite willing to change my [private] code as xbox updates, assuming the current state at least broadly approximates future plans.) Experimentation, and looking at xbox code, shows me that `\hbox_overlap_left:n` can substitute for `\llap`. I’m not sure why l3trial/xbox’s `\llap` includes `\xbox_leave_vmode:`, though—probably for the same reason the Memoir example code included `\leavevmode`, but I don’t understand that either; it seems to work just fine without it. The commit message at indicates that xbox does not yet have the equivalent of `\parbox`. For the restricted use I’m putting this to (`\parbox[t][0pt]{\somedim}{one or two lines of text}`), can somebody suggest a lightweight alternative? Neither wrapping `\hbox_to_wd:nn` within `\vbox_to_zero:n` nor the other way around worked for me. —Joel C. Salomon