On Tue, Apr 15 2025, Max Nikulin <maniku...@gmail.com> wrote: > On 15/04/2025 02:47, Leo Butler wrote: >> I experience problems typesetting mathematical expressions. I cannot >> find anything as good as the unicode-math package for lualatex. >> Consider generating a preview of this fragment using pdflatex versus >> lualatex: >> \[ ∫₀¹ 𝐟(σ) dσ \] > > Isn't unicode-heavy formulas a way to rely on preview feature in less > degree?
Yes, to some degree, which is partly why I hadn't used org-latex-preview until recently. I have thought about using overlays of unicode math glyphs to achieve something similar to org-latex-preview. E.g. overlaying ∫ on \int, ₀ on _0, etc. > I have no idea if journals accept papers typed this way. I have not tried to publish papers with such formulae, but I think with the recent changes in texlive, it should be possible soon. On the other hand, overleaf does not have good support for such formulae, so maybe not so soon. Mainly, I use this style for my lecture notes. > > Some time ago I was told that \usepackage[utf8x]{inputenc} is obsolete > and should not be used any more. It is true, but I have realized that > it is not full truth. utf8x is able to handle some math while utf8 can > not do it at all. > > I have found unicode-math-input.sty that may handle your specific > example in PdfLaTeX. At first glance it is more powerful than utf8x, > but it does not allow e.g. text Greek α. It forces math mode for it. > Thanks for the suggestion, I just tried it on a small math document and the results are quite good. It is even in the "texlive-latex-extra" package in debian, so it was already on my hdd. Leo