ah bah super
This commit is contained in:
1 parent
20001d2668
commit
dbfaecdf54
6 files changed
+373
-16855
No files matched your search
@@ -6,7 +6,6 @@
|
||||
dx: -20mm,
|
||||
box(fill: rgb("#171568"), height: 15mm, width: 110%)[
|
||||
#place(dx: -5mm, right + horizon, [#h(18mm) Gaspar Daguet])
|
||||
#place(dx: 15mm, left + horizon, [#image("./image/btUnistra-logo.jpg")])
|
||||
],
|
||||
)
|
||||
],
|
||||
@@ -25,6 +24,7 @@
|
||||
both: true,
|
||||
),
|
||||
)
|
||||
#place(left + horizon, [#image("./image/btUnistra-logo.jpg")])
|
||||
],
|
||||
)
|
||||
],
|
||||
@@ -32,54 +32,35 @@
|
||||
margin: (x: 5mm),
|
||||
numbering: "1/1",
|
||||
)
|
||||
#set text(25pt, font: "Linux Biolinum")
|
||||
#set text(25pt, font: "Linux Libertine", lang: "fr")
|
||||
#set heading(
|
||||
numbering: (..numbers) => {
|
||||
let n = numbers.pos().len()
|
||||
if n == 1 {} else if n == 2 {} else if n == 3 {} else if n == 4 {} else if n == 5 {}
|
||||
},
|
||||
)
|
||||
#show heading.where(level: 2): it => place(dy: -21mm, text(fill: white)[#it])
|
||||
|
||||
#show heading.where(level: 2): it => place(dy: -17mm, dx: -5mm, text(fill: white)[#it])
|
||||
#show heading.where(level: 1): it => place(dy: -10mm, center + horizon, text()[#it])
|
||||
#set enum(numbering: "1)")
|
||||
#set figure(kind: "", supplement: none)
|
||||
#let sh = math.op("sh", limits: false)
|
||||
#let ch = math.op($"ch"$, limits: false)
|
||||
#let th = math.op($"th"$, limits: false)
|
||||
#let cal(body, _font: "LT Perfume") = $text(font: #_font, body)$ + h(7pt)
|
||||
#let scal(x, y) = math.op($< #x | #y >$)
|
||||
#import "@preview/cetz:0.3.2"
|
||||
|
||||
#let code(file, step: 30, langue: none, siz: 11pt, title: "code") = {
|
||||
let content = read(file)
|
||||
let size = content.split("\n").len()
|
||||
|
||||
if langue == none {
|
||||
langue = file.split(".").at(-1)
|
||||
}
|
||||
|
||||
for i in range(0, size, step: step) {
|
||||
let end = if i + step > size { size } else { i + step }
|
||||
let code = content.split("\n").slice(i, end).join("\n")
|
||||
[
|
||||
#pagebreak()
|
||||
== Annexe - #title
|
||||
#place(
|
||||
center + horizon,
|
||||
box(height: 200%, width: 90%)[
|
||||
#set align(left)
|
||||
#set text(size: siz)
|
||||
#raw(code, lang: langue)
|
||||
],
|
||||
)
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#place(center + horizon, dy: -10mm)[
|
||||
*Résolution de Schwarzschild\ à l’équation d’Einstein*\
|
||||
= #[Résolution de Schwarzschild\ à l’équation d’Einstein]\
|
||||
\
|
||||
\
|
||||
Gaspar Daguet
|
||||
]
|
||||
|
||||
#pagebreak()
|
||||
|
||||
= outlined
|
||||
|
||||
== 1) Test
|
||||
|
||||
=== tesT
|
||||
|
||||
#pagebreak()
|
||||
|
||||
= Test
|
||||
|
||||
== oui
|
||||
Reference in new issue
Block a user