How to put PDF properties in a LaTeX file
My previous post described how to put links in a PDF file generated from LaTeX. The hyperref package that lets you include links also lets you to set PDF document properties. I’ve been using Adobe Acrobat to do this after creating my PDF file with pdflatex, but that’s unnecessary. Here’s how to put the PDF properties directly in the LaTeX file. Add something like this
text
\hypersetup
{
pdfauthor={John Hancock},
pdfsubject={Some subject},
pdftitle={Sample document},
pdfkeywords={LaTeX, PDF, hyperlinks}
}after the \usepackage{hyperref} instruction at the top of your file.