diff options
author | Aaron LI <aly@aaronly.me> | 2024-12-05 12:49:14 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2024-12-05 12:49:14 +0800 |
commit | 10c44067bd8d7a231759484a59d87d973fb690a0 (patch) | |
tree | 351b4405af95fa494211dd8fea460b3c8d05631e | |
parent | b102be54f44377ab5e310a190f36c503d4e7b7a4 (diff) | |
download | resume-10c44067bd8d7a231759484a59d87d973fb690a0.tar.bz2 |
class: Clean up pdftitle and pdfauthor
-rw-r--r-- | resume.cls | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -64,20 +64,15 @@ \hypersetup{% pdfborder={0 0 0},% No border around links pdfauthor={% - \ifdef{\@zh}{% - \@lastname\@firstname% - }{% - \@firstname{} \@lastname% - }% + \ifdef{\@zh}% + {\@lastname\@firstname}% + {\@firstname{} \@lastname}% },% pdftitle={% - \ifdef{\@zh}{% - 简历 | \@lastname\@firstname{} - \ifdef{\@tagline}{| \@tagline}{}% - }{% - Resume | \@firstname{} \@lastname{} - \ifdef{\@tagline}{| \@tagline}{}% - }% + \ifdef{\@zh}% + {简历 | \@lastname\@firstname{}}% + {Resume | \@firstname{} \@lastname{}}% + \ifdef{\@tagline}{ | \@tagline}{}% },% pdfkeywords={\ifdef{\@keywords}{\@keywords}{}},% }% |