mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
allow long names in titles to break
Until now, a `~` (non breaking space) connects first and last name in the cv title. This prevents long names to break correctly. This commit replaces the space with `\ `, a space that allows breaking. Fixes #220
This commit is contained in:
parent
14deb59ddb
commit
b0d9d819f0
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@
|
|||
\begin{minipage}[b]{\makecvheadnamewidth}%
|
||||
\if@left\raggedright\fi%
|
||||
\if@right\raggedleft\fi%
|
||||
\firstnamestyle{\@firstname~}\lastnamestyle{\@lastname}%
|
||||
\firstnamestyle{\@firstname\ }\lastnamestyle{\@lastname}%
|
||||
\ifthenelse{\equal{\@title}{}}{}{\\[1.25em]\titlestyle{\@title}}%
|
||||
\end{minipage}}%
|
||||
% raise boxes if top option is set
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue