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:

  • Title
  • Author
  • Subject
  • Creator
  • Producer
  • Keywords
  • and many other display and information options (see section 3.6 of the documentation)

 

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

PDF meta information example

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


7 Responses to “Setting PDF meta information”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 316 other followers