From f45a124a3ccc7fe5f85fd403eed98c7eca8e71cc Mon Sep 17 00:00:00 2001 From: Jonas Xavier Date: Sat, 31 Aug 2024 23:08:21 -0700 Subject: [PATCH] Update packages.tex to include fontspec (#16) --- .github/workflows/main.yml | 1 + book/includes/packages.tex | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3df5ed5..583a57e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,6 +10,7 @@ jobs: uses: xu-cheng/latex-action@v3 with: root_file: infdesc.tex + latexmk_use_lualatex: true - name: Upload PDF file uses: actions/upload-artifact@v3 with: diff --git a/book/includes/packages.tex b/book/includes/packages.tex index 6eb0438..ef0a750 100644 --- a/book/includes/packages.tex +++ b/book/includes/packages.tex @@ -4,6 +4,12 @@ % Packages to be included % +%\usepackage[T1]{fontenc} +%\usepackage[utf8]{inputenc} % The default since 2018 +%\DeclareUnicodeCharacter{200B}{{\hskip 0pt}} + +\usepackage{fontspec} + \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb}