bug-texinfo
[Top][All Lists]

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

 From: Patrice Dumas Subject: Re: incorrect @math spacing for PDF output with an empty macro Date: Wed, 26 Oct 2022 21:31:24 +0200

On Wed, Oct 26, 2022 at 12:43:02PM +0200, Vincent Lefevre wrote:
> 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

Texinfo TeX is TeX not LaTeX, so it is logical that it uses $$. For mathjax, we use \[, in LaTeX, tex4ht and latex2html we use$$.
I will change the code such that in LaTeX it is \[ everywhere.

--
Pat