Code cleanup
This commit is contained in:
13
moderncv.cls
13
moderncv.cls
@ -64,10 +64,6 @@
|
|||||||
\newif\if@lmodern\@lmoderntrue
|
\newif\if@lmodern\@lmoderntrue
|
||||||
\DeclareOption{nolmodern}{\@lmodernfalse}
|
\DeclareOption{nolmodern}{\@lmodernfalse}
|
||||||
|
|
||||||
% CJK option
|
|
||||||
%\newif\if@CJK\@CJKfalse
|
|
||||||
%\DeclareOption{CJK}{\@CJKtrue}
|
|
||||||
|
|
||||||
% execute default options
|
% execute default options
|
||||||
\ExecuteOptions{a4paper,11pt,color,final}
|
\ExecuteOptions{a4paper,11pt,color,final}
|
||||||
|
|
||||||
@ -89,18 +85,12 @@
|
|||||||
% if... then... else... constructs
|
% if... then... else... constructs
|
||||||
\RequirePackage{ifthen}
|
\RequirePackage{ifthen}
|
||||||
|
|
||||||
% latex vs pdflatex vs xelatex vs luatex compilation
|
|
||||||
%\RequirePackage{ifpdf}
|
|
||||||
|
|
||||||
% color
|
% color
|
||||||
\RequirePackage{color}
|
\RequirePackage{color}
|
||||||
|
|
||||||
% font encoding
|
% font encoding
|
||||||
\RequirePackage[T1]{fontenc}
|
\RequirePackage[T1]{fontenc}
|
||||||
|
|
||||||
% scalable Computer Modern fonts
|
|
||||||
%\usepackage{type1cm}
|
|
||||||
|
|
||||||
% latin modern fonts
|
% latin modern fonts
|
||||||
\if@lmodern
|
\if@lmodern
|
||||||
\RequirePackage{lmodern}\fi
|
\RequirePackage{lmodern}\fi
|
||||||
@ -108,9 +98,6 @@
|
|||||||
% symbols like \Telefon, \Mobilefone, \Letter and \Email
|
% symbols like \Telefon, \Mobilefone, \Letter and \Email
|
||||||
\RequirePackage{marvosym}
|
\RequirePackage{marvosym}
|
||||||
|
|
||||||
% extended characters of T1 in .ps + other guillemets
|
|
||||||
%\RequirePackage{ae,aecompl,aeguill}
|
|
||||||
|
|
||||||
% page geometry
|
% page geometry
|
||||||
\addtolength{\oddsidemargin}{-54pt}
|
\addtolength{\oddsidemargin}{-54pt}
|
||||||
\addtolength{\textwidth}{109pt}
|
\addtolength{\textwidth}{109pt}
|
||||||
|
|||||||
Reference in New Issue
Block a user