Skip to content
Snippets Groups Projects
Commit 8b697d2a authored by Jost Rossel's avatar Jost Rossel
Browse files

Add proper title in metadata

parent 40b5ab4d
No related branches found
No related tags found
No related merge requests found
No preview for this file type
\Title{Insert Your Fancy Title\\ Here}
\Title{Insert YourFancyTitle Here}
\Author{Insert Your Name Here}
\Language{ en-US}
\Copyright{Copyright \copyright\ 2023\ "Insert Your Name Here"}
......
......@@ -3,7 +3,8 @@
% Set document variables
\author{Insert Your Name Here}
\title{Insert Your Fancy Title\\ Here}
\title{Insert Your\\---Fancy Title---\\Here}
\def\asciiTitle{Insert Your—Fancy—Title Here} % this is used for the PDA/A compliant metadata (which does not handle LaTeX syntax), so just use ascii (or if special characters are required) UTF8 here
\def\type{Master}
% \def\type{Bachelor}
......
% write the thesis.xmpdata file for the PDA/A metadata
\begingroup
\def\filecontentsspecials#1#2#3{
\global\let\ltxspecials\dospecials
\gdef\dospecials{\ltxspecials
\global\let\ltxspecials\dospecials%
\gdef\dospecials{\ltxspecials%
\catcode`#1=0
\catcode`#2=1
\catcode`#3=2
\global\let\dospecials\ltxspecials
\global\let\dospecials\ltxspecials%
}
}
\filecontentsspecials|[]
\begin{filecontents*}{\jobname.xmpdata}
\Title{|MyTitle}
\begin{filecontents*}[overwrite]{\jobname.xmpdata}
\Title{|asciiTitle}
\Author{|MyAuthor}
\Language{|ifenglish en-US|else de-DE|fi}
\Copyright{Copyright \copyright\ |the|year\ "|MyAuthor"}
\Org{|ifenglish Paderborn University|else Universität Paderborn|fi}
\end{filecontents*}
\endgroup
\setcounter{tocdepth}{3} % Table of contents includes sections up to: Subsubsection
\setcounter{secnumdepth}{3} % Sections are numbered up to: Subsubsection
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment