summaryrefslogtreecommitdiffstats
path: root/site/cleopatra/Contents/Org.org
diff options
context:
space:
mode:
authorThomas Letan <lthms@soap.coffee>2020-02-27 23:24:43 +0100
committerThomas Letan <lthms@soap.coffee>2020-02-27 23:24:43 +0100
commit060c7d60a2ac40842010bb342011407a36992555 (patch)
tree3244cdf98889758f5678f2dbcd1d52eac48036f3 /site/cleopatra/Contents/Org.org
parentAdd a minimal style for the .example class used by Org for results (diff)
Introduce a convenient Org syntax for inline maths
Diffstat (limited to 'site/cleopatra/Contents/Org.org')
-rw-r--r--site/cleopatra/Contents/Org.org5
1 files changed, 5 insertions, 0 deletions
diff --git a/site/cleopatra/Contents/Org.org b/site/cleopatra/Contents/Org.org
index 5ac0001..985481b 100644
--- a/site/cleopatra/Contents/Org.org
+++ b/site/cleopatra/Contents/Org.org
@@ -54,6 +54,11 @@
(setq org-confirm-babel-evaluate nil)
(setq org-export-with-toc nil)
+(add-to-list 'org-entities-user
+ '("im" "\\(" nil "<span class=\"imath\">" "" "" ""))
+(add-to-list 'org-entities-user
+ '("mi" "\\)" nil "</span>" "" "" ""))
+
(setq org-babel-exp-code-template
(concat "#+BEGIN_SRC %lang%switches%flags "
":tangle %tangle :name %name\n"