Re: Curriculum Latex-moderncv

#19900
DMW
    Up
    0
    Down
    ::


    Ho modificato il file template_en.tex, se non va non so che tipo di problema hai. A me funziona. A limite prova ad aggiornare il pacchetto; l’ultima versione è del 28-5-07.
    Ecco un esempio compilabile.
    `
    \documentclass[11pt,a4paper]{moderncv}

    \moderncvtheme[blue]{casual}
    \renewcommand*{\titlefont}{\Large\sffamily\mdseries\slshape}%o \LARGE

    \makeatletter
    \AtBeginDocument{\renewcommand*{\maketitle}{%
    {%
    \ifthenelse{\isundefined{\@photo}}%
    {}%
    {{\color{firstnamecolor}\framebox{\includegraphics[height=\@photoheight]{\@photo}}}}%
    \hskip5pt%
    \raggedleft{\titlestyle{\@title}\hfill\firstnamestyle{\@firstname~}
    \familynamestyle{\@familyname}}\\[-.35em]}%
    {\color{firstnamecolor}\rule{\textwidth}{.25ex}\\[2.5em]}%
    \ifthenelse{\isundefined{\@quote}}%
    {}%
    {\centering{\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}}\\[2.5em]}%
    }%
    }
    \makeatother

    \usepackage[latin1]{inputenc} % replace by the encoding you are using

    % adjust the page margins
    \usepackage[scale=0.8]{geometry}
    \recomputelengths % required when changes are made to page layout lengths

    % personal data
    \firstname{Nome}
    \familyname{Cognome}
    \title{Curriculum Vitae} % optional, remove the line if not wanted
    \address{Street and number}{postcode city} % optional, remove the line if not wanted
    \mobile{mobile (optional)} % optional, remove the line if not wanted
    \phone{phone (optional)} % optional, remove the line if not wanted
    \fax{fax (optional)} % optional, remove the line if not wanted
    \email{email (optional)} % optional, remove the line if not wanted
    \extrainfo{Codice Fiscale PLLJKP98O89F434J} % optional, remove the line if not wanted
    \photo[64pt]{jdoe_picture} % '64pt' is the height the picture must be resized to and 'picture'
    \quote{Some quote (optional)} % optional, remove the line if not wanted

    \begin{document}
    \maketitle

    \section{Education}
    \cventry{year–year}{Degree}{Institution}{City}{\textit{Grade}}{Description} % arguments 3 to 6 are optional
    \cventry{year–year}{Degree}{Institution}{City}{\textit{Grade}}{Description} % arguments 3 to 6 are optional
    \end{document}
    `

    La foto è quella presente nel pacchetto. Ho tolto anche un \hfil di troppo, quello prima di \hskip5pt.
    Se non va, fa’ esorcizzare il computer. 😀

    Ciao

    Andrea

    Go to top