- Commit
- ee4ef907c5d9334a902c3bd29295aa75a1064cd3
- Parent
- 5f572ffe4f374925f6da82a7e23bb8d1a10633be
- Author
- Pablo <pablo-escobar@riseup.net>
- Date
Made it so that the name of the author of the CV is automatically incorporated into the PDF title
Source code for my CV
Made it so that the name of the author of the CV is automatically incorporated into the PDF title
1 files changed, 4 insertions, 4 deletions
Status | Name | Changes | Insertions | Deletions |
Modified | awesome-cv.cls | 2 files changed | 4 | 4 |
diff --git a/awesome-cv.cls b/awesome-cv.cls @@ -240,10 +240,10 @@ % Usage: \firstname{<firstname>} % Usage: \lastname{<lastname>} % Usage: \familyname{<familyname>} -\newcommand*{\name}[2]{\def\@firstname{#1}\def\@lastname{#2}} -\newcommand*{\firstname}[1]{\def\@firstname{#1}} -\newcommand*{\lastname}[1]{\def\@lastname{#1}} -\newcommand*{\familyname}[1]{\def\@lastname{#1}} +\newcommand*{\name}[2]{% + \def\@firstname{#1}\def\@lastname{#2}% + \hypersetup{pdftitle={#1 #2 -- Curriculum Vitae}, pdfauthor={#1 #2}}% +} \def\@familyname{\@lastname} % Define writer's position