diff --git a/data/templates/default.latex b/data/templates/default.latex index e63cd82aa..60af51225 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -89,6 +89,7 @@ $endif$ $if(beamerarticle)$ \usepackage{beamerarticle} % needs to be loaded first $endif$ +\usepackage{amsmath,amssymb} $if(fontfamily)$ \usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$} $else$ @@ -97,17 +98,14 @@ $endif$ $if(linestretch)$ \usepackage{setspace} $endif$ -\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} diff --git a/test/lhs-test.latex b/test/lhs-test.latex index 7b2991ef5..32042b103 100644 --- a/test/lhs-test.latex +++ b/test/lhs-test.latex @@ -4,14 +4,13 @@ % \documentclass[ ]{article} +\usepackage{amsmath,amssymb} \usepackage{lmodern} -\usepackage{amsmath} \usepackage{ifxetex,ifluatex} \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{textcomp} % provide euro and other symbols - \usepackage{amssymb} \else % if luatex or xetex \usepackage{unicode-math} \defaultfontfeatures{Scale=MatchLowercase} diff --git a/test/lhs-test.latex+lhs b/test/lhs-test.latex+lhs index 8ac0ad567..4bc674f4a 100644 --- a/test/lhs-test.latex+lhs +++ b/test/lhs-test.latex+lhs @@ -4,14 +4,13 @@ % \documentclass[ ]{article} +\usepackage{amsmath,amssymb} \usepackage{lmodern} -\usepackage{amsmath} \usepackage{ifxetex,ifluatex} \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{textcomp} % provide euro and other symbols - \usepackage{amssymb} \else % if luatex or xetex \usepackage{unicode-math} \defaultfontfeatures{Scale=MatchLowercase} diff --git a/test/writer.latex b/test/writer.latex index cd939a57f..7fc707b27 100644 --- a/test/writer.latex +++ b/test/writer.latex @@ -4,14 +4,13 @@ % \documentclass[ ]{article} +\usepackage{amsmath,amssymb} \usepackage{lmodern} -\usepackage{amsmath} \usepackage{ifxetex,ifluatex} \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{textcomp} % provide euro and other symbols - \usepackage{amssymb} \else % if luatex or xetex \usepackage{unicode-math} \defaultfontfeatures{Scale=MatchLowercase} diff --git a/test/writers-lang-and-dir.latex b/test/writers-lang-and-dir.latex index 05465e581..1172d23a2 100644 --- a/test/writers-lang-and-dir.latex +++ b/test/writers-lang-and-dir.latex @@ -5,14 +5,13 @@ \documentclass[ english, ]{article} +\usepackage{amsmath,amssymb} \usepackage{lmodern} -\usepackage{amsmath} \usepackage{ifxetex,ifluatex} \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{textcomp} % provide euro and other symbols - \usepackage{amssymb} \else % if luatex or xetex \usepackage{unicode-math} \defaultfontfeatures{Scale=MatchLowercase}