diff options
author | Angelo Peronio <angelo.peronio@gmail.com> | 2020-10-20 01:15:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-19 16:15:32 -0700 |
commit | 83b54bb0b375c041fc59f9c0599c626582184903 (patch) | |
tree | 1e1c93eb47b7593d4a6105a843e6edd2b788b5a3 | |
parent | 2332a08f1e192de24f9ff425ed31f8dd20d1fa82 (diff) | |
download | pandoc-83b54bb0b375c041fc59f9c0599c626582184903.tar.gz |
Do not load amssymb if not needed (#6762)
Fixes #6469. From https://tex.stackexchange.com/a/549938
-rw-r--r-- | data/templates/default.latex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex index eed41d54b..80f6a7feb 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -97,15 +97,17 @@ $endif$ $if(linestretch)$ \usepackage{setspace} $endif$ -\usepackage{amssymb,amsmath} +\usepackage{amsmath} \usepackage{ifxetex,ifluatex} \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc} \usepackage[utf8]{inputenc} \usepackage{textcomp} % provide euro and other symbols + \usepackage{amssymb} \else % if luatex or xetex $if(mathspec)$ \ifxetex + \usepackage{amssymb} \usepackage{mathspec} \else \usepackage{unicode-math} |