latex template: put back amssymb

We need it for checkboxes in todo lists, and maybe for
other things.  In this location it seems compatible
with the cases that propmted #6469 and PR #6762.
This commit is contained in:
John MacFarlane 2020-11-25 16:08:10 -08:00
parent 70a7c2446e
commit ea8097e412
5 changed files with 5 additions and 11 deletions

View file

@ -89,6 +89,7 @@ $endif$
$if(beamerarticle)$ $if(beamerarticle)$
\usepackage{beamerarticle} % needs to be loaded first \usepackage{beamerarticle} % needs to be loaded first
$endif$ $endif$
\usepackage{amsmath,amssymb}
$if(fontfamily)$ $if(fontfamily)$
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$} \usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
$else$ $else$
@ -97,17 +98,14 @@ $endif$
$if(linestretch)$ $if(linestretch)$
\usepackage{setspace} \usepackage{setspace}
$endif$ $endif$
\usepackage{amsmath}
\usepackage{ifxetex,ifluatex} \usepackage{ifxetex,ifluatex}
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc} \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage{textcomp} % provide euro and other symbols \usepackage{textcomp} % provide euro and other symbols
\usepackage{amssymb}
\else % if luatex or xetex \else % if luatex or xetex
$if(mathspec)$ $if(mathspec)$
\ifxetex \ifxetex
\usepackage{amssymb}
\usepackage{mathspec} \usepackage{mathspec}
\else \else
\usepackage{unicode-math} \usepackage{unicode-math}

View file

@ -4,14 +4,13 @@
% %
\documentclass[ \documentclass[
]{article} ]{article}
\usepackage{amsmath,amssymb}
\usepackage{lmodern} \usepackage{lmodern}
\usepackage{amsmath}
\usepackage{ifxetex,ifluatex} \usepackage{ifxetex,ifluatex}
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\usepackage[T1]{fontenc} \usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage{textcomp} % provide euro and other symbols \usepackage{textcomp} % provide euro and other symbols
\usepackage{amssymb}
\else % if luatex or xetex \else % if luatex or xetex
\usepackage{unicode-math} \usepackage{unicode-math}
\defaultfontfeatures{Scale=MatchLowercase} \defaultfontfeatures{Scale=MatchLowercase}

View file

@ -4,14 +4,13 @@
% %
\documentclass[ \documentclass[
]{article} ]{article}
\usepackage{amsmath,amssymb}
\usepackage{lmodern} \usepackage{lmodern}
\usepackage{amsmath}
\usepackage{ifxetex,ifluatex} \usepackage{ifxetex,ifluatex}
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\usepackage[T1]{fontenc} \usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage{textcomp} % provide euro and other symbols \usepackage{textcomp} % provide euro and other symbols
\usepackage{amssymb}
\else % if luatex or xetex \else % if luatex or xetex
\usepackage{unicode-math} \usepackage{unicode-math}
\defaultfontfeatures{Scale=MatchLowercase} \defaultfontfeatures{Scale=MatchLowercase}

View file

@ -4,14 +4,13 @@
% %
\documentclass[ \documentclass[
]{article} ]{article}
\usepackage{amsmath,amssymb}
\usepackage{lmodern} \usepackage{lmodern}
\usepackage{amsmath}
\usepackage{ifxetex,ifluatex} \usepackage{ifxetex,ifluatex}
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\usepackage[T1]{fontenc} \usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage{textcomp} % provide euro and other symbols \usepackage{textcomp} % provide euro and other symbols
\usepackage{amssymb}
\else % if luatex or xetex \else % if luatex or xetex
\usepackage{unicode-math} \usepackage{unicode-math}
\defaultfontfeatures{Scale=MatchLowercase} \defaultfontfeatures{Scale=MatchLowercase}

View file

@ -5,14 +5,13 @@
\documentclass[ \documentclass[
english, english,
]{article} ]{article}
\usepackage{amsmath,amssymb}
\usepackage{lmodern} \usepackage{lmodern}
\usepackage{amsmath}
\usepackage{ifxetex,ifluatex} \usepackage{ifxetex,ifluatex}
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\usepackage[T1]{fontenc} \usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage{textcomp} % provide euro and other symbols \usepackage{textcomp} % provide euro and other symbols
\usepackage{amssymb}
\else % if luatex or xetex \else % if luatex or xetex
\usepackage{unicode-math} \usepackage{unicode-math}
\defaultfontfeatures{Scale=MatchLowercase} \defaultfontfeatures{Scale=MatchLowercase}