Book Image

LaTeX Cookbook

By : Stefan Kottwitz
Book Image

LaTeX Cookbook

By: Stefan Kottwitz

Overview of this book

LaTeX is a high-quality typesetting software and is very popular, especially among scientists. Its programming language gives you full control over every aspect of your documents, no matter how complex they are. LaTeX's huge amount of customizable templates and supporting packages cover most aspects of writing with embedded typographic expertise. With this book you will learn to leverage the capabilities of the latest document classes and explore the functionalities of the newest packages. The book starts with examples of common document types. It provides you with samples for tuning text design, using fonts, embedding images, and creating legible tables. Common document parts such as the bibliography, glossary, and index are covered, with LaTeX's modern approach.You will learn how to create excellent graphics directly within LaTeX, including diagrams and plots quickly and easily. Finally, you will discover how to use the new engines XeTeX and LuaTeX for advanced programming and calculating with LaTeX. The example-driven approach of this book is sure to increase your productivity.
Table of Contents (19 chapters)
LaTeX Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Adding copyright information


In the previous recipe, we added author, producer, and creator information. We can even add a field for our own copyright information. However, there's a specific place for copyright information. Even after adding metadata like we did earlier, the Adobe Acrobat and other PDF viewers may still display "Copyright Status: Unknown." and an empty copyright notice. We can change this.

How to do it...

The hyperxmp package can embed the required information. Follow these steps to add copyright information:

  1. Open the book example from the first chapter in your editor.

  2. At the end of the preamble, load the hyperref package:

    \usepackage{hyperref}
  3. In the next line, load the hyperxmp package:

    \usepackage{hyperxmp}
  4. Set up the copyright information:

    \hypersetup{
      pdfcopyright = {Copyright (C) 2012 by author name.
        All rights reserved.},
      pdflicenseurl = {http://latex-community.org/license/}}
  5. Compile your document.

  6. Take a PDF viewer and inspect the document properties. For example,...