author
This commit is contained in:
parent
4413d3f0cb
commit
dbfe0bae43
3 changed files with 12 additions and 3 deletions
|
@ -5,7 +5,9 @@ import shutil
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
AUTHOR = 'Marc BENINCA'
|
AUTHOR_NAME = 'BENINCA'
|
||||||
|
AUTHOR_SHORT = f'M. {AUTHOR_NAME}'
|
||||||
|
AUTHOR_LONG = f'Marc {AUTHOR_NAME}'
|
||||||
MAIN = 'main'
|
MAIN = 'main'
|
||||||
TMP = 'tmp'
|
TMP = 'tmp'
|
||||||
|
|
||||||
|
@ -76,7 +78,8 @@ def build(directory, sign):
|
||||||
os.chdir(document[ENGLISH])
|
os.chdir(document[ENGLISH])
|
||||||
# prepare variables
|
# prepare variables
|
||||||
variables = {
|
variables = {
|
||||||
'author': AUTHOR,
|
'authorshort': AUTHOR_SHORT,
|
||||||
|
'authorlong': AUTHOR_LONG,
|
||||||
'titlelong': TITLE_LONG[language],
|
'titlelong': TITLE_LONG[language],
|
||||||
'titlesub': SUBTITLE[language],
|
'titlesub': SUBTITLE[language],
|
||||||
'dateshort': DATE_SHORT,
|
'dateshort': DATE_SHORT,
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
\logo{\includegraphics[height=7.5em]{../../cnam}}
|
\logo{\includegraphics[height=7.5em]{../../cnam}}
|
||||||
|
|
||||||
\title[\titlelong]{\titlelong}
|
\title[\titlelong]{\titlelong}
|
||||||
|
|
||||||
\subtitle{\titlesub}
|
\subtitle{\titlesub}
|
||||||
|
|
||||||
|
\author[\authorshort]{\authorlong}
|
||||||
|
|
||||||
\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}
|
||||||
|
|
|
@ -30,7 +30,7 @@ DES {\larger[2] A}RTS ET {\larger[2] M}ÉTIERS
|
||||||
\ml{by}{par}
|
\ml{by}{par}
|
||||||
\vfill
|
\vfill
|
||||||
|
|
||||||
\author
|
\authorlong
|
||||||
|
|
||||||
\hrq
|
\hrq
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue