AllanChain / logseq-live-math

Type LaTeX in live mode!
Apache License 2.0
34 stars 1 forks source link

[Bug] Modular box always change into placeholder #22

Open Bread7 opened 5 months ago

Bread7 commented 5 months ago

What happened?

https://github.com/AllanChain/logseq-live-math/assets/39032432/fff3238f-fb5d-4ea2-ad4d-96e69eb2599c

The mod value box is always put into placeholder rather than the typed value.

Logseq Version

0.10.3

Logseq Live Math Version

1.4.0

Quick check

Additional context

No response

AllanChain commented 5 months ago

This is an upstream issue (https://github.com/arnog/mathlive/issues/1565). And due to the design of MathLive, it requires "non-trivial amount of changes".

As a workaround, you can add the following inline shortcut:

    "pmod": "\\quad(\\operatorname{mod}\\ #?)"

and insert by typing pmod instead of (mod

Bread7 commented 5 months ago

Thanks for the reply!