Compare commits
2 commits
424eeef545
...
6cef4504a9
| Author | SHA1 | Date | |
|---|---|---|---|
| 6cef4504a9 | |||
| 76cff7edca |
2 changed files with 66 additions and 0 deletions
16
.forgejo/workflows/build.yaml
Normal file
16
.forgejo/workflows/build.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: https://git.madhouse-project.org/actions/nix/install@main
|
||||||
|
- name: Run Nix build
|
||||||
|
run: nix build --extra-experimental-features nix-command --extra-experimental-features flakes
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: presentation.pdf
|
||||||
|
path: result
|
||||||
|
|
@ -141,6 +141,54 @@
|
||||||
touying-slide(self: self, body)
|
touying-slide(self: self, body)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
#let ending-slide(..args) = touying-slide-wrapper(self => {
|
||||||
|
let info = self.info + args.named()
|
||||||
|
let header = {
|
||||||
|
set text(fill: rgb("0065BD"), size: 25pt, weight: "bold")
|
||||||
|
place(top + right,
|
||||||
|
dx: -1em,
|
||||||
|
dy: 1em,
|
||||||
|
image("./resources/TUM_Logo_blau.svg", width: 7%)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
let footer(self) = {
|
||||||
|
set align(bottom)
|
||||||
|
show: pad.with(.4em)
|
||||||
|
set text(size: 14pt)
|
||||||
|
h(1em)
|
||||||
|
h(1fr)
|
||||||
|
grid(
|
||||||
|
columns: (1fr, 4fr, 1fr, 1fr),
|
||||||
|
align: center,
|
||||||
|
grid.cell(align: left)[
|
||||||
|
#h(1em)
|
||||||
|
#info.footer-author],
|
||||||
|
info.title,
|
||||||
|
utils.display-info-date(self),
|
||||||
|
grid.cell(align: right)[
|
||||||
|
#context [#utils.slide-counter.display()/#utils.last-slide-number] #h(1em)]
|
||||||
|
)
|
||||||
|
}
|
||||||
|
let body = {
|
||||||
|
align(center)[
|
||||||
|
#v(3em)
|
||||||
|
Questions, Comments?
|
||||||
|
#v(3em)
|
||||||
|
*Thanks for your attention!*
|
||||||
|
]
|
||||||
|
}
|
||||||
|
self = utils.merge-dicts(
|
||||||
|
self,
|
||||||
|
config-page(
|
||||||
|
header: header,
|
||||||
|
footer: footer,
|
||||||
|
),
|
||||||
|
)
|
||||||
|
touying-slide(self: self, body)
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#let tum-slides(
|
#let tum-slides(
|
||||||
aspect-ratio: "16-9",
|
aspect-ratio: "16-9",
|
||||||
footer: none,
|
footer: none,
|
||||||
|
|
@ -174,5 +222,7 @@
|
||||||
outline-slide()
|
outline-slide()
|
||||||
|
|
||||||
body
|
body
|
||||||
|
|
||||||
|
ending-slide()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue