summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrasmus <rasmus@gmx.us>2013-09-11 11:53:47 +0200
committerNicolas Goaziou <n.goaziou@gmail.com>2013-09-12 17:05:55 +0200
commite5f72fdd93288efb4d5e7a9dc05a409b2afc3fe1 (patch)
treeaf96767d3be98af9d3b151da7913b8668ab612da
parentdf047521faed900aa422d05b039fa7270cfe50b0 (diff)
downloadorg-mode-e5f72fdd93288efb4d5e7a9dc05a409b2afc3fe1.tar.gz
Add amsmath as a global LaTeX dependency
* org.el (org-format-latex-header): Remove amsmath. (org-latex-default-packages-alist): Remove amstext and add amsmath. This increases consistency between LaTeX exports and LaTeX preview snippets.
-rw-r--r--lisp/org.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 59a22a2..e8f25e9 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -3780,7 +3780,6 @@ images at the same place."
(defcustom org-format-latex-header "\\documentclass{article}
\\usepackage[usenames]{color}
-\\usepackage{amsmath}
\\usepackage[mathscr]{eucal}
\[PACKAGES]
\[DEFAULT-PACKAGES]
@@ -3832,11 +3831,11 @@ header, or they will be appended."
("" "float" nil)
("" "wrapfig" nil)
("normalem" "ulem" t)
+ ("" "amsmath" t)
("" "textcomp" t)
("" "marvosym" t)
("" "wasysym" t)
("" "amssymb" t)
- ("" "amstext" nil)
("" "hyperref" nil)
"\\tolerance=1000")
"Alist of default packages to be inserted in the header.
@@ -3848,7 +3847,7 @@ The packages in this list are needed by one part or another of
Org mode to function properly:
- inputenc, fontenc: for basic font and character selection
-- amstext: for subscript and superscript
+- amsmath: for subscript and superscript and math environments
- textcomp, marvosymb, wasysym, amssymb: for various symbols used
for interpreting the entities in `org-entities'. You can skip
some of these packages if you don't use any of their symbols.