summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty')
-rw-r--r--Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty16
1 files changed, 12 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty
index 9069a4d5f17..8f5612baedf 100644
--- a/Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty
+++ b/Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty
@@ -10,7 +10,7 @@
% identification
%-------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{moderncvcompatibility}[2011/12/04 v0.14 modern curriculum vitae compatibility patches]
+\ProvidesPackage{moderncvcompatibility}[2011/12/19 v0.15 modern curriculum vitae compatibility patches]
%-------------------------------------------------------------------------------
@@ -53,10 +53,10 @@
% \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}}
+%\newcommand*{\cvitem}[2]{\cvline{#1}{#2}}
+%\newcommand*{\moderncvstyle}[1]{\moderncvtheme{#1}}
-% compatibility with versions <=0.7
+% compatibility with versions <= 0.7
\newcommand*{\closesection}{}
\newcommand*{\emptysection}{}
\newcommand*{\sethintscolumnlength}[1]{%
@@ -66,6 +66,14 @@
\settowidth{\hintscolumnwidth}{#1}%
\recomputelengths}
+% compatibility with versions <= 0.15
+\newcommand*{\cvline}[2]{\cvitem{#1}{#2}}
+\newcommand*{\cvlanguage}[3]{\cvitemwithcomment{#1}{#2}{#3}}
+\newcommand*{\cvcomputer}[4]{\cvdoubleitem{#1}{\small#2}{#3}{\small#4}}
+\newcommand*{\moderncvtheme}[2][blue]{%
+ \moderncvcolor{#1}%
+ \moderncvstyle{#2}}
+
\endinput