diff options
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'. |