bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: incorrect @math spacing for PDF output with an empty macro


From: Vincent Lefevre
Subject: Re: incorrect @math spacing for PDF output with an empty macro
Date: Wed, 26 Oct 2022 12:43:02 +0200
User-agent: Mutt/2.2.7+51 (a318ca5a) vl-149028 (2022-10-21)

On 2022-10-26 11:13:04 +0200, Patrice Dumas wrote:
> On Wed, Oct 26, 2022 at 02:44:17AM +0200, Vincent Lefevre wrote:
> > However, for the Info output at least (and I assume that this is
> > also the case for the HTML output), @w is really necessary. See
> > the differences:
> 
> Indeed.  However, for longer formulas, there will be a point where
> breaking the formula could be better, otherwise you'll have breaks
> in the middle of the lines when the math formula happens in the middle
> of the line.  For this you could have another macro for long formulas
> which would set @math{} in TeX (and LaTeX), and nothing in other formats.

For long formulas, it may be better to have separate text for TeX and
for the other formats (we already have a macro for that): for long
formulas in TeX, a centered formula is generally preferred, with
@displaymath I assume. The Texinfo manual also mentions $$...$$,
and I'm wondering whether there may be differences like in LaTeX,
e.g.

  https://tex.stackexchange.com/questions/503/why-is-preferable-to

-- 
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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]