- Questo topic ha 3 risposte, 3 partecipanti ed è stato aggiornato l'ultima volta 11 anni, 1 mese fa da .
-
Topic
-
Buongiorno a tutte e a tutti,
ho seguito il seguente codice per dare uno stile francese alla coverletter:
`\documentclass[11pt,a4paper,sans]{moderncv}
\moderncvstyle{classic}
\moderncvcolor{blue}\usepackage[scale=0.75]{geometry}
\makeatletter
%——————————————————————————-
% letter style definition
%——————————————————————————-
% commands
\renewcommand*{\recomputeletterlengths}{%
\recomputecvlengths%
\setlength{\parskip}{6\p@}}\newcommand*{\subject}[1]{\def\@subject{#1}} %% new command added
\renewcommand*{\makelettertitle}{%
% recompute lengths (in case we are switching from letter to resume, or vice versa)
\recomputeletterlengths%
% sender contact info
%\hfill% %%% <========== This commented \begin{minipage}{.5\textwidth}% \raggedright% %%% \reggedleft changed to raggedright \addressfont\textcolor{color2}{% %%% change color here if you want it black or... {\bfseries\upshape\@firstname~\@familyname}\@firstdetailselementfalse% \ifthenelse{\isundefined{\@addressstreet}}{}{\makenewline\addresssymbol\@addressstreet% \ifthenelse{\equal{\@addresscity}{}}{}{\makenewline\@addresscity}}% \ifthenelse{\isundefined{\@mobile}}{}{\makenewline\mobilesymbol\@mobile}% \ifthenelse{\isundefined{\@phone}}{}{\makenewline\phonesymbol\@phone}% \ifthenelse{\isundefined{\@fax}}{}{\makenewline\faxsymbol\@fax}% \ifthenelse{\isundefined{\@email}}{}{\makenewline\emailsymbol\emaillink{\@email}}% \ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol\httplink{\@homepage}}% \ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}}% \end{minipage}\\[2em] % recipient block Attention: \quad \begin{minipage}[t]{.5\textwidth} %%% Changed here \raggedright% \addressfont% {\bfseries\upshape\@recipientname}\\% \@recipientaddress\\[2em]% \@date\\[1.5em]% %%% Changed here \end{minipage} % date \hfill% US style % \\[1em]% UK style \null\\[2em]% %%% Changed here \raggedright% \ifthenelse{\isundefined{\@subject}}{}{% %% new command added \begin{tabular}{ p{0.08\textwidth} p{0.92\textwidth} } Objet: & \raggedright \@subject \end{tabular} \\[1.5em]}% % opening \raggedright% \@opening\\[1.5em]% \hspace{0pt}\par\vspace{-\baselineskip}\vspace{-\parskip}} \renewcommand*{\makeletterclosing}{ \@closing\\[3em]% {\bfseries \@firstname~\@familyname}% \ifthenelse{\isundefined{\@enclosure}}{}{% \\% \vfill% {\color{color2}\itshape\enclname: \@enclosure}}} \makeatother % personal data \firstname{John} \familyname{Doe} \title{Resumé title} % optional, remove / comment the line if not wanted \address{street and number}{postcode city} % optional, remove / comment the line if not wanted \mobile{+1~(234)~567~890} % optional, remove / comment the line if not wanted \phone{+2~(345)~678~901} % optional, remove / comment the line if not wanted \fax{+3~(456)~789~012} % optional, remove / comment the line if not wanted \email{john@doe.org} % optional, remove / comment the line if not wanted \homepage{www.johndoe.com} % optional, remove / comment the line if not wanted \extrainfo{additional information} % optional, remove / comment the line if not wanted \photo[64pt][0.4pt]{picture} % optional, remove / comment the line if not wanted; \quote{`` A witty and playful quote''} % optional, remove / comment the line if not wanted %---------------------------------------------------------------------------------- \begin{document} %----- letter --------------------------------------------------------- % recipient data \recipient{Company Recruitment team}{Company, Inc.\\123 somestreet\\some city} \date{January 01, 1984} \subject{This is to fill some text that goes in to two lines and many more here we come to the second line and it is neat} %% use subject here \opening{Dear Sir or Madam,} \closing{Yours faithfully,} \enclosure[Attached]{curriculum vit\ae{}} \makelettertitle \makeletterclosing \end{document} ` preso qui http://tex.stackexchange.com/questions/148406/renew-command-makelettertitle-in-moderncvAvrei bisogno di togliere la voce fax, e chiaramente relativo simbolo, sapreste dirmicome posso fare?
Grazie
- Devi essere connesso per rispondere a questo topic.