[Tex/LaTex] How to add a new address line within moderncv style

addressesmoderncv

I'd like to have 3 lines for address with moderncv style.
So I've added this lines in my file

\makeatletter
\renewcommand*{\address}[3]{\def\@addressstreet{#1}\def\@addresscity{#2}\def\@addresscountry{#3}}
\makeatother

\address{Street }{town}{Country}

but nothing has changed.
Can anybody tell me how can I do?

Best Answer

The easiest solution is to simply use multi-line arguments, i.e. \address{Street}{Town\\Country}.

Your definition doesn't work, because \address only stores the information. The actual printing is done by the \maketitle command, which is redefined in the corresponding .sty file, i.e. moderncvthemeclassic.sty.