
sawine@0: %% start of file `moderncvcompatibility.sty'.
sawine@0: %% Copyright 2006-2008 Xavier Danaux (xdanaux@gmail.com).
sawine@0: %
sawine@0: % This work may be distributed and/or modified under the
sawine@0: % conditions of the LaTeX Project Public License version 1.3c,
sawine@0: % available at http://www.latex-project.org/lppl/.
sawine@0: 
sawine@0: 
sawine@0: %-------------------------------------------------------------------------------
sawine@0: %                identification
sawine@0: %-------------------------------------------------------------------------------
sawine@0: \NeedsTeXFormat{LaTeX2e}
sawine@0: \ProvidesPackage{moderncvcompatibility}[2008/06/17 v0.7 modern curriculum vitae compatibility patches]
sawine@0: 
sawine@0: 
sawine@0: %-------------------------------------------------------------------------------
sawine@0: %                required packages
sawine@0: %-------------------------------------------------------------------------------
sawine@0: 
sawine@0: 
sawine@0: %-------------------------------------------------------------------------------
sawine@0: %                package options
sawine@0: %-------------------------------------------------------------------------------
sawine@0: % old casual option (version 0.1)
sawine@0: %\DeclareOption{casual}{\input{moderncvstylecasual.sty}}
sawine@0: 
sawine@0: % old classic option (version 0.1)
sawine@0: %\DeclareOption{classic}{\input{moderncvstyleclassic.sty}}
sawine@0: 
sawine@0: \DeclareOption*{}
sawine@0: 
sawine@0: % process given options
sawine@0: \ProcessOptions\relax
sawine@0: 
sawine@0: %-------------------------------------------------------------------------------
sawine@0: %                definitions
sawine@0: %-------------------------------------------------------------------------------
sawine@0: % compatibility with version 0.1
sawine@0: \newcommand*{\cvresume}[2]{\cvlistdoubleitem{#1}{#2}}
sawine@0: 
sawine@0: % compatibility with versions <= 0.2
sawine@0: % section, cvline, ... with width argument...
sawine@0: %\newcommand*{\section}[2][0.825]{%
sawine@0: %  \closesection{}%
sawine@0: %  \@sectionopentrue%
sawine@0: %  \addcontentsline{toc}{part}{#2}
sawine@0: %  \begin{longtable}[t]{@{}r@{\hspace{.025\textwidth}}@{}p{#1\textwidth}@{}}%
sawine@0: %%  \colorrule{.15\textwidth}&\mbox{\color{sectiontitlecolor}\sectionfont#2}\\[1ex]}%
sawine@0: %  {\color{sectionrectanglecolor}\rule{0.15\textwidth}{1ex}}&\mbox{\color{sectiontitlecolor}\sectionfont#2}\\[1ex]}%
sawine@0: %\newcommand*{\cvline}[3][.825]{%
sawine@0: %  \begin{minipage}[t]{\hintscolumnwidth}\raggedleft\small\sffamily#2\end{minipage}&\begin{minipage}[t]{\maincolumnwidth}#3\end{minipage}\\}
sawine@0: %\newcommand*{\cvitem}[3][.825]{%
sawine@0: %  \cvline[#1]{#2}{#3\vspace*{.75em}}}   % the \vspace*{} inside the cvline environment is a hack... (should conceptually be outside the environment)
sawine@0: 
sawine@0: % compatibility with versions <= 0.5
sawine@0: \newcommand*{\cvitem}[2]{\cvline{#1}{#2}}
sawine@0: \newcommand*{\moderncvstyle}[1]{\moderncvtheme{#1}}
sawine@0: 
sawine@0: % compatibility with versions <=0.7
sawine@0: \newcommand*{\closesection}{}
sawine@0: \newcommand*{\emptysection}{}
sawine@0: \newcommand*{\sethintscolumnlength}[1]{%
sawine@0:   \setlength{\hintscolumnwidth}{#1}%
sawine@0:   \recomputelengths}
sawine@0: \newcommand*{\sethintscolumntowidth}[1]{%
sawine@0:   \settowidth{\hintscolumnwidth}{#1}%
sawine@0:   \recomputelengths}
sawine@0: 
sawine@0: \endinput
sawine@0: 
sawine@0: 
sawine@0: %% end of file `moderncvcompatibility.sty'.




