Update math input method and splitting

This commit is contained in:
Marco Thomas
2021-09-26 17:23:37 +02:00
parent 8f40fa8cd6
commit c9b21aacb7

View File

@@ -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