I'm trying to add a fourth argument to the address command in the moderncv class. I've looked for a solution around the internet and tried a few things including attempting to edit the moderncv class file, but I haven't got anything to work properly. The closest I came was using this method; How can I add a new address line within moderncv style, which did get the end result that I wanted except that the last line of the address (Country) and the phone are on the same line. The code and result it produces are as follows:

\documentclass[12pt,a4paper,sans]{moderncv}
\moderncvtheme[blue]{classic}
\usepackage[scale=0.75]{geometry}
\usepackage{etoolbox}

\makeatletter
\makeatother

\firstname{John}
\familyname{Smith}
\title{Curriculum Vitae}
\mobile{0000000000}
\email{email@email.email}


Does anyone have any solution to offer, preferably to add a fourth argument to the command, but I would take an amendment to the above code that would move the country onto its own line? Any help is appreciated.

• See if this helps:tex.stackexchange.com/questions/58586/…. Anyway, by only adding \\ after country I got country and cell on two different lines. But I guess this is not the elegant solution. – Umz Dec 30 '13 at 22:39
• @Umz , thank you for the response. True, it isn't the most elegant but it does what I need it to. I saw that answer when I was investigating, but it seems too long and complicated for me to apply to my problem, being a slight noob. – davly Dec 30 '13 at 23:03
• I think trying to replace less rather than more is safer in terms of updates etc. That is, any hack may break unexpectedly when a package is updated but the more stuff you change, the more likely that usually is, other things being equal. And I'm not so clear that shows how to hack the \address command to use a fourth argument. But I'm sure my answer is subject to its own problems! – cfr Dec 30 '13 at 23:08

Maybe something like this if I've understood correctly:

\documentclass[12pt,a4paper,sans]{moderncv}
\moderncvtheme[blue]{classic}
\usepackage[scale=0.75]{geometry}
\usepackage{etoolbox}

\makeatletter
}}
\makeatother

\firstname{John}
\familyname{Smith}
\title{Curriculum Vitae}