Files
MSE-PI-E2EEDA-Plein-de-eeee…/report/resources/mse-title-page.typ

108 lines
1.6 KiB
Typst

//
// Description: Custom pages for the thesis template
// Author : Sierro Yann
#import "/metadata.typ": *
#let l = {
line(length: 100%, stroke: 0.5pt)
}
#let mse-title-page(
title: doc.title,
subtitle: doc.subtitle,
school: school,
authors: doc.author,
professors: professors,
expert: expert,
date: date,
logos: logos,
) = {
set page(
margin: (
top:3.0cm,
bottom:3.0cm,
rest:3.5cm
)
)
//-------------------------------------
// Page content
//
align(center)[
#logos.logo-hesso
#v(1cm)
#logos.logo-mse
#v(1cm)
#text(size:20pt)[
#school.orientation
]
#v(0.5cm)
#text(title, size:30pt)
#v(0.5cm)
#text(subtitle, size:24pt)
#v(0.5cm)
// #text(size:22pt, doc.author.name)
#align(center, [#text(size:large, [
#enumerating-authors(
items: authors,
multiline: true,
)
#v(2em)
])])
]
v(1cm)
align(center, text(size: 1.5em)[
Spring Semester #date.submission.display("[Year]")
])
v(1cm)
grid(
columns: (1fr, 1fr),
align: left + horizon,
text(size:12pt)[
#if professors != none [
Professor: \
// - #professor.name
// - #professor.email
// - #professor.affiliation
#enumerating-authors(
items: professors,
multiline: true,
)
]
],
text(size:12pt)[
#if expert != none [
Expert: \
- #expert.name
- #expert.email
- #expert.affiliation
]
]
)
v(1cm)
text(size:15pt)[
_Submission date of the report_ \
#date.submission.display()
]
}