This commit is contained in:
Marc Beninca 2020-10-13 13:08:33 +02:00
parent 4413d3f0cb
commit dbfe0bae43
3 changed files with 12 additions and 3 deletions

View file

@ -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,

View file

@ -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}

View file

@ -30,7 +30,7 @@ DES {\larger[2] A}RTS ET {\larger[2] M}ÉTIERS
\ml{by}{par}
\vfill
\author
\authorlong
\hrq