aboutsummaryrefslogtreecommitdiff
path: root/bard-elisp/bard-writing.el
diff options
context:
space:
mode:
authorBardofSprites <[email protected]>2026-04-21 16:59:15 -0400
committerBardofSprites <[email protected]>2026-04-21 16:59:15 -0400
commit8c82f07f17be5ec6075b4e4ceb8d956d36218c30 (patch)
tree578f1380a3a0c83568a08f75495af1387c580d31 /bard-elisp/bard-writing.el
parentb0e53ed4f2e88cb716265be43b4bb2e735e59be1 (diff)
update mathmode to xenops and new cdlatex symbols
Diffstat (limited to 'bard-elisp/bard-writing.el')
-rw-r--r--bard-elisp/bard-writing.el10
1 files changed, 8 insertions, 2 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)