aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bard-elisp/bard-writing.el10
-rw-r--r--config.org10
2 files changed, 16 insertions, 4 deletions
diff --git a/bard-elisp/bard-writing.el b/bard-elisp/bard-writing.el
index cf66650..12c37de 100644
--- a/bard-elisp/bard-writing.el
+++ b/bard-elisp/bard-writing.el
@@ -114,14 +114,20 @@
"Add functions into list."
(add-multiple-into-list
'cdlatex-math-symbol-alist-comb
- '((?V "\\vec"))))
+ '((?V "\\vec")
+ (?= "\\implies" "\\Leftrightarrow" "\\Longleftrightarrow"))))
+
+(use-package xenops
+ :ensure t
+ :config
+ (setq xenops-math-image-scale-factor 1.2))
(define-minor-mode bard/org-math-mode
"Enable features to write math in `org-mode'."
:init-value nil
:lighter " S="
:global nil
- (org-fragtog-mode t)
+ (xenops-mode t)
(org-cdlatex-mode t)
(electric-pair-local-mode t)
(bard/cdlatex-add-math-symbols)
diff --git a/config.org b/config.org
index 919746e..3985b60 100644
--- a/config.org
+++ b/config.org
@@ -4404,14 +4404,20 @@ I want to have a custom format for my daily journal file to start what I want to
"Add functions into list."
(add-multiple-into-list
'cdlatex-math-symbol-alist-comb
- '((?V "\\vec"))))
+ '((?V "\\vec")
+ (?= "\\implies" "\\Leftrightarrow" "\\Longleftrightarrow"))))
+
+ (use-package xenops
+ :ensure t
+ :config
+ (setq xenops-math-image-scale-factor 1.2))
(define-minor-mode bard/org-math-mode
"Enable features to write math in `org-mode'."
:init-value nil
:lighter " S="
:global nil
- (org-fragtog-mode t)
+ (xenops-mode t)
(org-cdlatex-mode t)
(electric-pair-local-mode t)
(bard/cdlatex-add-math-symbols)