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
No related branches found
No related tags found
No related merge requests found
\NeedsTeXFormat{LaTeX2e} \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. \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} % Options fallback.
\ProcessOptions\relax \ProcessOptions\relax
...@@ -164,6 +164,17 @@ ...@@ -164,6 +164,17 @@
} }
} }
%% Define PDF meta data
\newcommand{\sethyperrefpdfinfos}{
\hypersetup{
pdfinfo={
Title={\@title},
Author={\@author},
Subject={\@degree's Thesis}
}
}
}
%%% Setup of title page %%% Setup of title page
\RequirePackage{graphicx} \RequirePackage{graphicx}
......
...@@ -73,13 +73,13 @@ ...@@ -73,13 +73,13 @@
\usepackage{amsmath} \usepackage{amsmath}
\usepackage{amssymb} \usepackage{amssymb}
\usepackage{listings} % Einbindung von Code \usepackage{listings} % Einbindung von Code
\usepackage{algorithmicx} % Angabe von Algorithmen in Pseudocode \usepackage{algorithmicx} % Angabe von Algorithmen in Pseudocode
\usepackage{siunitx} % \num Befehl zum einfacheren Formatieren von Zahlen. \usepackage{siunitx} % \num Befehl zum einfacheren Formatieren von Zahlen.
\usepackage{enumitem} % Leichter konfigurierbare enumerate-Umgebungen. \usepackage{enumitem} % Leichter konfigurierbare enumerate-Umgebungen.
\usepackage{subcaption} % Unterteilung von Figures in Subfigures. \usepackage{subcaption} % Unterteilung von Figures in Subfigures.
\usepackage[colorlinks]{hyperref} % Klickbare Links (z.B. Inhaltsverzeichnis). \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. \sethyperrefhhucolors{} % Setzt den Farbsatz der HHU für hyperref.
\usepackage{url} % \url Kommando für Darstellung von Links \usepackage{url} % \url Kommando für Darstellung von Links
\usepackage{csquotes} % Improved quoting. \usepackage{csquotes} % Improved quoting.
...@@ -136,7 +136,8 @@ ...@@ -136,7 +136,8 @@
\input{contents.tex} \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 % \appendix
% \input{appendix.tex} % \input{appendix.tex}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment