On Thu, Sep 05, 2024 at 04:35:06PM +0200, Rudolf Adamkovič wrote: > Patrice Dumas <pertu...@free.fr> writes: > > That said, I wonder, would it be a good idea to center displayed > mathematics by default? Doing so is customary.
I agree, and it is also what is done in Texinfo TeX. > I tried to add > > <style> > .displaymath { > display: flex; > justify-content: center; > } > </style> > > to my `EXTRA_HEAD', and it looks good. In fact, it looks better even > with MathJax, where newly rendered content "seemingly replaces" the > original LaTeX code, as both are shown in the same spot. I tried something more simple with text-align, but the result is bad. I do not feel at ease with that kind of complex CSS, but I guess that if the browser do not support, they should still show something ok, so I'll apply. -- Pat