title,subtitle

This commit is contained in:
Marc Beninca 2020-10-13 13:02:39 +02:00
parent 2c532d6bfa
commit 4413d3f0cb
4 changed files with 6 additions and 4 deletions

View file

@ -17,7 +17,7 @@ DOCUMENTS = [
{ENGLISH: 'thesis', FRENCH: 'mémoire'}, {ENGLISH: 'thesis', FRENCH: 'mémoire'},
{ENGLISH: 'presentation', FRENCH: 'présentation'}, {ENGLISH: 'presentation', FRENCH: 'présentation'},
] ]
TITLE = { TITLE_LONG = {
ENGLISH: 'Incremental Live Operating Systems', ENGLISH: 'Incremental Live Operating Systems',
FRENCH: 'Systèmes d’exploitation autonomes incrémentaux', FRENCH: 'Systèmes d’exploitation autonomes incrémentaux',
} }
@ -77,7 +77,7 @@ def build(directory, sign):
# prepare variables # prepare variables
variables = { variables = {
'author': AUTHOR, 'author': AUTHOR,
'title': TITLE[language], 'titlelong': TITLE_LONG[language],
'titlesub': SUBTITLE[language], 'titlesub': SUBTITLE[language],
'dateshort': DATE_SHORT, 'dateshort': DATE_SHORT,
'datelong': DATE_LONG[language], 'datelong': DATE_LONG[language],

View file

@ -1,3 +1,5 @@
\logo{\includegraphics[height=7.5em]{../../cnam}} \logo{\includegraphics[height=7.5em]{../../cnam}}
\title[\titlelong]{\titlelong}
\subtitle{\titlesub}
\institute[CNAM]{Conservatoire National des Arts et Métiers} \institute[CNAM]{Conservatoire National des Arts et Métiers}
\date[\typeshort \dateshort]{\typelong\\\datelong} \date[\typeshort \dateshort]{\typelong\\\datelong}

View file

@ -5,7 +5,7 @@
\addcontentsline{toc}{chapter}{\back} \addcontentsline{toc}{chapter}{\back}
\begin{center}\begin{large}\textbf{ \begin{center}\begin{large}\textbf{
\title\\ \titlelong\\
\titlesub \titlesub
}\end{large}\end{center} }\end{large}\end{center}

View file

@ -34,7 +34,7 @@ DES {\larger[2] A}RTS ET {\larger[2] M}ÉTIERS
\hrq \hrq
\title\\ \titlelong\\
\titlesub \titlesub
\ml \ml