[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: slanted typewriter font / txicodevaristt yields a spurious space bef
From: |
Vincent Lefevre |
Subject: |
Re: slanted typewriter font / txicodevaristt yields a spurious space before a closing parenthesis in the text |
Date: |
Mon, 12 Sep 2022 03:43:48 +0200 |
User-agent: |
Mutt/2.2.7+37 (a90f69b9) vl-149028 (2022-09-02) |
On 2022-09-12 03:34:44 +0200, Vincent Lefevre wrote:
> For instance, consider
>
> @code{(@var{b},@var{p})(@var{b},@var{p})(@var{b},@var{p})(@var{b},@var{p})}@*
> @code{12345678901234567890}
>
> With texinfo.tex 2020-02-11.09 (currently used for MPFR), alignment
> is perfect: I get
>
> (b,p)(b,p)(b,p)(b,p)
> 12345678901234567890
>
> (with "b" and "p" in italics), where the last characters of each
> line are vertically aligned. This is still true with texinfo.tex
> 2022-08-13.11 (commit f0c48d71fa1c08f9c10547835f1a4a71e830af0f).
> But 2022-08-13.12 (commit b3abe7731dd2aaaf33007155d0bbeeb53bcae141),
> slanted typewriter is no longer used.
>
> Slanted typewriter was re-added in texinfo.tex 2022-08-26.23
> (commit 18389820e7059724edfcd616e8bfafb376c5b9e1), mentioned above,
> but with additional spacing.
The spacing is due to \smartitaliccorrection in the \var definition.
I suppose that if useful for slanted, it should be disabled for
slanted typewriter.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)