add preliminary tag
This commit is contained in:
parent
cadcf917ef
commit
66b150f8af
2 changed files with 9 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
|||
university: "UR",
|
||||
speciality: "Informatique",
|
||||
heading-font: "TeX Gyre Heros",
|
||||
preliminary: false,
|
||||
) = {
|
||||
set page(
|
||||
margin: (left: 20mm, right: 20mm, top: 30mm, bottom: 30mm),
|
||||
|
@ -83,6 +84,9 @@
|
|||
set text(fill: black)
|
||||
jury-content
|
||||
|
||||
if preliminary {
|
||||
place(center + horizon, rotate(24deg, text(red.transparentize(0%), size: 60pt)[VERSION \ PRELIMINAIRE]))
|
||||
}
|
||||
pagebreak()
|
||||
set page(background: none)
|
||||
}
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
show_cover: true,
|
||||
show_body: true,
|
||||
show_abstracts: true,
|
||||
preliminary: false,
|
||||
body
|
||||
) = {
|
||||
assert-etablissements(university)
|
||||
|
@ -60,9 +61,11 @@
|
|||
|
||||
let draft-string = ""
|
||||
if draft { draft-string = "DRAFT - " }
|
||||
let preliminary-string = ""
|
||||
if preliminary { preliminary-string = " - PRELIMINARY VERSION"
|
||||
|
||||
set document(
|
||||
title: draft-string + title-en,
|
||||
title: draft-string + title-en + preliminary-string,
|
||||
author: author,
|
||||
)
|
||||
set par(justify: true)
|
||||
|
@ -250,6 +253,7 @@
|
|||
university: university,
|
||||
speciality: speciality,
|
||||
heading-font: heading-font,
|
||||
preliminary: preliminary,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue