themes: fix templates for lualatex and xelatex (#52)

This commit is contained in:
Sina Atalay 2024-04-16 14:21:16 +03:00
parent 34bfd12eea
commit 9331fe8f21
3 changed files with 6 additions and 3 deletions

View File

@ -32,12 +32,13 @@
\usepackage{paracol} % for two and three column entries \usepackage{paracol} % for two and three column entries
\usepackage{ifthen} % for conditional statements \usepackage{ifthen} % for conditional statements
\usepackage{needspace} % for avoiding page brake right after the section title \usepackage{needspace} % for avoiding page brake right after the section title
\usepackage{iftex} % check if engine is pdflatex, xetex or luatex
% Theme specific: % Theme specific:
\usepackage[default, type1]{sourcesanspro} % for using source sans 3 font \usepackage[default, type1]{sourcesanspro} % for using source sans 3 font
% Ensure that generate pdf is machine readable/ATS parsable: % Ensure that generate pdf is machine readable/ATS parsable:
\ifpdf \ifPDFTeX
\input{glyphtounicode} \input{glyphtounicode}
\pdfgentounicode=1 \pdfgentounicode=1
\fi \fi

View File

@ -32,12 +32,13 @@
\usepackage{paracol} % for two and three column entries \usepackage{paracol} % for two and three column entries
\usepackage{ifthen} % for conditional statements \usepackage{ifthen} % for conditional statements
\usepackage{needspace} % for avoiding page brake right after the section title \usepackage{needspace} % for avoiding page brake right after the section title
\usepackage{iftex} % check if engine is pdflatex, xetex or luatex
% Theme specific: % Theme specific:
\usepackage{charter} % for using charter font \usepackage{charter} % for using charter font
% Ensure that generate pdf is machine readable/ATS parsable: % Ensure that generate pdf is machine readable/ATS parsable:
\ifpdf \ifPDFTeX
\input{glyphtounicode} \input{glyphtounicode}
\pdfgentounicode=1 \pdfgentounicode=1
\fi \fi

View File

@ -32,9 +32,10 @@
\usepackage{paracol} % for two and three column entries \usepackage{paracol} % for two and three column entries
\usepackage{ifthen} % for conditional statements \usepackage{ifthen} % for conditional statements
\usepackage{needspace} % for avoiding page brake right after the section title \usepackage{needspace} % for avoiding page brake right after the section title
\usepackage{iftex} % check if engine is pdflatex, xetex or luatex
% Ensure that generate pdf is machine readable/ATS parsable: % Ensure that generate pdf is machine readable/ATS parsable:
\ifpdf \ifPDFTeX
\input{glyphtounicode} \input{glyphtounicode}
\pdfgentounicode=1 \pdfgentounicode=1
\fi \fi