Skip to content
Snippets Groups Projects
Commit f113f981 authored by Jannik Dunkelau's avatar Jannik Dunkelau
Browse files

Include meta data in final pdf

parent 98d4b1a8
Branches
Tags
No related merge requests found
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{hhuthesis}[2019/12/16 HHU Thesis LaTeX document class v1.9]
\ProvidesClass{hhuthesis}[2020/02/11 HHU Thesis LaTeX document class v1.10]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} % Options fallback.
\ProcessOptions\relax
......@@ -164,6 +164,17 @@
}
}
%% Define PDF meta data
\newcommand{\sethyperrefpdfinfos}{
\hypersetup{
pdfinfo={
Title={\@title},
Author={\@author},
Subject={\@degree's Thesis}
}
}
}
%%% Setup of title page
\RequirePackage{graphicx}
......
......@@ -73,13 +73,13 @@
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{listings} % Einbindung von Code
\usepackage{algorithmicx} % Angabe von Algorithmen in Pseudocode
\usepackage{siunitx} % \num Befehl zum einfacheren Formatieren von Zahlen.
\usepackage{enumitem} % Leichter konfigurierbare enumerate-Umgebungen.
\usepackage{subcaption} % Unterteilung von Figures in Subfigures.
\usepackage[colorlinks]{hyperref} % Klickbare Links (z.B. Inhaltsverzeichnis).
\sethyperrefpdfinfos{} % Setzt Autor, Titel, etc. als PDF-Metadaten.
\sethyperrefhhucolors{} % Setzt den Farbsatz der HHU für hyperref.
\usepackage{url} % \url Kommando für Darstellung von Links
\usepackage{csquotes} % Improved quoting.
......@@ -136,7 +136,8 @@
\input{contents.tex}
%% Dieser Part kann auskommentiert werden, sollte kein Anhang nötig sein
%% Dieser Part kann auskommentiert werden, sollte kein Anhang nötig sein.
%% Der \appendix-Befehl leitet hierbei den Anhang ein.
% \appendix
% \input{appendix.tex}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment