date,type

This commit is contained in:
Marc Beninca 2020-10-13 12:56:22 +02:00
parent e792fa42ce
commit 2c532d6bfa
4 changed files with 21 additions and 8 deletions

View file

@ -25,9 +25,18 @@ SUBTITLE = {
ENGLISH: 'a reversal of conventional approaches',
FRENCH: 'une inversion des approches conventionnelles',
}
DATE = {
ENGLISH: 'Month DD, 2021',
FRENCH: 'JJ Mois 2021',
DATE_SHORT = '2021'
DATE_LONG = {
ENGLISH: f'Month DD, {DATE_SHORT}',
FRENCH: f'JJ Mois {DATE_SHORT}',
}
TYPE_SHORT = {
ENGLISH: 'Thesis',
FRENCH: 'Mémoire',
}
TYPE_LONG = {
ENGLISH: f'CNAM Master\'s {TYPE_SHORT[ENGLISH]}',
FRENCH: f'{TYPE_SHORT[FRENCH]} d’Ingénieur CNAM',
}
@ -70,7 +79,10 @@ def build(directory, sign):
'author': AUTHOR,
'title': TITLE[language],
'titlesub': SUBTITLE[language],
'date': DATE[language],
'dateshort': DATE_SHORT,
'datelong': DATE_LONG[language],
'typeshort': TYPE_SHORT[language],
'typelong': TYPE_LONG[language],
'name': MAIN,
'mainlanguage': language,
'otherlanguages': other_languages,

View file

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

View file

@ -9,8 +9,8 @@
\titlesub
}\end{large}\end{center}
\ml{CNAM Master's thesis}{Mémoire d’Ingénieur CNAM},\\
Bordeaux 2021.
\typelong,\\
Bordeaux \dateshort.
\summaries

View file

@ -38,8 +38,8 @@ DES {\larger[2] A}RTS ET {\larger[2] M}ÉTIERS
\titlesub
\ml
{Defended on \date}
{Soutenu le \date}
{Defended on \datelong}
{Soutenu le \datelong}
\hrq