texblog

Setting PDF meta information

PDFs have meta document information which usually can be read and modified using standard PDF viewers such as Acrobat Reader or Preview (Mac). In Acrobat Reader search for “Properties” in the file-menu. When creating a document using LaTeX, the hyperref package helps setting some of these information, including:

 

Here is how:

While loading the package, the meta information is set by specifying key-value pairs in the optional arguments field, i.e.:

\usepackage[key1=value1, key2=value2]{hyperref}

A complete code example:

\documentclass[11pt]{article}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage[pdftex,
 pdfauthor=Tom,
 pdftitle={PDF meta information},
 pdfsubject={Sample document with blind text},
 pdfkeywords={hyperref, PDF meta information},
 pdfproducer=TeXShop,
 pdfcreator=pdflatex]{hyperref}
\begin{document}
\blindtext
\end{document}

Using the Acrobat Reader, the meta information can be read and changed through the menu item “file -> properties” (or similar):

PDF meta information example

A comprehensive list of options is provided in section 3.6 of the hyperref package documentation.

Exit mobile version