From 9389563356c8b6218c9731a009c46b3e2ea2ba8a Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 26 Jun 2017 22:13:01 +0200 Subject: [PATCH] org-entities: Add \dollar and \USD * lisp/org-entities.el (org-entities): Add \dollar and \USD. --- etc/ORG-NEWS | 1 + lisp/org-entities.el | 2 ++ 2 files changed, 3 insertions(+) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 3deab324c..89751cefd 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -389,6 +389,7 @@ Now ~=...=~ markup uses ~@samp{}~ instead of ~@verb{}~. You can use *** Texinfo default table markup is ~@asis~ It used to be ~@samp~ but ~@asis~ is neutral and, therefore, more suitable as a default value. +*** New entities : ~\dollar~ and ~\USD~ *** ~org-parse-time-string~ accepts a new optional argument =ZONE= specifies the current time zone. diff --git a/lisp/org-entities.el b/lisp/org-entities.el index 05ccf0cf5..bf8023b1b 100644 --- a/lisp/org-entities.el +++ b/lisp/org-entities.el @@ -295,6 +295,8 @@ packages to be loaded, add these packages to `org-latex-packages-alist'." ("yen" "\\textyen{}" nil "¥" "yen" "¥" "¥") ("euro" "\\texteuro{}" nil "€" "EUR" "EUR" "€") ("EUR" "\\texteuro{}" nil "€" "EUR" "EUR" "€") + ("dollar" "\\$" nil "$" "$" "$" "$") + ("USD" "\\$" nil "$" "$" "$" "$") "** Property Marks" ("copy" "\\textcopyright{}" nil "©" "(c)" "©" "©")