GeneralPDF properties

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
jonathan webley
Posts: 11
Joined: Sun May 03, 2009 8:28 am

PDF properties

Post by jonathan webley »

PDF files have properties such as author and title. Is there any way of setting these via LaTeX?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

PDF properties

Post by josephwright »

hyperref does this nicely, or you can of course do things directly with the primitives.

Code: Select all

\usepackage[
  pdfauthor = {Some Person},
  pdftitle = {A long title, perhaps}
  pdfsubject =  {Some rubbish I've made up}
]{hyperref}
This can also be set using \hypersetup after loading the package.
Joseph Wright
jonathan webley
Posts: 11
Joined: Sun May 03, 2009 8:28 am

PDF properties

Post by jonathan webley »

Thanks, Joseph!

pdfsubject isn't recognised, but using hypersetup works great.
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: PDF properties

Post by josephwright »

I forget the exact option names. You can set various things, which are all listed in the hyperref notes somewhere.
Joseph Wright
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Re: PDF properties

Post by phi »

pdfsubject is correct, but you've forgotten a comma.
Post Reply