From 4a338ca7746a1154dc8f62c7dcdbf48917ea1374 Mon Sep 17 00:00:00 2001 From: Daniel Weschke Date: Sun, 16 May 2021 16:31:42 +0200 Subject: [PATCH] change subscript and superscript to require braces in org mode --- settings/org-settings.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/settings/org-settings.el b/settings/org-settings.el index d5a034c5..cd85a423 100644 --- a/settings/org-settings.el +++ b/settings/org-settings.el @@ -245,6 +245,7 @@ Example defines :config (setq org-startup-folded nil) ;; nil = showall = #+STARTUP: showall (setq org-startup-with-inline-images t) ;; #+STARTUP: inlineimages|noinlineimages, show inline images when loading a new Org file + (setq org-use-sub-superscripts '{}) ;; braces are *required* in order to trigger interpretations as sub/superscript, see also `org-export-with-sub-superscripts'. C-c C-x \ (`org-toggle-pretty-entities') (setq org-image-actual-width '(600)) ;; image width displayed in org (setq org-tag-persistent-alist '(("ignore" . "i") ("noexport" . "n"))) ;; todo see also org-todo-keyword-faces and org-superstar-todo-bullet-alist @@ -671,6 +672,7 @@ usage: #+HEADER: :prologue (mpl-prologue) ;;(add-to-list 'org-export-filter-latex-fragment-functions ;; 'my-org-export-filter-hyphen-shy) (setq org-export-with-smart-quotes t) ;; OPTIONS keyword, e.g., "’:t". + (setq org-export-with-sub-superscripts '{}) ;; OPTIONS keyword, e.g., "^:{}". ;; http://permalink.gmane.org/gmane.emacs.orgmode/93971 ;; https://emacs.stackexchange.com/questions/30575/adding-latex-newpage-before-a-heading/30892