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', ENGLISH: 'a reversal of conventional approaches',
FRENCH: 'une inversion des approches conventionnelles', FRENCH: 'une inversion des approches conventionnelles',
} }
DATE = { DATE_SHORT = '2021'
ENGLISH: 'Month DD, 2021', DATE_LONG = {
FRENCH: 'JJ Mois 2021', 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, 'author': AUTHOR,
'title': TITLE[language], 'title': TITLE[language],
'titlesub': SUBTITLE[language], 'titlesub': SUBTITLE[language],
'date': DATE[language], 'dateshort': DATE_SHORT,
'datelong': DATE_LONG[language],
'typeshort': TYPE_SHORT[language],
'typelong': TYPE_LONG[language],
'name': MAIN, 'name': MAIN,
'mainlanguage': language, 'mainlanguage': language,
'otherlanguages': other_languages, 'otherlanguages': other_languages,

View file

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

View file

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

View file

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