Update math input method and splitting
This commit is contained in:
@@ -27,7 +27,9 @@
|
|||||||
tramp-default-method "ssh"
|
tramp-default-method "ssh"
|
||||||
initial-major-mode 'fundamental-mode
|
initial-major-mode 'fundamental-mode
|
||||||
initial-scratch-message nil
|
initial-scratch-message nil
|
||||||
fast-but-imprecise-scrolling t)
|
fast-but-imprecise-scrolling t
|
||||||
|
split-height-threshold nil
|
||||||
|
split-width-threshold 0)
|
||||||
|
|
||||||
;; Disable bidirectional text scanning for a modest performance boost. I've set
|
;; Disable bidirectional text scanning for a modest performance boost. I've set
|
||||||
;; this to `nil' in the past, but the `bidi-display-reordering's docs say that
|
;; this to `nil' in the past, but the `bidi-display-reordering's docs say that
|
||||||
@@ -167,7 +169,8 @@
|
|||||||
:straight t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(dashboard-setup-startup-hook)
|
(dashboard-setup-startup-hook)
|
||||||
(setq dashboard-startup-banner 'logo
|
(setq dashboard-banner-logo-title"「EMACS」へようこそ, マルコさん!"
|
||||||
|
dashboard-startup-banner 'logo
|
||||||
dashboard-items '((agenda . 20))
|
dashboard-items '((agenda . 20))
|
||||||
dashboard-item-names '(("Agenda for the coming week:" . "Agenda:"))
|
dashboard-item-names '(("Agenda for the coming week:" . "Agenda:"))
|
||||||
dashboard-center-content t)
|
dashboard-center-content t)
|
||||||
@@ -578,34 +581,69 @@
|
|||||||
:straight t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(quail-define-package "math" "UTF-8" "Ω" t)
|
(quail-define-package "math" "UTF-8" "Ω" t)
|
||||||
(quail-define-rules ; add whatever extra rules you want to define here...
|
(quail-define-rules
|
||||||
; Equality
|
; Equality and order
|
||||||
("<=" ?≤)
|
("<=" ?≤) (">=" ?≥) ("\\prec" ?≺) ("\\preceq" ?≼) ("\\succ" ?≻)
|
||||||
(">=" ?≥)
|
("\\succeq" ?≽)
|
||||||
("~=" ?≠)
|
("/=" ?≠) ("\\neq" ?≠) ("\\=n" ?≠)("\\equiv" ?≡) ("\\nequiv" ?≢)
|
||||||
|
("\\approx" ?≈) ("\\~~" ?≈) ("\\t=" ?≜) ("\\def=" ?≝)
|
||||||
|
|
||||||
|
; Set theory
|
||||||
|
("\\sub" ?⊆) ("\\subset" ?⊂) ("\\subseteq" ?⊆) ("\\in" ?∈)
|
||||||
|
("\\inn" ?∉) ("\\:" ?∈) ("\\cap" ?∩) ("\\inter" ?∩)
|
||||||
|
("\\cup" ?∪) ("\\uni" ?∪) ("\\emptyset" ?∅) ("\\empty" ?∅)
|
||||||
|
("\\times" ?×) ("\\x" ?×)
|
||||||
|
|
||||||
|
; Number stuff
|
||||||
|
("\\div" ?∣) ("\\infty" ?∞) ("\\sqrt" ?√) ("\\Im" ?ℑ) ("\\Re" ?ℜ)
|
||||||
|
|
||||||
; Logic
|
; Logic
|
||||||
("~" ?¬)
|
("\\/" ?∨) ("\\and" ?∧) ("/\\" ?∧) ("\\or" ?∨) ("~" ?¬) ("\neg" ?¬)
|
||||||
("->" ?→)
|
("|-" ?⊢) ("|-n" ?⊬) ("\\bot" ?⊥) ("\\top" ?⊤) ("\\r" ?→) ("\\lr" ?↔)
|
||||||
("=>" ?⇒)
|
("\\qed" ?∎)
|
||||||
("<->" ?↔)
|
|
||||||
("<=>" ?⇔)
|
; Predicate logic
|
||||||
; Quantoren
|
("\\all" ?∀) ("\\ex" ?∃) ("\\exn" ?∄)
|
||||||
("\\ex" ?∃)
|
|
||||||
("\\all" ?∀)
|
; functions
|
||||||
; sets of numbers
|
("\\to" ?→) ("\\mapsto" ?↦) ("\\circ" ?∘) ("\\comp" ?∘) ("\\integral" ?∫)
|
||||||
("\\NN" ?ℕ)
|
("\\fun" ?λ)
|
||||||
("\\ZZ" ?ℤ)
|
|
||||||
("\\QQ" ?ℚ)
|
; Sets of numbers
|
||||||
("\\RR" ?ℝ)
|
("\\nat" ?ℕ) ("\\N" ?ℕ) ("\\int" ?ℤ) ("\\Z" ?ℤ) ("\\rat" ?ℚ) ("\\Q" ?ℚ)
|
||||||
("\\CC" ?ℂ)
|
("\\real" ?ℝ) ("\\R" ?ℝ) ("\\complex" ?ℂ) ("\\C" ?ℂ) ("\\prime" ?ℙ)
|
||||||
("\\PP" ?ℙ)
|
("\\P" ?ℙ)
|
||||||
|
|
||||||
|
; Complexity
|
||||||
|
("\\bigo" ?𝒪)
|
||||||
|
|
||||||
|
; Greek
|
||||||
|
("\\Ga" ?α) ("\\GA" ?Α) ("\\a" ?α)
|
||||||
|
("\\Gb" ?β) ("\\GB" ?Β) ("\\b" ?β)
|
||||||
|
("\\Gg" ?γ) ("\\GG" ?Γ) ("\\g" ?γ) ("\\Gamma" ?Γ)
|
||||||
|
("\\Gd" ?δ) ("\\GD" ?Δ) ("\\del" ?δ) ("\\Del" ?Δ)
|
||||||
|
("\\Ge" ?ε) ("\\GE" ?Ε) ("\\eps" ?ε)
|
||||||
|
("\\Gz" ?ζ) ("\\GZ" ?Ζ)
|
||||||
|
("\\Gh" ?η) ("\\Gh" ?Η) ("\\mu" ?μ)
|
||||||
|
("\\Gth" ?θ) ("\\GTH" ?Θ) ("\\the" ?θ) ("\\The" ?Θ)
|
||||||
|
("\\Gi" ?ι) ("\\GI" ?Ι) ("\\iota" ?ι)
|
||||||
|
("\\Gk" ?κ) ("\\GK" ?Κ)
|
||||||
|
("\\Gl" ?λ) ("\\GL" ?Λ) ("\\lam" ?λ)
|
||||||
|
("\\Gm" ?μ) ("\\GM" Μ) ("\\mu" ?μ)
|
||||||
|
("\\Gx" ?ξ) ("\\GX" ?Ξ) ("\\xi" ?ξ) ("\\Xi" ?Ξ)
|
||||||
|
("\\Gp" ?π) ("\\GP" ?Π) ("\\pi" ?π) ("\\Pi" ?Π)
|
||||||
|
("\\Gr" ?ρ) ("\\GR" ?Ρ) ("\\rho" ?ρ)
|
||||||
|
("\\Gs" ?σ) ("\\GS" ?Σ) ("\\sig" ?σ) ("\\Sig" ?Σ)
|
||||||
|
("\\Gt" ?τ) ("\\GT" ?Τ) ("\\tau" ?τ)
|
||||||
|
("\\Gph" ?ϕ) ("\\GPH" ?Φ) ("\\phi" ?ϕ) ("\\Phi" ?Φ)
|
||||||
|
("\\Gc" ?χ) ("\\GC" ?Χ) ("\\chi" ?χ)
|
||||||
|
("\\Gp" ?ψ) ("\\GP" ?Ψ) ("\\psi" ?ψ)
|
||||||
|
("\\Go" ?ω) ("\\GO" ?Ω) ("\\omega" ?ω) ("\\Omega" ?Ω)
|
||||||
)
|
)
|
||||||
(mapc (lambda (x)
|
(mapc (lambda (x)
|
||||||
(if (cddr x)
|
(if (cddr x)
|
||||||
(quail-defrule (cadr x) (car (cddr x)))))
|
(quail-defrule (cadr x) (car (cddr x)))))
|
||||||
(append math-symbol-list-basic
|
(append math-symbol-list-superscripts
|
||||||
math-symbol-list-extended
|
|
||||||
math-symbol-list-superscripts
|
|
||||||
math-symbol-list-subscripts)))
|
math-symbol-list-subscripts)))
|
||||||
|
|
||||||
;; Java
|
;; Java
|
||||||
|
|||||||
Reference in New Issue
Block a user