dandavison / xenops

An editing environment for LaTeX mathematical documents
MIT License
228 stars 14 forks source link

Different indentations for block math and inline math in org-mode #26

Open lizhuohua opened 3 years ago

lizhuohua commented 3 years ago

First, thanks for making this great package.

I tried to use this in ord-mode, however, seems like the indentations are different for block math and inline math.

For example, when I write

*** test
    Block math:
    \[a+
    b
    \]
    Inline math:
    \[a+b\]

The result is the following, note that the indentations are different: image

There is no such problem if I use the builtin command org-latex-preview (this is what I expect): image

I would appreciate it if you could address this problem. Thank you very much!