Add ending slide
This commit is contained in:
parent
424eeef545
commit
76cff7edca
1 changed files with 50 additions and 0 deletions
|
|
@ -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