From 106c7dc8d1d6497dfe5629c7736b031a2a9975a7 Mon Sep 17 00:00:00 2001 From: Luke Naylor <l.naylor@sms.ed.ac.uk> Date: Mon, 19 Feb 2024 14:26:45 +0000 Subject: [PATCH] Remove preamble section for differente compilers --- notebook-preamble.tex | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/notebook-preamble.tex b/notebook-preamble.tex index 375623d..659be8d 100644 --- a/notebook-preamble.tex +++ b/notebook-preamble.tex @@ -21,19 +21,8 @@ \usepackage{upquote} % Upright quotes for verbatim code \usepackage{eurosym} % defines \euro -\usepackage{iftex} -\ifPDFTeX - \usepackage[T1]{fontenc} - \IfFileExists{alphabeta.sty}{ - \usepackage{alphabeta} - }{ - \usepackage[mathletters]{ucs} - \usepackage[utf8x]{inputenc} - } -\else - \usepackage{fontspec} - \usepackage{unicode-math} -\fi +\usepackage{fontspec} +\usepackage{unicode-math} \usepackage{fancyvrb} % verbatim replacement that allows latex \usepackage{grffile} % extends the file name processing of package graphics @@ -56,7 +45,7 @@ \usepackage{longtable} % longtable support required by pandoc >1.10 \usepackage{booktabs} % table support for pandoc > 1.12.2 -\usepackage{array} % table support for pandoc >= 2.11.3 +%\usepackage{array} % table support for pandoc >= 2.11.3 \usepackage{calc} % table minipage width calculation for pandoc >= 2.11.1 \usepackage[inline]{enumitem} % IRkernel/repr support (it uses the enumerate* environment) \usepackage[normalem]{ulem} % ulem is needed to support strikethroughs (\sout) -- GitLab