hypersetup

This commit is contained in:
Marc Beninca 2020-10-19 12:25:26 +02:00
parent 2c110518a5
commit 44d445f92d
3 changed files with 41 additions and 9 deletions

View file

@ -1,4 +1,4 @@
% set pdf metadata
% set pdf and title page metadata
\author[\authorshort]{\authorlong}
\title[\titleshort]{\titlelong}
\subtitle{\titlesub}
@ -8,11 +8,23 @@
\institute[\instituteshort]{\institutelong}
\date[\typeshort \dateshort]{\typelong\\\datelong}
% pdf
\hypersetup{
pdfinfo={
Creator={XeLaTeX / beamer},
},
}
% set theme
\usetheme{Berkeley}
% set theme color
\usecolortheme{seahorse}
% set background image
\usebackgroundtemplate{\includegraphics[width=\paperwidth]{../../paper}}
% remove navigation symbols
\beamertemplatenavigationsymbolsempty
% set page numbering
\addtobeamertemplate{navigation symbols}{}{
\color{black}\normalsize\textbf\insertframenumber}

View file

@ -10,10 +10,6 @@
\def\instituteshort{CNAM}
\def\institutelong{Conservatoire National des Arts et Métiers}
\def\typeshort{\ml{Thesis}{Mémoire}}
\def\typelong{\ml{\instituteshort\ Master's \typeshort}
{\typeshort\ d’Ingénieur \instituteshort}}
% set languages
\usepackage{polyglossia}
% recommended
@ -47,6 +43,27 @@ ERROR%
{\def\titlelong{Systèmes d’Exploitation autonomes incrémentaux}
\def\titlesub{une inversion des approches conventionnelles}}
\ml
{\def\typeshort{Thesis}}
{\def\typeshort{Mémoire}}
\ml
{\def\typelong{\instituteshort\ Master's \typeshort}}
{\def\typelong{\typeshort\ d’Ingénieur \instituteshort}}
\ml
{\def\kw{one, two, three, four, five, six, seven, eight}}
{\def\kw{un, deux, trois, quatre, cinq, six, sept, huit}}
% links and pdf metadata
\usepackage{hyperref}
\hypersetup{
pdfinfo={
Subject={\typelong},
Keywords={\kw},
},
}
% imports
\input{settings}

View file

@ -13,15 +13,18 @@
\usepackage{tocloft}
% links
\usepackage[
pdfauthor={\authorlong},
pdftitle={\titlelong - \titlesub},
\hypersetup{
pdfinfo={
Title={\titlelong\ - \titlesub},
Author={\authorlong},
Creator={XeLaTeX / report},
},
colorlinks,
citecolor=blue,
filecolor=blue,
linkcolor=blue,
urlcolor=blue,
]{hyperref}
}
% adjust chapter titles
\usepackage{etoolbox}