DETAILS: REFERENCES, LANGUAGE, METADATA

6.4

LaTeX: references, languages and metadata

In order to create references and define language in LaTeX, you first have to install the hyperref package.

Table of contents

LaTeX creates a table of contents with the command:


  • \tableofcontents.

If the hyperref package is loaded, the command will automatically create the corresponding links.


Internal references

Highlight the destination location with


  • \label{DESCRIPTION},

and refer to it with


  • \ref{DESCRIPTION}.

If the hyperref package is loaded, the two positions will be linked automatically. By default, LaTeX will use either the section or the figure number. To link to the page instead, use


  • \pagref{DESCRIPTION}.


External references

Use the hyperref package. Here’s how to enter URLs:


  • \href{https://www.unibas.ch}{University of Basel}.


Languages

Use the hyperref package. Here’s how to set the language:


  • \usepackage[pdflang = {de}]{hyperref}.


Metadata

Specify the PDF metadata with the hyperref package:


  • \usepackage[pdfauthor = «AUTHOR», pdftitle = «TITLE»]{hyperref}.

DJDT

History

Versions

Settings from config.settings.staging

Headers

SQL queries from 1 connection

Static files (289 found, 7 used)

Templates (6 rendered)

Cache calls from 1 backend

Signals