[texhax] pdflatex: how to add author's info to PDF files

Konstantin Karapetyan texnic at photonica.ru
Thu Jun 23 07:06:31 CEST 2005


> Hi,

> I want to add some extra info (author, date,...) into PDF files (these fields
> are supported by PDf format)

> What is the latex code to do this?

> Thank you very much!


Just use
\hypersetup command after calling the hyperref package. Something like

\usepackage{hyperref}
\hypersetup{pdfauthor={Konstantin Karapetyan},pdftitle={Title},pdfsubject={Subject},pdfkeywords={keyword1 keyword2}}

This may also be written as one line

\usepackage[pdfauthor={Konstantin Karapetyan},pdftitle={Title},pdfsubject={Subject},pdfkeywords={keyword1 keyword2}]{hyperref}


See \texmf\doc\latex\hyperref\manual.pdf for details.


HTH.

Happy TeXing!

Konstantin.





More information about the texhax mailing list