From 4413d3f0cb73785b25ad05d80c7bc46ec2c3bda9 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 13 Oct 2020 13:02:39 +0200 Subject: [PATCH] title,subtitle --- cnam/travaux/thesis/build.py | 4 ++-- cnam/travaux/thesis/presentation/variables.tex | 2 ++ cnam/travaux/thesis/thesis/back.tex | 2 +- cnam/travaux/thesis/thesis/front.tex | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/cnam/travaux/thesis/build.py b/cnam/travaux/thesis/build.py index 97509f3..42fa9c0 100755 --- a/cnam/travaux/thesis/build.py +++ b/cnam/travaux/thesis/build.py @@ -17,7 +17,7 @@ DOCUMENTS = [ {ENGLISH: 'thesis', FRENCH: 'mémoire'}, {ENGLISH: 'presentation', FRENCH: 'présentation'}, ] -TITLE = { +TITLE_LONG = { ENGLISH: 'Incremental Live Operating Systems', FRENCH: 'Systèmes d’exploitation autonomes incrémentaux', } @@ -77,7 +77,7 @@ def build(directory, sign): # prepare variables variables = { 'author': AUTHOR, - 'title': TITLE[language], + 'titlelong': TITLE_LONG[language], 'titlesub': SUBTITLE[language], 'dateshort': DATE_SHORT, 'datelong': DATE_LONG[language], diff --git a/cnam/travaux/thesis/presentation/variables.tex b/cnam/travaux/thesis/presentation/variables.tex index a010911..1f859b9 100644 --- a/cnam/travaux/thesis/presentation/variables.tex +++ b/cnam/travaux/thesis/presentation/variables.tex @@ -1,3 +1,5 @@ \logo{\includegraphics[height=7.5em]{../../cnam}} +\title[\titlelong]{\titlelong} +\subtitle{\titlesub} \institute[CNAM]{Conservatoire National des Arts et Métiers} \date[\typeshort \dateshort]{\typelong\\\datelong} diff --git a/cnam/travaux/thesis/thesis/back.tex b/cnam/travaux/thesis/thesis/back.tex index 08dff9f..e05667d 100644 --- a/cnam/travaux/thesis/thesis/back.tex +++ b/cnam/travaux/thesis/thesis/back.tex @@ -5,7 +5,7 @@ \addcontentsline{toc}{chapter}{\back} \begin{center}\begin{large}\textbf{ -\title\\ +\titlelong\\ \titlesub }\end{large}\end{center} diff --git a/cnam/travaux/thesis/thesis/front.tex b/cnam/travaux/thesis/thesis/front.tex index 84d8026..0c93f99 100644 --- a/cnam/travaux/thesis/thesis/front.tex +++ b/cnam/travaux/thesis/thesis/front.tex @@ -34,7 +34,7 @@ DES {\larger[2] A}RTS ET {\larger[2] M}ÉTIERS \hrq -\title\\ +\titlelong\\ \titlesub \ml