[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: incorrect @math spacing for PDF output with an empty macro
From: |
Gavin Smith |
Subject: |
Re: incorrect @math spacing for PDF output with an empty macro |
Date: |
Tue, 25 Oct 2022 14:42:20 +0100 |
On Tue, Oct 25, 2022 at 02:41:48PM +0200, Vincent Lefevre wrote:
> @w doesn't work correctly in math mode:
>
> ------------------------------------------------------------
> \input texinfo @c -*-texinfo-*-
> @documentencoding UTF-8
>
> @node Top
> @node Test
>
> Formatting test.
>
> zzzzzzzzzzzzzzzzzz @math{a + b}
> zzzzzzzzzzzzzzzzzz @math{a + b}
> zzzzzzzzzzzzzzzzzz @math{a + b}
> zzzzzzzzzzzzzzzzzz @math{a + b}
> zzzzzzzzzzzzzzzzzz @math{a + b}
> zzzzzzzzzzzzzzzzzz @math{a + b}
> zzzzzzzzzzzzzzzzzz @math{a + b}
> zzzzzzzzzzzzzzzzzz @math{a + b}
>
> zzzzzzzzzzzzzzzzzz @w{@math{a + b}}
> zzzzzzzzzzzzzzzzzz @w{@math{a + b}}
> zzzzzzzzzzzzzzzzzz @w{@math{a + b}}
> zzzzzzzzzzzzzzzzzz @w{@math{a + b}}
> zzzzzzzzzzzzzzzzzz @w{@math{a + b}}
> zzzzzzzzzzzzzzzzzz @w{@math{a + b}}
> zzzzzzzzzzzzzzzzzz @w{@math{a + b}}
> zzzzzzzzzzzzzzzzzz @w{@math{a + b}}
>
> @bye
> ------------------------------------------------------------
>
> One can see that with @w, spaces do not stretch.
Yes, but I wouldn't count this as "incorrect".
Note if you want a fair comparison, you should have the same paragraph
indent in both paragraphs, using @noindent:
@noindent
zzzzzzzzzzzzzzzzzz @math{a + b}
zzzzzzzzzzzzzzzzzz @math{a + b}
zzzzzzzzzzzzzzzzzz @math{a + b}
zzzzzzzzzzzzzzzzzz @math{a + b}
zzzzzzzzzzzzzzzzzz @math{a + b}
zzzzzzzzzzzzzzzzzz @math{a + b}
zzzzzzzzzzzzzzzzzz @math{a + b}
zzzzzzzzzzzzzzzzzz @math{a + b}
@noindent
zzzzzzzzzzzzzzzzzz @w{@math{a + b}}
zzzzzzzzzzzzzzzzzz @w{@math{a + b}}
zzzzzzzzzzzzzzzzzz @w{@math{a + b}}
zzzzzzzzzzzzzzzzzz @w{@math{a + b}}
zzzzzzzzzzzzzzzzzz @w{@math{a + b}}
zzzzzzzzzzzzzzzzzz @w{@math{a + b}}
zzzzzzzzzzzzzzzzzz @w{@math{a + b}}
zzzzzzzzzzzzzzzzzz @w{@math{a + b}}
Note it is not an issue with @math, but with @w generally, as you
can see with the following input:
@noindent
zzzzzzzzzzzzzzzzzz @asis{a + b}
zzzzzzzzzzzzzzzzzz @asis{a + b}
zzzzzzzzzzzzzzzzzz @asis{a + b}
zzzzzzzzzzzzzzzzzz @asis{a + b}
zzzzzzzzzzzzzzzzzz @asis{a + b}
zzzzzzzzzzzzzzzzzz @asis{a + b}
zzzzzzzzzzzzzzzzzz @asis{a + b}
zzzzzzzzzzzzzzzzzz @asis{a + b}
@noindent
zzzzzzzzzzzzzzzzzz @w{@asis{a + b}}
zzzzzzzzzzzzzzzzzz @w{@asis{a + b}}
zzzzzzzzzzzzzzzzzz @w{@asis{a + b}}
zzzzzzzzzzzzzzzzzz @w{@asis{a + b}}
zzzzzzzzzzzzzzzzzz @w{@asis{a + b}}
zzzzzzzzzzzzzzzzzz @w{@asis{a + b}}
zzzzzzzzzzzzzzzzzz @w{@asis{a + b}}
zzzzzzzzzzzzzzzzzz @w{@asis{a + b}}
In theory, there could be better output if we could change the size
of spaces inside of @w, but I doubt that there is a good way of
achieving this in TeX.
Is there actually anything wrong with the way the output looks for
your document?
- Re: behavior of @math with HTML output, (continued)
- Re: behavior of @math with HTML output, Vincent Lefevre, 2022/10/13
- Re: behavior of @math with HTML output, Gavin Smith, 2022/10/14
- incorrect @math spacing for PDF output with an empty macro, Vincent Lefevre, 2022/10/14
- Re: incorrect @math spacing for PDF output with an empty macro, Gavin Smith, 2022/10/14
- Re: incorrect @math spacing for PDF output with an empty macro, Vincent Lefevre, 2022/10/14
- Re: incorrect @math spacing for PDF output with an empty macro, Jacob Bachmeyer, 2022/10/14
- Re: incorrect @math spacing for PDF output with an empty macro, Gavin Smith, 2022/10/15
- Re: incorrect @math spacing for PDF output with an empty macro, Vincent Lefevre, 2022/10/15
- Re: incorrect @math spacing for PDF output with an empty macro, Gavin Smith, 2022/10/16
- Re: incorrect @math spacing for PDF output with an empty macro, Vincent Lefevre, 2022/10/25
- Re: incorrect @math spacing for PDF output with an empty macro,
Gavin Smith <=
- Re: incorrect @math spacing for PDF output with an empty macro, Vincent Lefevre, 2022/10/25
- Re: incorrect @math spacing for PDF output with an empty macro, Gavin Smith, 2022/10/26
- Re: incorrect @math spacing for PDF output with an empty macro, Vincent Lefevre, 2022/10/26
- Re: incorrect @math spacing for PDF output with an empty macro, Patrice Dumas, 2022/10/26
- Re: incorrect @math spacing for PDF output with an empty macro, Vincent Lefevre, 2022/10/26
- Re: incorrect @math spacing for PDF output with an empty macro, Patrice Dumas, 2022/10/26
- Re: incorrect @math spacing for PDF output with an empty macro, Vincent Lefevre, 2022/10/26
- Re: incorrect @math spacing for PDF output with an empty macro, Gavin Smith, 2022/10/26
- Re: behavior of @math with HTML output, Patrice Dumas, 2022/10/13
- Re: behavior of @math with HTML output, Vincent Lefevre, 2022/10/13