I used \address{}{} command in banking style of class moderncv, and because my address is long, moderncv does not break the line automatically. I also tried the \newline command but it did not work for me. Please help me in this problem.


3 Answers 3


I do not have a permanent solution, because building the title in banking style is a little bit complicated. Usually the street and number is placed in only one separate line (without be able to have line breaks!), then follows in the next line postcode city and country, divided with ~~--~~.

With the following workaround you can simulate the original behaviour (but see, that you have to find out were it is best to break the line):

\address{street and number very long very long very long very long 
         very long very long}{very long very long very long very long~--~postcode city}{country}

The first line with the street and number ends after the 6th very long, then I added the missing parts in front of postcode. To simulate the dividing between city and country I added before the postcode ~--~.

The complete MWE


% moderncv themes
\moderncvstyle{banking} % casual, classic, banking, oldstyle and fancy; head 3, body 3



% personal data
\title{Resumé title}
\address{street and number very long very long very long very long 
         very long very long}{very long very long very long very long~--~postcode city}{country}
\email{[email protected]}
\extrainfo{additional information}
\quote{Some quote}




\cventry{year--year}{Degree}{Institution--3}{City--4}{\textit{Grade}--5}{Description--6}  % arguments 3 to 6 can be left empty

\section{Master thesis}
\cvitem{description}{Short thesis abstract}

\cventry{year--year}{Job title}{Employer}{City}{}{General description no longer than 1--2 lines.\newline{}%
Detailed achievements:%
\item Achievement 1;
\item Achievement 2, with sub-achievements:
  \item Sub-achievement (a);
  \item Sub-achievement (b), with sub-sub-achievements (don't do this!);
    \item Sub-sub-achievement i;
    \item Sub-sub-achievement ii;
    \item Sub-sub-achievement iii;
  \item Sub-achievement (c);
\item Achievement 3.
\cventry{year--year}{Job title}{Employer}{City}{}{Description line 1\newline{}Description line 2}
\cventry{year--year}{Job title}{Employer}{City}{}{Description}

\cvitemwithcomment{Language 1}{Skill level}{Comment}
\cvitemwithcomment{\textbf{Language} 2}{\textbf{Skill} level}{Comment}
\cvitemwithcomment{Language 3}{Skill level}{Comment}

\section{Computer skills}
\cvdoubleitem{category 1}{XXX, YYY, ZZZ}{category 4}{XXX, YYY, ZZZ}
\cvdoubleitem{category 2}{XXX, YYY, ZZZ}{category 5}{XXX, YYY, ZZZ}
\cvdoubleitem{category 3}{XXX, YYY, ZZZ}{category 6}{XXX, YYY, ZZZ}

\cvitem{hobby 1}{Description}
\cvitem{hobby 2}{Description}
\cvitem{hobby 3}{Description}

\section{Extra 1}
\cvlistitem{Item 1}
\cvlistitem{Item 2}
\cvlistitem{Item 3. This item is particularly long and therefore 
  normally spans over several lines. Did you notice the indentation 
  when the line wraps?}

\section{Extra 2}
\cvlistdoubleitem{Item 1}{Item 4}
\cvlistdoubleitem{Item 2}{Item 5}
\cvlistdoubleitem{Item 3}{Item 6. Like item 3 in the single column list 
  before, this item is particularly long to wrap over several lines.}

  \cvcolumn{Category 1}{\begin{itemize}\item Person 1\item Person 2\item Person 3\end{itemize}}
  \cvcolumn{Category 2}{Amongst others:\begin{itemize}\item Person 1, and\item Person 2\end{itemize}(more upon request)}
  \cvcolumn[0.5]{All the rest \& some more}{\textit{That} person, and \textbf{those} also (all available upon request).}


gives you now:

resulting title


Try creating newlines using \\, e.g.

\address{Line1\\Line2\\Line3\\}{zipcode city}


enter image description here

  • 1
    Does not work in banking style!!
    – saeedmech
    Sep 22, 2016 at 21:28

I was in a similar situation, except that I just wanted to add some info before the address, without too much trouble. So I modified a bit chrisma's solution, and replaced the \address in his example by this:

\address{\hspace{3cm}Extra bit of info \hspace{3cm}}{Street and number~--~postcode city}{country}

And here's what I got:

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .