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:
AlexVonB 2024-12-06 10:51:44 +01:00
commit b0d9d819f0

View file

@ -120,7 +120,7 @@
\begin{minipage}[b]{\makecvheadnamewidth}% \begin{minipage}[b]{\makecvheadnamewidth}%
\if@left\raggedright\fi% \if@left\raggedright\fi%
\if@right\raggedleft\fi% \if@right\raggedleft\fi%
\firstnamestyle{\@firstname~}\lastnamestyle{\@lastname}% \firstnamestyle{\@firstname\ }\lastnamestyle{\@lastname}%
\ifthenelse{\equal{\@title}{}}{}{\\[1.25em]\titlestyle{\@title}}% \ifthenelse{\equal{\@title}{}}{}{\\[1.25em]\titlestyle{\@title}}%
\end{minipage}}% \end{minipage}}%
% raise boxes if top option is set % raise boxes if top option is set