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 <vinc...@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