diff options
author | Karl Berry <karl@freefriends.org> | 2006-09-12 18:42:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-09-12 18:42:46 +0000 |
commit | 10c7e139be6254b0f72ebca2ea54a8a5281fd6bc (patch) | |
tree | d01d7e5be13afb744bbac56fcefc1b27a0531fd9 /Master/texmf-dist/tex/latex/moderncv/moderncvstylecasual.sty | |
parent | bd955dbfb7eef62b0d3b5cc114fda8b394abf82c (diff) |
moderncv update (10sep06)
git-svn-id: svn://tug.org/texlive/trunk@2113 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/moderncv/moderncvstylecasual.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/moderncv/moderncvstylecasual.sty | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvstylecasual.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvstylecasual.sty index 822e36a5566..5fffa579ce4 100644 --- a/Master/texmf-dist/tex/latex/moderncv/moderncvstylecasual.sty +++ b/Master/texmf-dist/tex/latex/moderncv/moderncvstylecasual.sty @@ -1,10 +1,16 @@ %% start of file `moderncvstylecasual.sty'. +%% Copyright 2006 Xavier Danaux. +% +% 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{moderncvstylecasual}[2006/05/02 v0.4 modern curriculum vitae style: casual] +\ProvidesPackage{moderncvstylecasual}[2006/09/09 v0.5 modern curriculum vitae style: casual] %------------------------------------------------------------------------------- @@ -71,7 +77,12 @@ % maketitle \renewcommand*{\maketitle}{% - {\raggedleft{\firstnamestyle{\MakeLowercase{\@firstname}}\familynamestyle{\MakeLowercase{\@familyname}}}\\[-.35em]}% + {% + \ifthenelse{\equal{\@photo}{}}% + {}% + {{\color{firstnamecolor}\framebox{\includegraphics[height=\@photoheight]{\@photo}}}}% + \hfill% + \raggedleft{\firstnamestyle{\MakeLowercase{\@firstname}}\familynamestyle{\MakeLowercase{\@familyname}}}\\[-.35em]}% {\color{firstnamecolor}\rule{\textwidth}{.25ex}\\[2.5em]}}% % cv footer @@ -94,11 +105,17 @@ ~~\color{footersymbolcolor}\footersymbol~~% \color{footertextcolor}\Telefon~\@phone% ~~\color{footersymbolcolor}\footersymbol~~% - \color{footertextcolor}\Letter~\emaillink{\@email}}}% + \color{footertextcolor}\Letter~\emaillink{\@email}% + \ifthenelse{\equal{\@extrainfo}{}}% + {}% + {% + ~~\color{footersymbolcolor}\footersymbol~~% + \color{footertextcolor}{\@extrainfo}}}}% \pagestyle{plain}} \AtBeginDocument{\makefooter} \endinput + %% end of file `moderncvstylecasual.sty'. |