Remove \usepackage{unicode-math} to squash LuaLaTeX bugs

This commit is contained in:
Gerard Vermeulen 2022-05-07 11:09:57 +02:00
parent 4f4510b9a8
commit 3a87c93f4d
3 changed files with 15 additions and 18 deletions

View File

@ -2238,14 +2238,8 @@ Listing [[lst:use-latex-header-1]], [[lst:use-latex-header-2]], [[lst:use-latex-
% LuaLaTeX-, PdfLaTeX-, or XeTeX-COMPILER COMPATIBILITY:
% Prevent collisions by using font packages before compiler specific packages.
\usepackage{ifthen,ifluatex,ifxetex}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{pifont} % check mark (\ding{52}) and cross mark (\ding{56})
\usepackage{textcomp} % \texttimes
\usepackage{wasysym} % \diameter
\ifthenelse{\boolean{luatex}}{
\usepackage{fontspec} % lualatex
\usepackage{unicode-math} % lualatex
}{\ifthenelse{\boolean{xetex}}{
\usepackage{mathspec} % xetex
}{
@ -2253,6 +2247,11 @@ Listing [[lst:use-latex-header-1]], [[lst:use-latex-header-2]], [[lst:use-latex-
\usepackage[utf8]{inputenc} % pdflatex
}
}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{pifont} % check mark (\ding{52}) and cross mark (\ding{56})
\usepackage{textcomp} % \texttimes
\usepackage{wasysym} % \diameter
% Org-mode REQUIREMENTS:
\usepackage{graphicx}

View File

@ -26,14 +26,8 @@
\setbeamertemplate{headline}[default]
\setbeamerfont{button}{size=\footnotesize}
\usepackage{ifthen,ifluatex,ifxetex}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{pifont} % check marks (\ding{52}) and cross marks (\ding{56})
\usepackage{textcomp} % \texttimes
\usepackage{wasysym} % \diameter
\ifthenelse{\boolean{luatex}}{
\usepackage{fontspec}
\usepackage{unicode-math}
}{\ifthenelse{\boolean{xetex}}{
\usepackage{mathspec}
}{
@ -41,6 +35,11 @@
\usepackage[utf8]{inputenc}
}
}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{pifont} % check marks (\ding{52}) and cross marks (\ding{56})
\usepackage{textcomp} % \texttimes
\usepackage{wasysym} % \diameter
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{colortbl}

View File

@ -5,14 +5,8 @@
# --
\documentclass[${1:12pt},svgnames,tikz]{standalone}
\usepackage{ifthen,ifluatex,ifxetex}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{pifont} % check marks (\ding{52}) and cross marks (\ding{56})
\usepackage{textcomp} % \texttimes
\usepackage{wasysym} % \diameter
\ifthenelse{\boolean{luatex}}{
\usepackage{fontspec}
\usepackage{unicode-math}
}{\ifthenelse{\boolean{xetex}}{
\usepackage{mathspec}
}{
@ -20,6 +14,11 @@
\usepackage[utf8]{inputenc}
}
}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{pifont} % check marks (\ding{52}) and cross marks (\ding{56})
\usepackage{textcomp} % \texttimes
\usepackage{wasysym} % \diameter
\usepackage{hyperref}
\hypersetup{