summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/moderncv/moderncv.cls
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-12-17 03:01:00 +0000
committerNorbert Preining <norbert@preining.info>2021-12-17 03:01:00 +0000
commit6827f87d3315fc677ae89a9260d455a312a90864 (patch)
tree88318243546c8d29294c2d21d5d7998ccd9d57a4 /macros/latex/contrib/moderncv/moderncv.cls
parent16b22a983bc0f05cbbb201a6e0f5cbbfc3c8fffb (diff)
CTAN sync 202112170300
Diffstat (limited to 'macros/latex/contrib/moderncv/moderncv.cls')
-rw-r--r--macros/latex/contrib/moderncv/moderncv.cls21
1 files changed, 3 insertions, 18 deletions
diff --git a/macros/latex/contrib/moderncv/moderncv.cls b/macros/latex/contrib/moderncv/moderncv.cls
index b14fc53e24..2c1f9a0ef0 100644
--- a/macros/latex/contrib/moderncv/moderncv.cls
+++ b/macros/latex/contrib/moderncv/moderncv.cls
@@ -10,7 +10,7 @@
% identification
%-------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{moderncv}[2021-07-28 v2.2.0 modern curriculum vitae and letter document class]
+\ProvidesClass{moderncv}[2021-12-16 v2.3.0 modern curriculum vitae and letter document class]
%-------------------------------------------------------------------------------
@@ -83,8 +83,8 @@
% color
\RequirePackage[table]{xcolor}
-% font loading
-\RequirePackage{ifxetex,ifluatex}
+% tex compiler checking for symbol loading
+\RequirePackage{iftex}
\newif\ifxetexorluatex
\ifxetex
\xetexorluatextrue
@@ -96,21 +96,6 @@
\fi
\fi
-% for luatex and xetex, do not use inputenc and fontenc
-% see https://tex.stackexchange.com/a/496643
-\ifxetexorluatex
- \RequirePackage{fontspec}
- \defaultfontfeatures{Ligatures=TeX}
- \RequirePackage{unicode-math}
- \setmainfont{Latin Modern Roman}
- \setsansfont{Latin Modern Sans}
- \setmonofont{Latin Modern Mono}
- \setmathfont{Latin Modern Math}
-\else
- \RequirePackage[utf8]{inputenc}
- \RequirePackage[T1]{fontenc}
- \RequirePackage{lmodern}
-\fi
% hyper links (hyperref is loaded at the end of the preamble to pass options required by loaded packages such as CJK)
\newcommand*\pdfpagemode{UseNone}% do not show thumbnails or bookmarks on opening (on supporting browsers); set \pdfpagemode to "UseOutlines" to show bookmarks