mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
style space between first and last name the same as first name (#205)
* style space between first and last name the same as first name * add fix to changelog
This commit is contained in:
parent
06932535d8
commit
cdf027a9da
6 changed files with 7 additions and 6 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
version next
|
version next
|
||||||
- Change moderncvcolors.tex to a .sty file for MikTeX compatibility (#199)
|
- Change moderncvcolors.tex to a .sty file for MikTeX compatibility (#199)
|
||||||
- Fix error when omitting the photo in contemporary style (#201)
|
- Fix error when omitting the photo in contemporary style (#201)
|
||||||
|
- Fix spacing between first and last name (#204)
|
||||||
|
|
||||||
version 2.4.1 (18 Jul 2024)
|
version 2.4.1 (18 Jul 2024)
|
||||||
- Fix commons/colors.tex not found in package (#194)
|
- Fix commons/colors.tex not found in package (#194)
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@
|
||||||
\parbox{\makeheaddetailswidth}{%
|
\parbox{\makeheaddetailswidth}{%
|
||||||
\centering%
|
\centering%
|
||||||
% name and title
|
% name and title
|
||||||
\firstnamestyle{\@firstname}~\lastnamestyle{\@lastname}%
|
\firstnamestyle{\@firstname~}\lastnamestyle{\@lastname}%
|
||||||
\ifthenelse{\equal{\@title}{}}{}{\titlestyle{~|~\@title}}% \isundefined doesn't work on \@title, as LaTeX itself defines \@title (before it possibly gets redefined by \title)
|
\ifthenelse{\equal{\@title}{}}{}{\titlestyle{~|~\@title}}% \isundefined doesn't work on \@title, as LaTeX itself defines \@title (before it possibly gets redefined by \title)
|
||||||
% optional detailed information
|
% optional detailed information
|
||||||
\if@details{%
|
\if@details{%
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@
|
||||||
{\setlength{\makecvheadnamewidth}{\textwidth-\makecvheadpicturewidth}}%
|
{\setlength{\makecvheadnamewidth}{\textwidth-\makecvheadpicturewidth}}%
|
||||||
{}%
|
{}%
|
||||||
\begin{minipage}[b]{\makecvheadnamewidth}%
|
\begin{minipage}[b]{\makecvheadnamewidth}%
|
||||||
\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}%
|
||||||
% optional photo
|
% optional photo
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@
|
||||||
% name and optional title
|
% name and optional title
|
||||||
\newlength{\makecvheadpictureboxskip}%
|
\newlength{\makecvheadpictureboxskip}%
|
||||||
\setlength{\makecvheadpictureboxskip}{\totalheightof{\usebox{\makecvheadpicturebox}}}%
|
\setlength{\makecvheadpictureboxskip}{\totalheightof{\usebox{\makecvheadpicturebox}}}%
|
||||||
\firstnamestyle{\@firstname}~\lastnamestyle{\@lastname}%
|
\firstnamestyle{\@firstname~}\lastnamestyle{\@lastname}%
|
||||||
\ifthenelse{\equal{\@title}{}}{
|
\ifthenelse{\equal{\@title}{}}{
|
||||||
\ifthenelse{\isundefined{\@quote}}%
|
\ifthenelse{\isundefined{\@quote}}%
|
||||||
{}%
|
{}%
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@
|
||||||
\setlength{\makeheaddetailswidth}{\textwidth}%
|
\setlength{\makeheaddetailswidth}{\textwidth}%
|
||||||
% name and title
|
% name and title
|
||||||
\if@left\hfill\fi%
|
\if@left\hfill\fi%
|
||||||
\firstnamestyle{\@firstname}~\lastnamestyle{\@lastname}%
|
\firstnamestyle{\@firstname~}\lastnamestyle{\@lastname}%
|
||||||
\ifthenelse{\equal{\@title}{}}{}{\titlestyle{~|~\@title}}\\[-.35em]% \isundefined doesn't work on \@title, as LaTeX itself defines \@title (before it possibly gets redefined by \title)
|
\ifthenelse{\equal{\@title}{}}{}{\titlestyle{~|~\@title}}\\[-.35em]% \isundefined doesn't work on \@title, as LaTeX itself defines \@title (before it possibly gets redefined by \title)
|
||||||
% rule
|
% rule
|
||||||
{\color{bodyrulecolor}\rule{\textwidth}{.25ex}}}
|
{\color{bodyrulecolor}\rule{\textwidth}{.25ex}}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue