summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/moderncv/moderncv.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-12-16 21:18:48 +0000
committerKarl Berry <karl@freefriends.org>2021-12-16 21:18:48 +0000
commit378121536177f8e05874ea42c91c539a1cfd7f9c (patch)
treece6b27dac9cc4e0d87f7f549889c9bcf83889770 /Master/texmf-dist/tex/latex/moderncv/moderncv.cls
parent89233415a333943ec25e1e4aad0fb6509d3025ac (diff)
moderncv (16dec21)
git-svn-id: svn://tug.org/texlive/trunk@61324 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/moderncv/moderncv.cls')
-rw-r--r--Master/texmf-dist/tex/latex/moderncv/moderncv.cls21
1 files changed, 3 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncv.cls b/Master/texmf-dist/tex/latex/moderncv/moderncv.cls
index b14fc53e247..2c1f9a0ef05 100644
--- a/Master/texmf-dist/tex/latex/moderncv/moderncv.cls
+++ b/Master/texmf-dist/tex/latex/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