Last active
December 5, 2022 08:19
-
-
Save AlephAlpha/5406458cb98838efe1fc to your computer and use it in GitHub Desktop.
Rime 的希腊字母输入方案,也支持一些常用的数学符号。如果需要在其他输入方案中直接输入希腊字母,请参考:https://gist.github.com/lotem/3705586
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rime dictionary | |
# encoding: utf-8 | |
--- | |
name: greek | |
version: "0.1" | |
sort: original | |
... | |
# 小写希腊字母 | |
α alpha | |
β beta | |
γ gamma | |
δ delta | |
ε epsilon | |
ζ zeta | |
η eta | |
θ theta | |
ι iota | |
κ kappa | |
λ lambda | |
μ mu | |
ν nu | |
ξ xi | |
ο omicron | |
π pi | |
ρ rho | |
σ sigma | |
τ tau | |
υ upsilon | |
φ phi | |
χ chi | |
ψ psi | |
ω omega | |
# 大写希腊字母 | |
Α Alpha | |
Β Beta | |
Γ Gamma | |
Δ Delta | |
Ε Epsilon | |
Ζ Zeta | |
Η Eta | |
Θ Theta | |
Ι Iota | |
Κ Kappa | |
Λ Lambda | |
Μ Mu | |
Ν Nu | |
Ξ Xi | |
Ο Omicron | |
Π Pi | |
Ρ Rho | |
Σ Sigma | |
Τ Tau | |
Υ Upsilon | |
Φ Phi | |
Χ Chi | |
Ψ Psi | |
Ω Omega | |
# 希腊字母变体 | |
# 只收录用作数学符号的 | |
ϵ epsilon | |
ϑ theta | |
ϰ kappa | |
ϖ pi | |
ϱ rho | |
ς sigma | |
ϕ phi | |
Ϝ Digamma | |
ϝ digamma | |
# 其他数学符号 | |
# 主要参考的是 TeX | |
# https://en.wikipedia.org/wiki/Help:Displaying_a_formula | |
∂ partial | |
∇ nabla | |
∞ infty | |
ℵ aleph | |
√ sqrt | |
√ surd | |
± pm | |
× times | |
÷ div | |
∘ circ | |
⊕ oplus | |
⊗ otimes | |
∅ empty | |
∈ in | |
∉ notin | |
∋ ni | |
∩ cap | |
∪ cup | |
⊂ subset | |
⊃ supset | |
⊆ subseteq | |
⊇ supseteq | |
≠ ne | |
≡ equiv | |
≅ cong | |
≈ approx | |
≤ le | |
≥ ge | |
∀ forall | |
∃ exists | |
∨ or | |
∧ and | |
∨ vee | |
∧ wedge | |
¬ neg | |
→ to | |
∑ sum | |
∏ prod | |
∐ coprod | |
∫ int | |
∮ oint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rime schema | |
# encoding: utf-8 | |
schema: | |
schema_id: greek | |
name: 希腊字母 | |
version: "0.1" | |
author: | |
- AlephAlpha <alephalpha911@gmail.com> | |
description: | | |
输入希腊字母及其他数学符号。 | |
switches: | |
- name: ascii_mode | |
reset: 0 | |
states: [ 希腊, 拉丁 ] | |
engine: | |
processors: | |
- ascii_composer | |
- speller | |
- selector | |
- navigator | |
- express_editor | |
segmentors: | |
- ascii_segmentor | |
- abc_segmentor | |
- fallback_segmentor | |
translators: | |
- r10n_translator | |
filters: | |
- uniquifier | |
speller: | |
alphabet: 'ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba' | |
delimiter: " '" | |
algebra: | |
- derive/([A-Z])/\L$1/ | |
translator: | |
dictionary: greek | |
enable_user_dict: false | |
spelling_hints: 1 |
@et2010 是我没写清楚。用简体拼音的话,还要加点别的东西,参看那个链接下面的评论。也就是改成这样:
# luna_pinyin_simp.custom.yaml
patch:
engine/translators:
- punct_translator
- r10n_translator
- reverse_lookup_translator
recognizer/patterns/reverse_lookup: "`[a-z]*$"
schema/dependencies:
- greek
abc_segmentor/extra_tags:
- reverse_lookup
reverse_lookup:
dictionary: greek
enable_completion: false
prefix: "`"
tips: 〔数学〕
超全的符号输入法 -> https://github.com/shenlebantongying/rime_latex
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我想在明月简体拼音输入方案中使用,但是按照链接中所说方法设置无效。我的
luna_pinyin_simp.custom.yaml
文件如下:@AlephAlpha 这样设置对吗?