diff --git a/cnam/travaux/thesis/build.py b/cnam/travaux/thesis/build.py index 42fa9c0..26c02b8 100755 --- a/cnam/travaux/thesis/build.py +++ b/cnam/travaux/thesis/build.py @@ -5,7 +5,9 @@ import shutil import subprocess import sys -AUTHOR = 'Marc BENINCA' +AUTHOR_NAME = 'BENINCA' +AUTHOR_SHORT = f'M. {AUTHOR_NAME}' +AUTHOR_LONG = f'Marc {AUTHOR_NAME}' MAIN = 'main' TMP = 'tmp' @@ -76,7 +78,8 @@ def build(directory, sign): os.chdir(document[ENGLISH]) # prepare variables variables = { - 'author': AUTHOR, + 'authorshort': AUTHOR_SHORT, + 'authorlong': AUTHOR_LONG, 'titlelong': TITLE_LONG[language], 'titlesub': SUBTITLE[language], 'dateshort': DATE_SHORT, diff --git a/cnam/travaux/thesis/presentation/variables.tex b/cnam/travaux/thesis/presentation/variables.tex index 1f859b9..9f90912 100644 --- a/cnam/travaux/thesis/presentation/variables.tex +++ b/cnam/travaux/thesis/presentation/variables.tex @@ -1,5 +1,11 @@ \logo{\includegraphics[height=7.5em]{../../cnam}} + \title[\titlelong]{\titlelong} + \subtitle{\titlesub} + +\author[\authorshort]{\authorlong} + \institute[CNAM]{Conservatoire National des Arts et Métiers} + \date[\typeshort \dateshort]{\typelong\\\datelong} diff --git a/cnam/travaux/thesis/thesis/front.tex b/cnam/travaux/thesis/thesis/front.tex index 0c93f99..84bb765 100644 --- a/cnam/travaux/thesis/thesis/front.tex +++ b/cnam/travaux/thesis/thesis/front.tex @@ -30,7 +30,7 @@ DES {\larger[2] A}RTS ET {\larger[2] M}ÉTIERS \ml{by}{par} \vfill -\author +\authorlong \hrq