188 lines
4.7 KiB
Typst
188 lines
4.7 KiB
Typst
#import "@preview/hei-synd-thesis:0.4.0": *
|
|
#import "@preview/itemize:0.2.0" as el
|
|
#import "@preview/touying:0.6.1": *
|
|
#import "@preview/codelst:2.0.2": sourcecode
|
|
#import "@preview/pinit:0.2.2": *
|
|
|
|
//-------------------------------------
|
|
// Document options
|
|
//
|
|
#let option = (
|
|
type: sys.inputs.at("type", default:"final"), // [draft|final]
|
|
lang: "en",
|
|
region: "gb",
|
|
template: "thesis", // [thesis/midterm]
|
|
)
|
|
//-------------------------------------
|
|
// Optional generate titlepage image
|
|
//
|
|
#import "@preview/fractusist:0.3.2":*
|
|
#let project-logo= dragon-curve(
|
|
12,
|
|
step-size: 1.6,
|
|
stroke: stroke(
|
|
paint: gradient.radial(..color.map.rocket),
|
|
thickness: 0.5pt, join: "round"
|
|
)
|
|
)
|
|
|
|
//-------------------------------------
|
|
// Metadata of the document
|
|
//
|
|
#let doc = (
|
|
title : "PI E2EEDA",
|
|
subtitle : "Team: Plein de eeeeeeeeeeeeeeeeeeeeee",
|
|
abbr : "EEEEEE",
|
|
// author : (
|
|
// gender : "inclusive", // ["masculin"|"feminin"|"inclusive"]
|
|
// name : "Djelal A., Adrien B., Rémi H., Dimitri I., Alison L., Ibrahima S.",
|
|
// degree : "Master",
|
|
// affiliation : "HES-SO",
|
|
// place : "Provence",
|
|
// ),
|
|
author :(
|
|
(
|
|
gender: "masculin",
|
|
name: "Djelal Avdil",
|
|
abbr: "ADD",
|
|
email: "djelal.avdil@master.hes-so.ch",
|
|
institute: "HES-SO",
|
|
),
|
|
(
|
|
gender: "masculin",
|
|
name: "Adrien Dino Balleyguier",
|
|
abbr: "BAD",
|
|
email: "adriendino.balleyguier@hefr.ch",
|
|
institute: "HEIA-FR",
|
|
),
|
|
(
|
|
gender: "masculin",
|
|
name: "Rémi Heredero",
|
|
abbr: "HER",
|
|
email: "remi.heredero@hevs.ch",
|
|
institute: "HEVS",
|
|
),
|
|
// (
|
|
// gender: "masculin",
|
|
// name: "Dimitri Imfeld",
|
|
// abbr: "IMD",
|
|
// email: "dimitri.imfeld@master.hes-so.ch",
|
|
// institute: "HES-SO",
|
|
// ),
|
|
(
|
|
gender: "feminin",
|
|
name: "Alison Lecointre",
|
|
abbr: "LEA",
|
|
email: "alison.lecointre@master.hes-so.ch",
|
|
institute: "HES-SO",
|
|
),
|
|
(
|
|
gender: "masculin",
|
|
name: "Ibrahima Seye",
|
|
abbr: "SEI",
|
|
email: "ibrahima.seye@master.hes-so.ch",
|
|
institute: "HES-SO",
|
|
),
|
|
),
|
|
keywords : ("HES-OS", "Master", "CS", "EnEn", "IoT", "ML"),
|
|
version : "v0.1.0",
|
|
)
|
|
|
|
#let data-page = none // [bytes|none]
|
|
|
|
#let professors = (
|
|
(
|
|
institute: "HEIA-FR",
|
|
name: "Prof. Serge Ayer",
|
|
email: "serge.ayer@hefr.ch",
|
|
),
|
|
(
|
|
institute: "HEIA-FR",
|
|
name: "Prof. Luca Haab",
|
|
email: "luca.haab@hefr.ch",
|
|
),
|
|
(
|
|
institute: "HEVS",
|
|
name: "Prof. Fabrizzio Sossan",
|
|
email: "fabrizio.sossan@hevs.ch",
|
|
)
|
|
)
|
|
#let expert= none
|
|
#let school= (
|
|
name: "HES-SO Master",
|
|
orientation: none,
|
|
specialisation: none,
|
|
)
|
|
school.name = "University of Applied Sciences Western Switzerland, HES-SO"
|
|
school.shortname = "HES-SO"
|
|
|
|
#let date = (
|
|
today: datetime.today(),
|
|
specification-submission: datetime(year: 2026, month: 3, day: 12),
|
|
ordering-components: datetime(year: 2026, month: 3, day: 19),
|
|
first-environmental-data-in-db: datetime(year: 2026, month: 4, day: 09),
|
|
mid-term-presentation: datetime(year: 2026, month: 4, day: 16),
|
|
objective-completed: datetime(year: 2026, month: 5, day: 28),
|
|
submission: datetime(year: 2026, month: 6, day: 4),
|
|
defence: datetime(year: 2026, month: 6, day: 11),
|
|
pitch: datetime(year: 2026, month: 6, day: 25),
|
|
)
|
|
|
|
#let logos = (
|
|
main: project-logo,
|
|
topleft: if option.lang == "fr" or option.lang == "de" {
|
|
image("/resources/img/logos/hei-defr.svg", width: 6cm)
|
|
} else {
|
|
image("/resources/img/logos/hei-en.svg", width: 6cm)
|
|
},
|
|
topright: image("/resources/img/logos/hesso-logo.svg", width: 4cm),
|
|
bottomleft: image("/resources/img/logos/hevs-pictogram.svg", width: 4cm),
|
|
bottomright: image("/resources/img/logos/swiss_universities-valais-excellence-logo.svg", width: 5cm),
|
|
logo-hesso: image("/resources/img/logos/logo-hesso.png", width: 5cm),
|
|
logo-hesso-master: image("/resources/img/logos/logo-hesso-master.jpg", width: 3cm),
|
|
logo-mse: image("/resources/img/logos/logo-mse.png", width: 16cm),
|
|
)
|
|
|
|
//-------------------------------------
|
|
// Settings
|
|
//
|
|
#let tableof = (
|
|
toc: true,
|
|
tof: false,
|
|
tot: false,
|
|
tol: false,
|
|
toe: false,
|
|
maxdepth: 2,
|
|
)
|
|
|
|
#let gloss = true
|
|
#let appendix = true
|
|
#let bib = (
|
|
display : true,
|
|
path : "/tail/bibliography.bib",
|
|
style : "ieee", //"apa", "chicago-author-date", "chicago-notes", "mla"
|
|
)
|
|
|
|
//-------------------------------------
|
|
// Utilities
|
|
//
|
|
|
|
#let warn(element, message) = {
|
|
box(
|
|
stroke: red + 2pt,
|
|
outset: 2pt,
|
|
{
|
|
element
|
|
place(
|
|
top + left,
|
|
dx: -1pt,
|
|
dy: -1pt,
|
|
box(
|
|
fill: yellow,
|
|
inset: .2em,
|
|
message,
|
|
),
|
|
)
|
|
},
|
|
)
|
|
} |