From 4d26da2d3a2b318cd722686504cac12dc9b9952f Mon Sep 17 00:00:00 2001 From: Mastercroft Date: Thu, 16 Mar 2023 12:37:36 +0000 Subject: [PATCH] Adding metadata to pdf file --- ruthesis.sty | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ruthesis.sty b/ruthesis.sty index 9173886..f526c0b 100644 --- a/ruthesis.sty +++ b/ruthesis.sty @@ -485,3 +485,14 @@ %\makepagestyle{oldstyle} %\makeoddhead{oldstyle}{\footnotesize{\authorHeader@ruthesis}}{}{\footnotesize{\thepage}} %\makeevenhead{oldstyle}{\footnotesize{\thepage}}{}{\footnotesize{\thetitle}} + +%%%%%%%%%% Metadata for pdf file %%%%%%%%%%%%%%%%%%%%%% +\RequirePackage{hyperref} +\AtBeginDocument{ + \hypersetup{ + pdfauthor = {\theauthor{}}, + pdftitle = {\thetitle}, + %pdfsubject = {Templates}, + %pdfkeywords = {\theInstitution{}, Template, Thesis} + } +} \ No newline at end of file