From 83b54bb0b375c041fc59f9c0599c626582184903 Mon Sep 17 00:00:00 2001 From: Angelo Peronio Date: Tue, 20 Oct 2020 01:15:32 +0200 Subject: Do not load amssymb if not needed (#6762) Fixes #6469. From https://tex.stackexchange.com/a/549938 --- data/templates/default.latex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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} -- cgit v1.2.3