Allowing long names to break in the cv title again (#221)

* 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

* added changelog entry

* removed non-breaking space in names from other headlines, too
This commit is contained in:
AlexVonB 2024-12-10 23:24:40 +01:00 committed by GitHub
commit d7e0e4966e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 6 additions and 5 deletions

View file

@ -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