aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--resume.cls19
1 files changed, 7 insertions, 12 deletions
diff --git a/resume.cls b/resume.cls
index 74a77a3..738a0c9 100644
--- a/resume.cls
+++ b/resume.cls
@@ -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}{}},%
}%