From b2c6a02efa1e858d0a0f3ebf737ae407a4081de7 Mon Sep 17 00:00:00 2001 From: Stephan Lachnit Date: Fri, 22 Jan 2021 15:48:52 +0100 Subject: [PATCH 1/3] Prettier template Signed-off-by: Stephan Lachnit --- template.tex | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/template.tex b/template.tex index 7919aed..77ea54a 100644 --- a/template.tex +++ b/template.tex @@ -83,12 +83,12 @@ \section{Experience} \subsection{Vocational} -\cventry{year--year}{Job title}{Employer}{City}{}{General description no longer than 1--2 lines.\newline{}% -Detailed achievements:% -\begin{itemize}% -\item Achievement 1; -\item Achievement 2, with sub-achievements: - \begin{itemize}% +\cventry{year--year}{Job title}{Employer}{City}{}{General description no longer than 1--2 lines.\newline{} +Detailed achievements: +\begin{itemize} +\item Achievement 1 +\item Achievement 2 (with sub-achievements) + \begin{itemize} \item Sub-achievement (a); \item Sub-achievement (b), with sub-sub-achievements (don't do this!); \begin{itemize} @@ -98,9 +98,10 @@ Detailed achievements:% \end{itemize} \item Sub-achievement (c); \end{itemize} -\item Achievement 3. +\item Achievement 3 +\item Achievement 4 \end{itemize}} -\cventry{year--year}{Job title}{Employer}{City}{}{Description line 1\newline{}Description line 2} +\cventry{year--year}{Job title}{Employer}{City}{}{Description line 1\newline{}Description line 2\newline{}} \subsection{Miscellaneous} \cventry{year--year}{Job title}{Employer}{City}{}{Description} @@ -108,6 +109,7 @@ Detailed achievements:% \cvitemwithcomment{Language 1}{Skill level}{Comment} \cvitemwithcomment{Language 2}{Skill level}{Comment} \cvitemwithcomment{Language 3}{Skill level}{Comment} +\cvitemwithcomment{Language 4}{Skill level}{Comment} \section{Computer skills} \cvdoubleitem{category 1}{XXX, YYY, ZZZ}{category 4}{XXX, YYY, ZZZ} From 4387015f7b0ee5544cf300cd59ef1863f9ac3c77 Mon Sep 17 00:00:00 2001 From: Stephan Lachnit Date: Fri, 22 Jan 2021 16:01:58 +0100 Subject: [PATCH 2/3] Update changelog for v2.1.0 Signed-off-by: Stephan Lachnit --- CHANGELOG | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 8e300ba..41cbe5f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,14 @@ +version 2.1.0 (21 Jan 2021) +- maintainer change: now team maintained (https://github.com/moderncv), since + original repository is basically dead since 2016. +- new \social options: Xing, Skype, GitLab, Bitbucket, stack overflow, ORCID, + ResearcherID, ResearchGate, Telegram and Google Scholar +- hyperlinks in phone numbers +- switch from l3regex to expl3 +- new skill matrix feature +- move to fonawesome5 package +- default to https + version 2.0.0 (28 Jul 2015) - refactored the code into heads, body, foot and icon substyles. All styles (classic, casual, banking and oldstyle) are just a combination of these and From caa0cb8dbfcbbf27db7b9eb1d38d69c1ee08403a Mon Sep 17 00:00:00 2001 From: David Seus Date: Fri, 22 Jan 2021 16:19:45 +0100 Subject: [PATCH 3/3] Do not use inputenc when not using pdflatex, don't include lmodern by default (#33) --- moderncv.cls | 42 +++++++++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/moderncv.cls b/moderncv.cls index 58f5ce8..2facfcd 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -95,22 +95,34 @@ \xetexorluatexfalse \fi \fi -% automatic loading of latin modern fonts -%\ifxetexorluatex -% \RequirePackage{fontspec} -% \defaultfontfeatures{Ligatures=TeX} -% \RequirePackage{unicode-math} -% \setmainfont{Latin Modern} -% \setsansfont{Latin Modern Sans} -% \setmathfont{Latin Modern Math} -%\else - - \RequirePackage[T1]{fontenc} - \IfFileExists{lmodern.sty}% - {\RequirePackage{lmodern}}% - {} -%\fi +% do not use inputenc and do not automatically load lmodern to avoid problems with German +% charactes, see +% https://tex.stackexchange.com/questions/496630/lualatex-problems-with-german-characters +\ifxetexorluatex +% \RequirePackage{fontspec} +% \defaultfontfeatures{Ligatures=TeX} +% \RequirePackage{unicode-math} +% \setmainfont{Latin Modern} +% \setsansfont{Latin Modern Sans} +% \setmathfont{Latin Modern Math} +% \ifluatex +% \usepackage{luatextra} +% \usepackage{lualatex-math} %loads fontspec +% \usepackage{shellesc} % fix a bug for lualatex shellescape +% \fi +\else + \RequirePackage[utf8]{inputenc} +% \RequirePackage[utf8]{inputenx} +% %additions for utf8 +% \input{ix-utf8enc.dfu} + \RequirePackage[T1]{fontenc} + % loading lmodern can cause issues with certain special characters. avoid. +% \IfFileExists{lmodern.sty}% +% {\RequirePackage{lmodern}}% +% {} +% \fi +\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 \RequirePackage{url}