Compare commits

..

2 commits

Author SHA1 Message Date
6cef4504a9
Add forgejo workflow
All checks were successful
/ build (push) Successful in 49s
2025-06-15 17:47:35 +02:00
76cff7edca
Add ending slide 2025-06-15 17:46:22 +02:00
2 changed files with 66 additions and 0 deletions

View 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

View file

@ -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()
} }