diff --git a/Twenty-Seconds-Icons_cv.pdf b/Twenty-Seconds-Icons_cv.pdf index 997604f..80825c1 100644 Binary files a/Twenty-Seconds-Icons_cv.pdf and b/Twenty-Seconds-Icons_cv.pdf differ diff --git a/Twenty-Seconds-Icons_cv.tex b/Twenty-Seconds-Icons_cv.tex index 3486d7b..301540e 100644 --- a/Twenty-Seconds-Icons_cv.tex +++ b/Twenty-Seconds-Icons_cv.tex @@ -10,13 +10,7 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\documentclass[icon]{twentysecondcv} -%%%%%%%%%%%%%%% -%% Languages %% -%%%%%%%%%%%%%%% -% set language either by \entrue or \detrue -\entrue - +\documentclass[icon, en]{twentysecondcv} \begin{document} %%%%%%%%%%%%%%%%%%%%%% diff --git a/twentysecondcv.cls b/twentysecondcv.cls index 1652520..40260e5 100644 --- a/twentysecondcv.cls +++ b/twentysecondcv.cls @@ -34,14 +34,36 @@ \RequirePackage{parskip} \RequirePackage{hyperref} + %%%%%%%%%%% % OPTIONS % %%%%%%%%%%% +% languages +% english +\newif\ifen +\entrue +\DeclareOption{en}{% + \defalse + \entrue +} +\newcommand{\en}[1]{\ifen#1\fi} + +% german +\newif\ifde +\defalse +\DeclareOption{de}{% + \enfalse + \detrue +} +\newcommand{\de}[1]{\ifde#1\fi} + % icons \newbool{icon} \DeclareOption{icon}{% \booltrue{icon} } + +% don't add the about me section to the document \newbool{no_aboutme} \DeclareOption{no_aboutme}{% \booltrue{no_aboutme} @@ -55,15 +77,6 @@ \usetikzlibrary{calc} -%%%%%%%%%%%%%%% -%% Languages %% -%%%%%%%%%%%%%%% -\newif\ifen -\newif\ifde - -\newcommand{\en}[1]{\ifen#1\fi} -\newcommand{\de}[1]{\ifde#1\fi} - %%%%%%%%%% % colors % %%%%%%%%%%