Rime Latex 数学符号输入方案 | A lifesaver for academic users to type symbols everywhere.

shenlebantongying, updated 🕥 2023-03-18 08:31:48

RIME_LaTeX

Difficulty typing mathematical symbols?

Try Rime-latex for Latex-based Symbols:)

Use with other schemas

For instance, to use with 朙月拼音(·简化字), in luna_pinyin.custom.yaml (luna_pinyin_simp.custom.yaml)

```yaml patch: engine/translators: - punct_translator - r10n_translator - reverse_lookup_translator

meaning of the regex: ^ start of line, \ the starting \, .+ any char 1 or more time, $ end

recognizer/patterns/reverse_lookup: '^\.+$' schema/dependencies: - latex abc_segmentor/extra_tags: - reverse_lookup reverse_lookup: dictionary: latex enable_completion: false tips: latex ```

RIME_LaTeX's extension to tex symbols

superscript/subscript

\^1 \_1 -> X₁¹ \^a \_b -> Xᵃᵦ

Unicode doesn't have a full set of super/sub scripts, you probably should use text styles or markup in rich text, instead.

Degree

° \degree

MISC

→ \to ⇒ \To ⇛ \TO

Credits

The latex math symbols table sources:

https://github.com/hubutui/fcitx-table-unicode-latex https://github.com/moebiuscurve/ibus-table-others/blob/master/tables/latex.txt

Plans

Issues

[TODO] : export mathsymbols from the data file of unicode.org

opened on 2022-03-30 12:41:09 by shenlebantongying

The report: http://www.unicode.org/reports/tr25/

Latest math data: https://www.unicode.org/Public/math/latest/

Plan:

  • create a new dict > with standard Unicode name and nothing more.

Support for several LaTeX symbols (useful in science)

opened on 2021-06-12 15:56:54 by Iey4iej3

These are supported by Unicode, say:

𝔸 ℱ 𝔉

Some suggestions about the shortcuts for these symboles: F7 for \mathcal; For F8 for \mathfrak, double the letter (say AA) to produce the blackboard bold (these shortcuts are used in TeXmacs.

shenleban tongying

Researcher @ UWaterloo

GitHub Repository Homepage

latex rime rime-schema