summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-06-26 22:13:01 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-06-26 22:13:01 +0200
commit9389563356c8b6218c9731a009c46b3e2ea2ba8a (patch)
treed64e93fe08d47f3dfcdd4c65d2632df0aa22e3b6
parentdf0c345eacaaa7033ffa3e561abd735d3ea26d71 (diff)
downloadorg-mode-9389563356c8b6218c9731a009c46b3e2ea2ba8a.tar.gz
org-entities: Add \dollar and \USD
* lisp/org-entities.el (org-entities): Add \dollar and \USD.
-rw-r--r--etc/ORG-NEWS1
-rw-r--r--lisp/org-entities.el2
2 files changed, 3 insertions, 0 deletions
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index 3deab32..89751ce 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 05ccf0c..bf8023b 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;" "yen" "¥" "¥")
("euro" "\\texteuro{}" nil "&euro;" "EUR" "EUR" "€")
("EUR" "\\texteuro{}" nil "&euro;" "EUR" "EUR" "€")
+ ("dollar" "\\$" nil "$" "$" "$" "$")
+ ("USD" "\\$" nil "$" "$" "$" "$")
"** Property Marks"
("copy" "\\textcopyright{}" nil "&copy;" "(c)" "©" "©")