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
|
|
@ -79,6 +79,12 @@
|
|||
\title{}% to avoid LaTeX complaining that \maketitle is a called without first a call to \title
|
||||
\newcommand*{\maketitlenamewidth}{\makecvtitlenamewidth}
|
||||
|
||||
% compatibility with versions <= 1.3.0
|
||||
\newcommand*{\firstname}[1]{\def\@firstname{#1}}
|
||||
\newcommand*{\lastname}[1]{\def\@lastname{#1}}
|
||||
\newcommand*{\givenname}[1]{\def\@firstname{#1}}
|
||||
\newcommand*{\familyname}[1]{\def\@lastname{#1}}
|
||||
\def\@familyname{\@lastname}
|
||||
|
||||
\endinput
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue