From b0d9d819f0bffc4e42770f2b74f7d3b7ca5e4ba5 Mon Sep 17 00:00:00 2001 From: AlexVonB Date: Fri, 6 Dec 2024 10:51:44 +0100 Subject: [PATCH] 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 --- moderncvheadi.sty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moderncvheadi.sty b/moderncvheadi.sty index 33ed6b1..2a59a1e 100644 --- a/moderncvheadi.sty +++ b/moderncvheadi.sty @@ -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