I want to add new moderncv
command to act like address command exactly, I mean in format and positioning except that I will called this time \address2
here is a quick demonstration of what I want, here is the original commands
\firstname{ }
\familyname{ }
\address{ }{ }
\mobile{ }
\email{ }
what I want is something like this
\firstname{ }
\familyname{ }
\address{ }{ }
\address2{ }{ }
\mobile{ }
\email{ }
and this will give final result like the original one but \address2
after original address, How can I do such thing?!
Best Answer
This depends on the
moderncv
style that you're using:casual
(default),classic
,oldstyle
orbanking
. For the defaultcasual
, you can add the following to your document preamble (after\moderncvstyle{casual}
, if you're using it):The above just redefines the footer for both the CV and the letter part of the document. This will allow you two use
Note that numbers are not allowed for control sequences, hence
\addresstwo
instead of\address2
. Taking the base example frommoderncv
(template.tex
) and inserting the above code yields:Here are the required changes to the
classic
style to incorporate a second address for both the CV and letter head (this should be added to the document preamble after a call to\moderncvstyle{classic}
):