Files
MSE-PI-E2EEDA-Plein-de-eeee…/report/thesis.typ

102 lines
2.3 KiB
Typst

//
// Description: Main document to stitch everything together
//
#import "/metadata.typ": *
#import "/tail/bibliography.typ": *
#import "/tail/glossary.typ": *
#import "/resources/mse-title-page.typ": *
#show:make-glossary
#register-glossary(entry-list)
#set text(region: "gb")
//-------------------------------------
// Template config
//
#show: thesis.with(
option: option,
doc: doc,
school: school,
date: date,
tableof: tableof,
logos: logos,
custom-title-page: mse-title-page(),
)
#show raw: set text(size: 0.8em)
#show figure: fig => {
if not fig.body.func() in (image, table, layout, raw) {
let f = fig.body.func()
return fig
}
if not fig.has("label") {
return warn(fig, "Unlabelled")
}
let lbl = fig.label
let refs = query(ref.where(target: lbl))
if refs.len() == 0 {
return warn(fig, "Unreferenced")
}
fig
}
#outline(
title: i18n("tof-title", lang: "en"),
target: figure.where(kind: image),
indent: auto,
depth: tableof.maxdepth,
)
#outline(
title: i18n("tot-title", lang: "en"),
target: figure.where(kind: table),
indent: auto,
depth: tableof.maxdepth,
)
//-------------------------------------
// Content
//
#include "/main/02-introduction.typ"
#pagebreak()
= Objectives<sec:objectives>
#import "/main/objectives.typ": *
#add-chapter()[
The objectives for the project that has been validated in its early phase are listed below.
Mandatory objectives are listed as MOx and optional objectives as OOx.
#objectives-mo
#v(1em)
#objectives-oo
The MO3 has been modified during the 8th week in response to Dimitri dropout.
The student's personal objective has been kept nonetheless.
]
#include "/main/03-analysis.typ"
#include "/main/04-design.typ"
#include "/main/05-implementation.typ"
#include "/main/06-validation.typ"
#include "/main/07-conclusion.typ"
//-------------------------------------
// Glossary
//
#make_glossary(gloss:gloss, title:i18n("gloss-title", lang: option.lang))
#pagebreak()
//-------------------------------------
// Bibliography
//
#make_bibliography(bib:bib, title:i18n("bib-title", lang: option.lang))
//-------------------------------------
// Appendix
//
#if appendix == true {[
#counter(heading).update(0)
#set heading(numbering:"A")
#include "/tail/a-appendix.typ"
]}