mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Deprecated \firstname and \familyname in favour of \name
This commit is contained in:
parent
c426e1c0f4
commit
5e01c8cec9
16 changed files with 28 additions and 23 deletions
|
|
@ -88,7 +88,7 @@
|
|||
\parbox{\maketitlewidth}{%
|
||||
\centering%
|
||||
% name and title
|
||||
\namestyle{\@firstname~\@familyname}%
|
||||
\namestyle{\@firstname~\@lastname}%
|
||||
\ifthenelse{\equal{\@title}{}}{}{\titlestyle{~|~\@title}}\\% \isundefined doesn't work on \@title, as LaTeX itself defines \@title (before it possibly gets redefined by \title)
|
||||
% detailed information
|
||||
\addressfont\color{color2}%
|
||||
|
|
@ -284,7 +284,7 @@
|
|||
|
||||
\renewcommand*{\makeletterclosing}{
|
||||
\@closing\\[3em]%
|
||||
{\bfseries \@firstname~\@familyname}%
|
||||
{\bfseries \@firstname~\@lastname}%
|
||||
\ifthenelse{\isundefined{\@enclosure}}{}{%
|
||||
\\%
|
||||
\vfill%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue