cv

Source code for my CV

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

Diffstat

1 file changed, 4 insertions, 4 deletions

Status File Name N° Changes Insertions Deletions
Modified awesome-cv.cls 8 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