summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-07-04 12:47:11 +0000
committerKarl Berry <karl@freefriends.org>2006-07-04 12:47:11 +0000
commit81cb4991a294f8c832eeebda60e9f0b49f7c389c (patch)
tree716927b9379eebac950db971309770af069dcf01 /Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty
parent7ce8eb47651667cd0b38e9aae56525fbc2d5533c (diff)
new package moderncv
git-svn-id: svn://tug.org/texlive/trunk@1763 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty')
-rw-r--r--Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty51
1 files changed, 51 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty
new file mode 100644
index 00000000000..49dfe80a8c1
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty
@@ -0,0 +1,51 @@
+%% start of file `moderncvcompatibility.sty'.
+
+%-------------------------------------------------------------------------------
+% identification
+%-------------------------------------------------------------------------------
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{moderncvcompatibility}[2006/05/02 v0.4 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 version 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)
+
+\endinput
+
+%% end of file `moderncvstylethemecasual.sty'.