From 0444fbda0271c45b943cc742b90944fb9de72289 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Tue, 21 Jun 2016 07:52:43 +0200 Subject: [PATCH] Cleanup. --- moderncv.cls | 493 -------------------------------------- moderncvcompatibility.sty | 72 ------ moderncvthemecasual.sty | 154 ------------ moderncvthemeclassic.sty | 173 ------------- moderncvthemecustom.sty | 179 -------------- moderncvthemeempty.sty | 43 ---- 6 files changed, 1114 deletions(-) delete mode 100644 moderncv.cls delete mode 100644 moderncvcompatibility.sty delete mode 100644 moderncvthemecasual.sty delete mode 100644 moderncvthemeclassic.sty delete mode 100644 moderncvthemecustom.sty delete mode 100644 moderncvthemeempty.sty diff --git a/moderncv.cls b/moderncv.cls deleted file mode 100644 index 74f6d8e..0000000 --- a/moderncv.cls +++ /dev/null @@ -1,493 +0,0 @@ -%% start of file `moderncv.cls'. -%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com). -% -% This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License version 1.3c, -% available at http://www.latex-project.org/lppl/. - - -%------------------------------------------------------------------------------- -% identification -%------------------------------------------------------------------------------- -\NeedsTeXFormat{LaTeX2e} -\ProvidesClass{moderncv}[2010/08/03 v0.12 modern curriculum vitae document class] - - -%------------------------------------------------------------------------------- -% debugging -%------------------------------------------------------------------------------- -\newif\if@DEBUG\@DEBUGfalse - - -%------------------------------------------------------------------------------- -% class options -% -% (need to be done before the external package loading, for example because -% we need \paperwidth, \paperheight and \@ptsize to be defined before loading -% geometry and fancyhdr) -%------------------------------------------------------------------------------- -% paper size option -\DeclareOption{a4paper}{ - \setlength\paperheight{297mm} - \setlength\paperwidth{210mm}} -\DeclareOption{a5paper}{ - \setlength\paperheight{210mm} - \setlength\paperwidth{148mm}} -\DeclareOption{b5paper}{ - \setlength\paperheight{250mm} - \setlength\paperwidth{176mm}} -\DeclareOption{letterpaper}{ - \setlength\paperheight{11in} - \setlength\paperwidth{8.5in}} -\DeclareOption{legalpaper}{ - \setlength\paperheight{14in} - \setlength\paperwidth{8.5in}} -\DeclareOption{executivepaper}{ - \setlength\paperheight{10.5in} - \setlength\paperwidth{7.25in}} -\DeclareOption{landscape}{ - \setlength\@tempdima{\paperheight} - \setlength\paperheight{\paperwidth} - \setlength\paperwidth{\@tempdima}} - -% font size options -\newcommand\@ptsize{} -\DeclareOption{10pt}{\renewcommand\@ptsize{0}} -\DeclareOption{11pt}{\renewcommand\@ptsize{1}} -\DeclareOption{12pt}{\renewcommand\@ptsize{2}} - -% draft/final option -\DeclareOption{draft}{\setlength\overfullrule{5pt}} -\DeclareOption{final}{\setlength\overfullrule{0pt}} - -% nolmodern option -\newif\if@lmodern\@lmoderntrue -\DeclareOption{nolmodern}{\@lmodernfalse} - -% nocolor option -\newif\if@color\@colortrue -\DeclareOption{nocolor}{\@colorfalse} - -% CJK option -%\newif\if@CJK\@CJKfalse -%\DeclareOption{CJK}{\@CJKtrue} - -% execute default options -\ExecuteOptions{a4paper,10pt,color,final} - -% process given options -\ProcessOptions\relax -\input{size1\@ptsize.clo} - - -%------------------------------------------------------------------------------- -% required packages -%------------------------------------------------------------------------------- -% \AtEndPreamble hook (loading tetoolbox instead of defining the macro, as to avoid incompatibilities with etoolbox (and packages relying on it) defining the macro too) -\RequirePackage{etoolbox} -%\let\@endpreamblehook\@empty -%\def\AtEndPreamble{\g@addto@macro\@endpreamblehook} -%\let\moderncv@document\document -%\def\document{\endgroup\@endpreamblehook\begingroup\moderncv@document} - -% if... then... else... constructs -\RequirePackage{ifthen} - -% latex vs pdflatex vs xelatex vs luatex compilation -%\RequirePackage{ifpdf} - -% color -\RequirePackage{color} - -% font encoding -\RequirePackage[T1]{fontenc} - -% scalable Computer Modern fonts -%\usepackage{type1cm} - -% latin modern fonts -\if@lmodern - \RequirePackage{lmodern}\fi - -% symbols like \Telefon, \Mobilefone, \Letter and \Email -\RequirePackage{marvosym} - -% extended characters of T1 in .ps + other guillemets -%\RequirePackage{ae,aecompl,aeguill} - -% page geometry -\addtolength{\oddsidemargin}{-54pt} -\addtolength{\textwidth}{109pt} -\addtolength{\topmargin}{-70pt} -\addtolength{\textheight}{122pt} -\addtolength{\marginparsep}{-5pt} -\addtolength{\marginparwidth}{-10pt} - -% hyperrefs -\RequirePackage{url} -\urlstyle{tt} -% load hyperred at the end of the preamble to pass options required by loaded packages (like CJK) -\AtEndPreamble{ - \@ifpackageloaded{CJK} - {\RequirePackage[CJKbookmarks]{hyperref}} - {\RequirePackage[pdftex]{hyperref}} - \AtBeginDocument{ - \hypersetup{ - breaklinks, -% baseurl = http://, - pdfborder = 0 0 0, -% pdfpagemode = UseNone,% do not show thumbnails or bookmarks on opening -% pdfstartview = FitH, -% pdfstartpage = 1, - pdfcreator = \LaTeX{} with `moderncv' package, - pdfproducer = \LaTeX{}, - bookmarksopen = true, - pdfauthor = \@firstname~\@familyname, - pdftitle = \@title, - pdfsubject = \@firstname~\@familyname, - pdfkeywords = \@firstname~\@familyname{} curriculum vit\ae{}}} - \pagenumbering{arabic}% has to be issued after loading hyperref -} - -% graphics -\RequirePackage{graphicx} - -% headers and footers -\RequirePackage{fancyhdr} -\fancypagestyle{plain}{ - \renewcommand{\headrulewidth}{0pt} - \renewcommand{\footrulewidth}{0pt} - \fancyhf{}} -\pagestyle{plain} - -% compatibility package with older versions of moderncv -\RequirePackageWithOptions{moderncvcompatibility} - - -%------------------------------------------------------------------------------- -% class definition -%------------------------------------------------------------------------------- -% minimal base settings -\setlength\lineskip{1\p@} -\setlength\normallineskip{1\p@} -\renewcommand\baselinestretch{} -\setlength{\parindent}{0pt} -\setlength{\parskip}{0pt} -\setlength\columnsep{10\p@} -\setlength\columnseprule{0\p@} - -% TO BE TESTED -%\setlength\arraycolsep{5\p@} -%\setlength\tabcolsep{6\p@} -%\setlength\arrayrulewidth{.4\p@} -%\setlength\doublerulesep{2\p@} -%\setlength\tabbingsep{\labelsep} -%\setlength\fboxsep{3\p@} -%\setlength\fboxrule{.4\p@} - -\pagestyle{empty} -\raggedbottom -\onecolumn - - -%------------------------------------------------------------------------------- -% style commands definitions -%------------------------------------------------------------------------------- -% symbols used -\providecommand*{\listitemsymbol}{\Neutral}%{{\fontencoding{U}\fontfamily{ding}\selectfont\tiny\symbol{'102}}} -\providecommand*{\addresssymbol}{} -\providecommand*{\mobilesymbol}{\Mobilefone} -\providecommand*{\phonesymbol}{\Telefon} -\providecommand*{\faxsymbol}{\FAX} -\providecommand*{\emailsymbol}{\Letter} -\providecommand*{\homepagesymbol}{{\Large\ComputerMouse}} - -% colors -\definecolor{firstnamecolor}{rgb}{0,0,0} -\definecolor{familynamecolor}{rgb}{0,0,0} -\definecolor{titlecolor}{rgb}{0,0,0} -\definecolor{addresscolor}{rgb}{0,0,0} -\definecolor{quotecolor}{rgb}{0,0,0} -\definecolor{sectionrectanglecolor}{rgb}{0,0,0} -\definecolor{sectiontitlecolor}{rgb}{0,0,0} -\definecolor{subsectioncolor}{rgb}{0,0,0} -\definecolor{hintcolor}{rgb}{0,0,0} - -% fonts -\providecommand*{\firstnamefont}{} -\providecommand*{\familynamefont}{} -\providecommand*{\titlefont}{} -\providecommand*{\addressfont}{} -\providecommand*{\quotefont}{} -\providecommand*{\sectionfont}{} -\providecommand*{\subsectionfont}{} -\providecommand*{\hintfont}{\small\sffamily} - -% styles -\providecommand*{\firstnamestyle}[1]{{\firstnamefont\color{firstnamecolor}#1}} -\providecommand*{\familynamestyle}[1]{{\familynamefont\color{familynamecolor}#1}} -\providecommand*{\titlestyle}[1]{{\titlefont\color{titlecolor}#1}} -\providecommand*{\addresstyle}[1]{{\addressfont\color{addresscolor}#1}} -\providecommand*{\quotestyle}[1]{{\quotefont\color{quotecolor}#1}} -\providecommand*{\sectionstyle}[1]{{\sectionfont\color{sectiontitlecolor}#1}} -\providecommand*{\subsectionstyle}[1]{{\subsectionfont\color{subsectioncolor}#1}} -\providecommand*{\hintstyle}[1]{{\hintfont\color{hintcolor}#1}} - -% themes: casual (default), classic, ... -\newcommand*{\moderncvtheme}[2][]{ - \def\@moderncvtheme{#2} - \def\@moderncvthemeoptions{#1}} -\moderncvtheme{casual}% default theme -\AtEndPreamble{\RequirePackage[\@moderncvthemeoptions]{moderncvtheme\@moderncvtheme}} - - -%------------------------------------------------------------------------------- -% structure commands definitions -%------------------------------------------------------------------------------- -\newcommand*{\firstname}[1]{\def\@firstname{#1}} -\newcommand*{\familyname}[1]{\def\@familyname{#1}} -\renewcommand*{\title}[1]{\def\@title{#1}} -\newcommand*{\address}[2]{\def\@addressstreet{#1}\def\@addresscity{#2}} -\newcommand*{\mobile}[1]{\def\@mobile{#1}} -\newcommand*{\phone}[1]{\def\@phone{#1}} -\renewcommand*{\fax}[1]{\def\@fax{#1}} -\newcommand*{\email}[1]{\def\@email{#1}} -\newcommand*{\homepage}[1]{\def\@homepage{#1}} -\newcommand*{\extrainfo}[1]{\def\@extrainfo{#1}} -\def\@photowidth{0pt} -\newcommand*{\photo}[2][64pt]{\def\@photowidth{#1}\def\@photo{#2}} -\newcommand*{\quote}[1]{\def\@quote{#1}} - -% length used by the moderncv layout -% quote length -\newlength{\quotewidth} -% section lengths -\newlength{\hintscolumnwidth} -\newlength{\separatorcolumnwidth} -\setlength{\separatorcolumnwidth}{0.025\textwidth} -\newlength{\maincolumnwidth} -% doubleitem lengths -\newlength{\doubleitemmaincolumnwidth} -% listitem lengths -\newlength{\listitemsymbolwidth} -\settowidth{\listitemsymbolwidth}{\listitemsymbol{}~} -\newlength{\listitemmaincolumnwidth} -% listdoubleitem lengths -\newlength{\listdoubleitemmaincolumnwidth} -% recompute all the lengths that depends on the text width -\newcommand*{\recomputethemelengths}{} -\newcommand*{\recomputelengths}{% - \setlength{\quotewidth}{0.65\textwidth}% - % main lenghts - \setlength{\maincolumnwidth}{\textwidth}% - \addtolength{\maincolumnwidth}{-\separatorcolumnwidth}% - \addtolength{\maincolumnwidth}{-\hintscolumnwidth}% - % listitem lengths - \setlength{\listitemmaincolumnwidth}{\maincolumnwidth}% - \addtolength{\listitemmaincolumnwidth}{-\listitemsymbolwidth}% - % doubleitem lengths - \setlength{\doubleitemmaincolumnwidth}{\maincolumnwidth}% - \addtolength{\doubleitemmaincolumnwidth}{-\hintscolumnwidth}% - \addtolength{\doubleitemmaincolumnwidth}{-\separatorcolumnwidth}% - \setlength{\doubleitemmaincolumnwidth}{0.5\doubleitemmaincolumnwidth}% - % listdoubleitem lengths - \setlength{\listdoubleitemmaincolumnwidth}{\maincolumnwidth}% - \addtolength{\listdoubleitemmaincolumnwidth}{-\listitemsymbolwidth}% - \setlength{\listdoubleitemmaincolumnwidth}{0.475\listdoubleitemmaincolumnwidth}% - % fancyhdr lengths - \renewcommand{\headwidth}{\textwidth}% - \recomputethemelengths} -\setlength{\hintscolumnwidth}{0.15\textwidth} -\recomputelengths - -% makes the cv title -%\newcommand*{\maketitle}{}% -\title{}% to avoid LaTeX complaining that \maketitle is a called without first a call to \title - -% draws a colored rectangle -% usage: \colorrule[optional height]{width} -%\newcommand*{\colorrule}[2][1ex]{{\color{sectionrectanglecolor}{\rule{#2}{#1}}}} - -% usage: \section{} -\newcommand*{\section}[1]{% - \vspace*{2.5ex}% - \parbox[m]{\hintscolumnwidth}{\raggedleft\hintfont{\color{sectionrectanglecolor}\rule{\hintscolumnwidth}{1ex}}}% - \phantomsection{}% reset the anchor for hyperrefs - \addcontentsline{toc}{part}{#1}% - \hspace{\separatorcolumnwidth}% - \parbox[m]{\maincolumnwidth}{\sectionstyle{#1}}% - \par\nobreak\vskip 1ex\@afterheading}% to avoid a pagebreak after the heading -% starred variant, which is identical but defined to allow its use (e.g. for natbib compatibility, who uses \section*{} for the bibliography header) -\AtEndPreamble{% - \@ifpackageloaded{natbib} - { - \RequirePackage{suffix} - \WithSuffix\newcommand\section*{\section} - }{} -} - -% usage: \subsection{title} -\newcommand*{\subsection}[1]{% - \begin{tabular}{@{}p{\hintscolumnwidth}@{\hspace{\separatorcolumnwidth}}p{\maincolumnwidth}@{}}% - \raggedleft\hintfont{} &{\subsectionstyle{#1}}% - \end{tabular}% - \par\nobreak\vskip 0.5ex\@afterheading}% to avoid a pagebreak after the heading -% \phantomsection{}% reset the anchor for hyperrefs -% \addcontentsline{toc}{chapter}{#1}% does not work, the bookmark is placed at the same level as sections (placed themselves at part level to be visible, as hyperref does not allow sections without parents...) - -% usage: \cvline{margintext}{linetext} -\newcommand*{\cvline}[3][.25em]{% - \begin{tabular}{@{}p{\hintscolumnwidth}@{\hspace{\separatorcolumnwidth}}p{\maincolumnwidth}@{}}% - \raggedleft\hintfont{#2} &{\normalfont{\small#3}}% - \end{tabular}\\[#1]} - -% usage: \cvdoubleitem{subtitle}{text}{subtitle}{text} -\newcommand*{\cvdoubleitem}[4]{% - \cvline{#1}{\begin{minipage}[t]{\doubleitemmaincolumnwidth}#2\end{minipage}% - \hfill% - \begin{minipage}[t]{\hintscolumnwidth}\raggedleft\hintfont{#3}\end{minipage}\hspace*{\separatorcolumnwidth}\begin{minipage}[t]{\doubleitemmaincolumnwidth}#4\end{minipage}}} - -% usage: \cvlistitem[symbol]{point1} -\newcommand*{\cvlistitem}[2][\listitemsymbol{}]{% - \cvline[0pt]{}{#1~\begin{minipage}[t]{\listitemmaincolumnwidth}#2\end{minipage}}} - -% usage: \cvlistdoubleitem[symbol]{point1}{point2} -\newcommand*{\cvlistdoubleitem}[3][\listitemsymbol{}]{% - \cvline[0pt]{}{#1~\begin{minipage}[t]{\listdoubleitemmaincolumnwidth}#2\end{minipage}% - \hfill% - \ifthenelse{\equal{#3}{}}% - {}% - {#1~\begin{minipage}[t]{\listdoubleitemmaincolumnwidth}#3\end{minipage}}}} - -% usage: \cventry{years}{degree/job title}{institution/employer}{localization}{optionnal: grade/...}{optional: comment/job description} -\newcommand*{\cventry}[6]{% - \cvline[1em]{#1}{% - {\bfseries#2}% - \ifthenelse{\equal{#3}{}}{}{, {\slshape#3}}% - \ifthenelse{\equal{#4}{}}{}{, #4}% - \ifthenelse{\equal{#5}{}}{}{, #5}% - .% - \ifx&% - \else{\newline{}\begin{minipage}[t]{\linewidth}#6\end{minipage}}\fi% - }}% - -% usage: \link[optional text]{link} -\newcommand*{\link}[2][]{% - \ifthenelse{\equal{#1}{}}% - {\href{#2}{#2}}% - {\href{#2}{#1}}} - -% usage: \httplink[optional text]{link} -\newcommand*{\httplink}[2][]{% - \ifthenelse{\equal{#1}{}}% - {\href{http://#2}{#2}}% - {\href{http://#2}{#1}}} - -% usage: \emaillink[optional text]{link} -\newcommand*{\emaillink}[2][]{% - \ifthenelse{\equal{#1}{}}% - {\href{mailto:#2}{#2}}% - {\href{mailto:#2}{#1}}} - -% usage: \nopagenumbers{} -\newif\if@displaypagenumbers\@displaypagenumberstrue -\newcommand*{\nopagenumbers}{\@displaypagenumbersfalse} -\AtEndPreamble{% -\AtBeginDocument{% - \if@displaypagenumbers% - \@ifundefined{r@lastpage}{}{% - \ifthenelse{\pageref{lastpage} > 1}{% - \fancypagestyle{plain}{% - \fancyfoot[r]{\addressfont\color{quotecolor}\footnotesize\thepage/\pageref{lastpage}}}% - \pagestyle{plain}}{}}% - \AtEndDocument{\label{lastpage}}\else\fi}} - -% thebibliography environment, for use with BibTeX and possibly multibib -\newcommand{\refname}{Publications} -\newlength{\bibindent} -\setlength{\bibindent}{1.5em} -% bibliography item label -\newcommand*{\bibliographyitemlabel}{}% use \@biblabel{\arabic{enumiv}} for BibTeX labels -%\newif\if@multibibfirstbib\@multibibfirstbibfalse -% bibliography head (section, etc}, depending on whether multibib is used -\newcommand*{\bibliographyhead}[1]{\section{#1}} -\AtEndPreamble{\@ifpackageloaded{multibib}{\renewcommand*{\bibliographyhead}[1]{\subsection{#1}}}{}} -% thebibliography environment definition -\newenvironment{thebibliography}[1]% - {% - \bibliographyhead{\refname}% - \small% - \begin{list}{\bibliographyitemlabel}% - {% - \setlength{\topsep}{0pt}% - \setlength{\labelwidth}{\hintscolumnwidth}% - \setlength{\labelsep}{\separatorcolumnwidth}% - \leftmargin\labelwidth% - \advance\leftmargin\labelsep% - \@openbib@code% - \usecounter{enumiv}% - \let\p@enumiv\@empty% - \renewcommand\theenumiv{\@arabic\c@enumiv}}% - \sloppy\clubpenalty4000\widowpenalty4000% -% \sfcode`\.\@m% -% \sfcode `\=1000\relax% - }% - {% - \def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}% - \end{list}% - } -\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em} -\let\@openbib@code\@empty - -% itemize, enumerate and description environment -\setlength{\leftmargini} {1.2em} -\leftmargin\leftmargini -\setlength{\leftmarginii} {1em} -\setlength{\leftmarginiii} {1.87em} -\setlength{\leftmarginiv} {1.7em} -\setlength{\leftmarginv} {1em} -\setlength{\leftmarginvi} {1em} -\setlength{\labelsep} {.5em} -\setlength{\labelwidth} {\leftmargini} -\addtolength{\labelwidth} {-\labelsep} -\@beginparpenalty -\@lowpenalty -\@endparpenalty -\@lowpenalty -\@itempenalty -\@lowpenalty -% itemize labels -\newcommand\labelitemi{\listitemsymbol{}} -\newcommand\labelitemii{{\large\bfseries-}} -\newcommand\labelitemiii{\textperiodcentered}%{\textasteriskcentered} -\newcommand\labelitemiv{\textperiodcentered} -% enumerate labels -\renewcommand\theenumi{\@arabic\c@enumi} -\renewcommand\theenumii{\@alph\c@enumii} -\renewcommand\theenumiii{\@roman\c@enumiii} -\renewcommand\theenumiv{\@Alph\c@enumiv} -\newcommand\labelenumi{\theenumi.} -\newcommand\labelenumii{(\theenumii)} -\newcommand\labelenumiii{\theenumiii.} -\newcommand\labelenumiv{\theenumiv.} -\renewcommand\p@enumii{\theenumi} -\renewcommand\p@enumiii{\p@enumii(\theenumii)} -\renewcommand\p@enumiv{\p@enumiii\theenumiii} -% description label -\newcommand*\descriptionlabel[1]{\hspace\labelsep\normalfont\bfseries#1} -% hooks to adjust spacing (idea by Jakob Schiøtz; see http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/tweaklist.sty) -\RequirePackage{tweaklist}% distributed with moderncv, not found on ctan and slightly modified -\renewcommand*{\itemhook}{ - \setlength{\topsep}{0pt}% - \setlength{\itemsep}{0pt}} -\renewcommand*{\enumhook}{\itemhook{}} -\renewcommand*{\deschook}{\itemhook{}} - -% classical \today definition -\def\today{\ifcase\month\or - January\or February\or March\or April\or May\or June\or - July\or August\or September\or October\or November\or December\fi - \space\number\day, \number\year} - - -\endinput - - -%% end of file `moderncv.cls'. diff --git a/moderncvcompatibility.sty b/moderncvcompatibility.sty deleted file mode 100644 index f0e7945..0000000 --- a/moderncvcompatibility.sty +++ /dev/null @@ -1,72 +0,0 @@ -%% start of file `moderncvcompatibility.sty'. -%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com). -% -% This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License version 1.3c, -% available at http://www.latex-project.org/lppl/. - - -%------------------------------------------------------------------------------- -% identification -%------------------------------------------------------------------------------- -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{moderncvcompatibility}[2010/08/03 v0.12 modern curriculum vitae compatibility patches] - - -%------------------------------------------------------------------------------- -% required packages -%------------------------------------------------------------------------------- - - -%------------------------------------------------------------------------------- -% package options -%------------------------------------------------------------------------------- -% old casual option (version 0.1) -%\DeclareOption{casual}{\input{moderncvstylecasual.sty}} - -% old classic option (version 0.1) -%\DeclareOption{classic}{\input{moderncvstyleclassic.sty}} - -\DeclareOption*{} - -% process given options -\ProcessOptions\relax - -%------------------------------------------------------------------------------- -% definitions -%------------------------------------------------------------------------------- -% compatibility with version 0.1 -\newcommand*{\cvresume}[2]{\cvlistdoubleitem{#1}{#2}} - -% compatibility with versions <= 0.2 -% section, cvline, ... with width argument... -%\newcommand*{\section}[2][0.825]{% -% \closesection{}% -% \@sectionopentrue% -% \addcontentsline{toc}{part}{#2} -% \begin{longtable}[t]{@{}r@{\hspace{.025\textwidth}}@{}p{#1\textwidth}@{}}% -%% \colorrule{.15\textwidth}&\mbox{\color{sectiontitlecolor}\sectionfont#2}\\[1ex]}% -% {\color{sectionrectanglecolor}\rule{0.15\textwidth}{1ex}}&\mbox{\color{sectiontitlecolor}\sectionfont#2}\\[1ex]}% -%\newcommand*{\cvline}[3][.825]{% -% \begin{minipage}[t]{\hintscolumnwidth}\raggedleft\small\sffamily#2\end{minipage}&\begin{minipage}[t]{\maincolumnwidth}#3\end{minipage}\\} -%\newcommand*{\cvitem}[3][.825]{% -% \cvline[#1]{#2}{#3\vspace*{.75em}}} % the \vspace*{} inside the cvline environment is a hack... (should conceptually be outside the environment) - -% compatibility with versions <= 0.5 -\newcommand*{\cvitem}[2]{\cvline{#1}{#2}} -\newcommand*{\moderncvstyle}[1]{\moderncvtheme{#1}} - -% compatibility with versions <=0.7 -\newcommand*{\closesection}{} -\newcommand*{\emptysection}{} -\newcommand*{\sethintscolumnlength}[1]{% - \setlength{\hintscolumnwidth}{#1}% - \recomputelengths} -\newcommand*{\sethintscolumntowidth}[1]{% - \settowidth{\hintscolumnwidth}{#1}% - \recomputelengths} - -\endinput - - -%% end of file `moderncvcompatibility.sty'. diff --git a/moderncvthemecasual.sty b/moderncvthemecasual.sty deleted file mode 100644 index b4b3562..0000000 --- a/moderncvthemecasual.sty +++ /dev/null @@ -1,154 +0,0 @@ -%% start of file `moderncvthemecasual.sty'. -%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com). -% -% This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License version 1.3c, -% available at http://www.latex-project.org/lppl/. - - -%------------------------------------------------------------------------------- -% identification -%------------------------------------------------------------------------------- -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{moderncvthemecasual}[2010/08/03 v0.12 modern curriculum vitae style: casual] - - -%------------------------------------------------------------------------------- -% required packages -%------------------------------------------------------------------------------- - - -%------------------------------------------------------------------------------- -% package options -%------------------------------------------------------------------------------- -% color options -% blue (default option) -\DeclareOption{blue}{} -% orange -\newif\if@colororange\@colororangefalse -\DeclareOption{orange}{\@colororangetrue} -% green -\newif\if@colorgreen\@colorgreenfalse -\DeclareOption{green}{\@colorgreentrue} -% red -\newif\if@colorred\@colorredfalse -\DeclareOption{red}{\@colorredtrue} -% grey -\newif\if@colorgrey\@colorgreyfalse -\DeclareOption{grey}{\@colorgreytrue} - -% roman option -\newif\if@roman\@romanfalse -\DeclareOption{roman}{\@romantrue} - -% unused options -\DeclareOption*{ - \PackageWarning{moderncvthemecasual}{Unknown option ‘\CurrentOption’}} - -% execute default options -\ExecuteOptions{color} - -% process given options -\ProcessOptions\relax - - -%------------------------------------------------------------------------------- -% style definition -%------------------------------------------------------------------------------- -% symbols used - -% colors -\definecolor{firstnamecolor}{rgb}{0.65,0.65,0.65} -\definecolor{familynamecolor}{rgb}{0.45,0.45,0.45} -\definecolor{quotecolor}{rgb}{0.35,0.35,0.35} -\definecolor{addresscolor}{rgb}{0.35,0.35,0.35} -% default blue color - \definecolor{sectionrectanglecolor}{rgb}{0.25,0.50,0.75} - \definecolor{sectiontitlecolor}{rgb}{0.20,0.40,0.65} - \definecolor{subsectioncolor}{rgb}{0.20,0.40,0.65} - \definecolor{footersymbolcolor}{rgb}{0.25,0.50,0.75} -\if@colororange - \definecolor{sectionrectanglecolor}{rgb}{1.00,0.65,0.20} - \definecolor{sectiontitlecolor}{rgb}{0.95,0.55,0.15} - \definecolor{subsectioncolor}{rgb}{0.95,0.55,0.15} - \definecolor{footersymbolcolor}{rgb}{0.95,0.55,0.15}\fi -\if@colorgreen - \definecolor{sectionrectanglecolor}{rgb}{0.55,0.85,0.35} - \definecolor{sectiontitlecolor}{rgb}{0.30,0.65,0.15} - \definecolor{subsectioncolor}{rgb}{0.30,0.65,0.15} - \definecolor{footersymbolcolor}{rgb}{0.30,0.65,0.15}\fi -\if@colorred - \definecolor{sectionrectanglecolor}{rgb}{1.00,0.30,0.30} - \definecolor{sectiontitlecolor}{rgb}{0.95,0.20,0.20} - \definecolor{subsectioncolor}{rgb}{0.95,0.20,0.20} - \definecolor{footersymbolcolor}{rgb}{0.95,0.20,0.20}\fi -\if@colorgrey - \definecolor{sectionrectanglecolor}{rgb}{0.75,0.75,0.75} - \definecolor{sectiontitlecolor}{rgb}{0.35,0.35,0.35} - \definecolor{subsectioncolor}{rgb}{0.35,0.35,0.35} - \definecolor{footersymbolcolor}{rgb}{0.35,0.35,0.35}\fi - -% fonts -\if@roman - \AtBeginDocument{\rmfamily} -\else - \AtBeginDocument{\sffamily}\fi -\renewcommand*{\ttdefault}{pcr} -\renewcommand*{\firstnamefont}{\fontsize{38}{40}\sffamily\mdseries\upshape} -\renewcommand*{\familynamefont}{\firstnamefont} -\renewcommand*{\addressfont}{\normalsize\sffamily\mdseries\slshape} -\renewcommand*{\quotefont}{\large\slshape} -\renewcommand*{\sectionfont}{\Large\sffamily\mdseries\upshape} -\renewcommand*{\subsectionfont}{\large\sffamily\mdseries\upshape} - -% styles - -% maketitle -\renewcommand*{\maketitle}{% - {% - \ifthenelse{\isundefined{\@photo}}% - {}% - {{\color{firstnamecolor}\framebox{\includegraphics[width=\@photowidth]{\@photo}}}}% - \hfill% -% \raggedleft{\firstnamestyle{\MakeLowercase{\@firstname}}\familynamestyle{\MakeLowercase{\@familyname}}}\\[-.35em]}% - \raggedleft{\firstnamestyle{\@firstname}~\familynamestyle{\@familyname}}\\[-.35em]}% - {\color{firstnamecolor}\rule{\textwidth}{.25ex}\\[2.5em]}% -% optional quote - \ifthenelse{\isundefined{\@quote}}% - {}% - {{\centering{}\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}\\[2.5em]}}% - \par}% to avoid weird spacing bug at the first section if no blank line is left after \maketitle - -% cv footer -\newif\if@firstfooterelement\@firstfooterelementtrue -\providecommand*{\footersymbol}{} -\renewcommand*{\footersymbol}{% - \if@firstfooterelement% - \else% - { ~~\color{footersymbolcolor}\textbullet~~~}\fi} -\providecommand*{\makefooter}{} -\renewcommand*{\makefooter}{% - \fancypagestyle{plain}{% - \fancyfoot[c]{% - \parbox{0.8\textwidth}{% - \centering% - \addressfont\color{addresscolor}% - \ifthenelse{\isundefined{\@addressstreet}}{}{% - \addresssymbol~\@addressstreet% - \@firstfooterelementfalse% - \ifthenelse{\isundefined{\@addresscity}}{}{~--~\@addresscity}\\\@firstfooterelementtrue}% - \ifthenelse{\isundefined{\@mobile}}{}{\footersymbol\mobilesymbol~\@mobile\@firstfooterelementfalse}% - \ifthenelse{\isundefined{\@phone}}{}{\footersymbol\phonesymbol~\@phone\@firstfooterelementfalse}% - \ifthenelse{\isundefined{\@fax}}{}{\footersymbol\faxsymbol~\@fax\@firstfooterelementfalse}% - \ifthenelse{\isundefined{\@email}}{}{\footersymbol\emailsymbol~\emaillink{\@email}\@firstfooterelementfalse}% - \ifthenelse{\isundefined{\@homepage}}{}{\footersymbol\homepagesymbol~\httplink{\@homepage}\@firstfooterelementfalse}% - \ifthenelse{\isundefined{\@extrainfo}}{}{\footersymbol\@extrainfo\@firstfooterelementfalse}}}% - }% - \pagestyle{plain}} -\AtBeginDocument{\makefooter} - - -\endinput - - -%% end of file `moderncvthemecasual.sty'. diff --git a/moderncvthemeclassic.sty b/moderncvthemeclassic.sty deleted file mode 100644 index 666c724..0000000 --- a/moderncvthemeclassic.sty +++ /dev/null @@ -1,173 +0,0 @@ -%% start of file `moderncvthemeclassic.sty'. -%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com). -% -% This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License version 1.3c, -% available at http://www.latex-project.org/lppl/. - - -%------------------------------------------------------------------------------- -% identification -%------------------------------------------------------------------------------- -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{moderncvthemeclassic}[2010/08/03 v0.12 modern curriculum vitae style: classic] - - -%------------------------------------------------------------------------------- -% required packages -%------------------------------------------------------------------------------- - - -%------------------------------------------------------------------------------- -% package options -%------------------------------------------------------------------------------- -% color options -% blue (default option) -\DeclareOption{blue}{} -% orange -\newif\if@colororange\@colororangefalse -\DeclareOption{orange}{\@colororangetrue} -% green -\newif\if@colorgreen\@colorgreenfalse -\DeclareOption{green}{\@colorgreentrue} -% red -\newif\if@colorred\@colorredfalse -\DeclareOption{red}{\@colorredtrue} -% grey -\newif\if@colorgrey\@colorgreyfalse -\DeclareOption{grey}{\@colorgreytrue} - -% roman option -\newif\if@roman\@romanfalse -\DeclareOption{roman}{\@romantrue} - -% unused options -\DeclareOption*{ - \PackageWarning{moderncvthemeclassic}{Unknown option ‘\CurrentOption’}} - -% execute default options -\ExecuteOptions{color} - -% process given options -\ProcessOptions\relax - - -%------------------------------------------------------------------------------- -% style definition -%------------------------------------------------------------------------------- -% symbols used - -% colors -\definecolor{firstnamecolor}{rgb}{0,0,0} -\definecolor{familynamecolor}{rgb}{0,0,0} -\definecolor{titlecolor}{rgb}{0.35,0.35,0.35} -\definecolor{quotecolor}{rgb}{0.35,0.35,0.35} -% default blue color - \definecolor{addresscolor}{rgb}{0.25,0.5,0.75} - \definecolor{sectionrectanglecolor}{rgb}{0.25,0.5,0.75} - \definecolor{sectiontitlecolor}{rgb}{0.2,0.4,0.65} - \definecolor{subsectioncolor}{rgb}{0.2,0.4,0.65} -\if@colororange - \definecolor{addresscolor}{rgb}{0.95,0.55,0.15} - \definecolor{sectionrectanglecolor}{rgb}{1,0.65,0.20} - \definecolor{sectiontitlecolor}{rgb}{0.95,0.55,0.15} - \definecolor{subsectioncolor}{rgb}{0.95,0.55,0.15}\fi -\if@colorgreen - \definecolor{addresscolor}{rgb}{0.30,0.65,0.15} - \definecolor{sectionrectanglecolor}{rgb}{0.55,0.85,0.35} - \definecolor{sectiontitlecolor}{rgb}{0.30,0.65,0.15} - \definecolor{subsectioncolor}{rgb}{0.30,0.65,0.15}\fi -\if@colorred - \definecolor{addresscolor}{rgb}{0.95,0.20,0.20} - \definecolor{sectionrectanglecolor}{rgb}{1.00,0.30,0.30} - \definecolor{sectiontitlecolor}{rgb}{0.95,0.20,0.20} - \definecolor{subsectioncolor}{rgb}{0.95,0.20,0.20}\fi -\if@colorgrey - \definecolor{addresscolor}{rgb}{0.35,0.35,0.35} - \definecolor{sectionrectanglecolor}{rgb}{0.75,0.75,0.75} - \definecolor{sectiontitlecolor}{rgb}{0.35,0.35,0.35} - \definecolor{subsectioncolor}{rgb}{0.35,0.35,0.35}\fi - -% fonts -\if@roman - \AtBeginDocument{\rmfamily} -\else - \AtBeginDocument{\sffamily}\fi -\renewcommand*{\ttdefault}{pcr} -\renewcommand*{\firstnamefont}{\fontsize{34}{36}\sffamily\mdseries\upshape} -\renewcommand*{\titlefont}{\LARGE\sffamily\mdseries\slshape} -\renewcommand*{\addressfont}{\normalsize\rmfamily\mdseries\slshape} -\renewcommand*{\familynamefont}{\firstnamefont} -\renewcommand*{\quotefont}{\large\slshape} -\renewcommand*{\sectionfont}{\Large\sffamily\mdseries\upshape} -\renewcommand*{\subsectionfont}{\large\sffamily\mdseries\upshape} - -% styles - -% maketitle -% setmaketitlenamemaxwidth to the full name length, capped by \maketitlenamemaxwidth -\newlength{\maketitlenamemaxwidth} -\setlength{\maketitlenamemaxwidth}{.525\textwidth} -\newlength{\maketitlenamefullwidth} -\settowidth{\maketitlenamefullwidth}{\firstnamestyle{\@firstname~}\familynamestyle{\@familyname}} -\newlength{\maketitlenamewidth} -\ifnum\maketitlenamemaxwidth<\maketitlenamefullwidth\setlength{\maketitlenamewidth}{\maketitlenamemaxwidth}\else\setlength{\maketitlenamewidth}{\maketitlenamefullwidth}\fi -% other lengths -\newlength{\maketitlepicturewidth} -\setlength{\maketitlepicturewidth}{\@photowidth} -\newlength{\maketitledetailswidth} -% recompute theme-specific lengths, called by class to recompute all lengths -\renewcommand*{\recomputethemelengths}{% - \setlength{\maketitledetailswidth}{\textwidth}% - \addtolength{\maketitledetailswidth}{-\maketitlenamewidth}% - \ifthenelse{\lengthtest{\maketitlepicturewidth=0pt}}% - {}% - {\addtolength{\maketitledetailswidth}{-\separatorcolumnwidth}% - \addtolength{\maketitledetailswidth}{-\maketitlepicturewidth}}} -\recomputethemelengths -\newif\if@firstdetailselement\@firstdetailselementtrue -\newcommand*{\maketitledetailsnewline}{ - \if@firstdetailselement% - \@firstdetailselementfalse% - \else% - \\[.2em]\fi} -\renewcommand*{\maketitle}{% - % name and title - \begin{minipage}[b]{\maketitlenamewidth}% - \firstnamestyle{\@firstname~}\familynamestyle{\@familyname}% - \ifthenelse{\equal{\@title}{}}{}{\\[1.25em]\titlestyle{\@title}}% - \end{minipage}% - % optional data - \begin{minipage}[b]{\maketitledetailswidth}% - \raggedleft\addressfont\color{addresscolor}% - \ifthenelse{\isundefined{\@addressstreet}}{}{% - \maketitledetailsnewline% - \addresssymbol~\@addressstreet% - \ifthenelse{\isundefined{\@addresscity}}{}{\\\@addresscity}}% - \ifthenelse{\isundefined{\@mobile}}{}{\maketitledetailsnewline\mobilesymbol~\@mobile}% - \ifthenelse{\isundefined{\@phone}}{}{\maketitledetailsnewline\phonesymbol~\@phone}% - \ifthenelse{\isundefined{\@fax}}{}{\maketitledetailsnewline\faxsymbol~\@fax}% - \ifthenelse{\isundefined{\@email}}{}{\maketitledetailsnewline\emailsymbol~\emaillink{\@email}}% - \ifthenelse{\isundefined{\@homepage}}{}{\maketitledetailsnewline\homepagesymbol~\httplink{\@homepage}}% - \ifthenelse{\isundefined{\@extrainfo}}{}{\maketitledetailsnewline\@extrainfo}% - \end{minipage}% - % optional photo - \ifthenelse{\isundefined{\@photo}}% - {}% - {% - \hspace*{\separatorcolumnwidth}% - \begin{minipage}[b]{\maketitlepicturewidth}% - \raggedleft{}\addressfont\color{addresscolor}% required to correctly align content - \framebox{\includegraphics[width=\maketitlepicturewidth]{\@photo}}% - \end{minipage}}\\[3em]% - % optional quote - \ifthenelse{\isundefined{\@quote}}% - {}% - {{\centering{}\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}\\[2.5em]}}% - } - - -\endinput - - -%% end of file `moderncvthemeclassic.sty'. diff --git a/moderncvthemecustom.sty b/moderncvthemecustom.sty deleted file mode 100644 index 088cacb..0000000 --- a/moderncvthemecustom.sty +++ /dev/null @@ -1,179 +0,0 @@ -%% start of file `moderncvthemecustom.sty'. -%% Copyright 2011 Alexis Lahouze (xals@lahouze.org). -% -% This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License version 1.3c, -% available at http://www.latex-project.org/lppl/. - - -%------------------------------------------------------------------------------- -% identification -%------------------------------------------------------------------------------- -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{moderncvthemecustom}[2011/08/03 v0.1 custom curriculum vitae style: custom] - - -%------------------------------------------------------------------------------- -% required packages -%------------------------------------------------------------------------------- - - -%------------------------------------------------------------------------------- -% package options -%------------------------------------------------------------------------------- -% color options -% blue (default option) -\DeclareOption{blue}{} -% orange -\newif\if@colororange\@colororangefalse -\DeclareOption{orange}{\@colororangetrue} -% green -\newif\if@colorgreen\@colorgreenfalse -\DeclareOption{green}{\@colorgreentrue} -% red -\newif\if@colorred\@colorredfalse -\DeclareOption{red}{\@colorredtrue} -% grey -\newif\if@colorgrey\@colorgreyfalse -\DeclareOption{grey}{\@colorgreytrue} - -% unused options -\DeclareOption*{ - \PackageWarning{moderncvthemecustom}{Unknown option ‘\CurrentOption’}} - -% execute default options -\ExecuteOptions{color} - -% process given options -\ProcessOptions\relax - - -%------------------------------------------------------------------------------- -% style definition -%------------------------------------------------------------------------------- -% symbols used - -% colors -\definecolor{firstnamecolor}{rgb}{0,0,0} -\definecolor{familynamecolor}{rgb}{0,0,0} -\definecolor{titlecolor}{rgb}{0.35,0.35,0.35} -\definecolor{quotecolor}{rgb}{0.35,0.35,0.35} -\definecolor{addresscolor}{rgb}{0.35,0.35,0.35} -% default blue color - \definecolor{sectionrectanglecolor}{rgb}{0.25,0.50,0.75} - \definecolor{sectiontitlecolor}{rgb}{0.20,0.40,0.65} - \definecolor{subsectioncolor}{rgb}{0.20,0.40,0.65} - \definecolor{footersymbolcolor}{rgb}{0.25,0.50,0.75} -\if@colororange - \definecolor{sectionrectanglecolor}{rgb}{1.00,0.65,0.20} - \definecolor{sectiontitlecolor}{rgb}{0.95,0.55,0.15} - \definecolor{subsectioncolor}{rgb}{0.95,0.55,0.15} - \definecolor{footersymbolcolor}{rgb}{0.95,0.55,0.15}\fi -\if@colorgreen - \definecolor{sectionrectanglecolor}{rgb}{0.55,0.85,0.35} - \definecolor{sectiontitlecolor}{rgb}{0.30,0.65,0.15} - \definecolor{subsectioncolor}{rgb}{0.30,0.65,0.15} - \definecolor{footersymbolcolor}{rgb}{0.30,0.65,0.15}\fi -\if@colorred - \definecolor{sectionrectanglecolor}{rgb}{1.00,0.30,0.30} - \definecolor{sectiontitlecolor}{rgb}{0.95,0.20,0.20} - \definecolor{subsectioncolor}{rgb}{0.95,0.20,0.20} - \definecolor{footersymbolcolor}{rgb}{0.95,0.20,0.20}\fi -\if@colorgrey - \definecolor{sectionrectanglecolor}{rgb}{0.75,0.75,0.75} - \definecolor{sectiontitlecolor}{rgb}{0.35,0.35,0.35} - \definecolor{subsectioncolor}{rgb}{0.35,0.35,0.35} - \definecolor{footersymbolcolor}{rgb}{0.35,0.35,0.35}\fi - - -%\definecolor{sectionrectanglecolor}{rgb}{0.75,0.75,0.75} -%\definecolor{sectionrectanglecolor}{rgb}{0.55,0.85,0.35} -%\definecolor{sectiontitlecolor}{rgb}{0.35,0.35,0.35} -%\definecolor{sectiontitlecolor}{rgb}{0.30,0.65,0.15} -%\definecolor{subsectioncolor}{rgb}{0.35,0.35,0.35} -%\definecolor{subsectioncolor}{rgb}{0.30,0.65,0.15} -%\definecolor{footersymbolcolor}{rgb}{0.30,0.65,0.15} - - - -% fonts -\renewcommand*{\ttdefault}{phv} % Arial -\renewcommand*{\rmdefault}{phv} % Arial -\renewcommand*{\sfdefault}{phv} % Arial -\renewcommand*{\firstnamefont}{\huge\sffamily\mdseries\upshape} -\renewcommand*{\titlefont}{\LARGE\sffamily\mdseries\slshape} -\renewcommand*{\addressfont}{\small\rmfamily\mdseries\slshape} -\renewcommand*{\familynamefont}{\firstnamefont} -\renewcommand*{\quotefont}{\large\slshape} -\renewcommand*{\sectionfont}{\Large\sffamily\mdseries\upshape} -\renewcommand*{\subsectionfont}{\large\sffamily\mdseries\upshape} - -% styles - -% maketitle -% setmaketitlenamemaxwidth to the full name length, capped by \maketitlenamemaxwidth -\newlength{\maketitlenamemaxwidth} -\setlength{\maketitlenamemaxwidth}{.525\textwidth} -\newlength{\maketitlenamefullwidth} -\settowidth{\maketitlenamefullwidth}{\firstnamestyle{\@firstname~}\familynamestyle{\@familyname}} -% other lengths -\newlength{\maketitlepicturewidth} -\setlength{\maketitlepicturewidth}{\@photowidth} -\newlength{\maketitledetailswidth} -% recompute theme-specific lengths, called by class to recompute all lengths -\renewcommand*{\recomputethemelengths}{% - \setlength{\maketitledetailswidth}{\textwidth}% - \ifthenelse{\lengthtest{\maketitlepicturewidth=0pt}}% - {}% - {\addtolength{\maketitledetailswidth}{-\separatorcolumnwidth}% - \addtolength{\maketitledetailswidth}{-\maketitlepicturewidth}}} -\recomputethemelengths -\newif\if@firstdetailselement\@firstdetailselementtrue -\newcommand*{\maketitledetailsnewline}{ - \if@firstdetailselement% - \@firstdetailselementfalse% - \else% - \\[.2em]\fi} -\newcommand*{\logo}[2]{ - \\[0.5em]\includegraphics[height=#2]{#1} -} - -\renewcommand*{\maketitle}{% - % name and title - \begin{minipage}[t]{\maketitledetailswidth}% - \raggedright\firstnamestyle{\@firstname~}\familynamestyle{\@familyname}\\[1em]% - \addressfont\color{addresscolor}% - \ifthenelse{\isundefined{\@addressstreet}}{}{% - \@addressstreet% - \ifthenelse{\isundefined{\@addresscity}}{}{\\\@addresscity\\[1em]}}% - \ifthenelse{\isundefined{\@mobile}}{}{\maketitledetailsnewline\mobilesymbol~\@mobile}% - \ifthenelse{\isundefined{\@phone}}{}{\maketitledetailsnewline\phonesymbol~\@phone}% - \ifthenelse{\isundefined{\@fax}}{}{\maketitledetailsnewline\faxsymbol~\@fax}% - \ifthenelse{\isundefined{\@email}}{}{\maketitledetailsnewline\emailsymbol~\emaillink{\@email}}% - \ifthenelse{\isundefined{\@homepage}}{}{\maketitledetailsnewline\homepagesymbol~\httplink{\@homepage}}% - \ifthenelse{\isundefined{\@extrainfo}}{}{\\[1em]\@extrainfo}% - % optional quote - \ifthenelse{\isundefined{\@quote}}% - {}% - {{\\[1.5em]\centering{}\begin{minipage}{\maketitledetailswidth}\flushright\quotestyle{\@quote}\end{minipage}}}% - \end{minipage}% - % optional photo - \ifthenelse{\isundefined{\@photo}}% - {}% - {% - \hspace*{\separatorcolumnwidth}% - \begin{minipage}[t]{\maketitlepicturewidth}% - \raggedleft{}\addressfont\color{addresscolor}% required to correctly align content - \framebox{\includegraphics[width=\maketitlepicturewidth]{\@photo}}% - \end{minipage}}\\[1.5em]% - % title - \ifthenelse{\isundefined{\@title}}% - {}% - {{\centering{}\begin{minipage}{\quotewidth}\centering\titlestyle{\@title}\end{minipage}\\[1.25em]}}% - } - - -\endinput - - -%% end of file `moderncvthemecustom.sty'. diff --git a/moderncvthemeempty.sty b/moderncvthemeempty.sty deleted file mode 100644 index fc4fadf..0000000 --- a/moderncvthemeempty.sty +++ /dev/null @@ -1,43 +0,0 @@ -%% start of file `moderncvthemeempty.sty'. -%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com). -% -% This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License version 1.3c, -% available at http://www.latex-project.org/lppl/. - - -%------------------------------------------------------------------------------- -% identification -%------------------------------------------------------------------------------- -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{moderncvthemeempty}[2010/08/03 v0.12 modern curriculum vitae style: empty] - - -%------------------------------------------------------------------------------- -% required packages -%------------------------------------------------------------------------------- - - -%------------------------------------------------------------------------------- -% package options -%------------------------------------------------------------------------------- -% unused options -\DeclareOption*{ - \PackageWarning{moderncvthemeempty}{Unknown option ‘\CurrentOption’}} - -% execute default options -\ExecuteOptions{} - -% process given options -\ProcessOptions\relax - - -%------------------------------------------------------------------------------- -% style definition -%------------------------------------------------------------------------------- - - -\endinput - - -%% end of file `moderncvthemeempty.sty'.