university-theme
university-theme(aspect-ratio: "16-9", align: top, progress-bar: true, header, header-right, footer-columns: (25%, 1fr, 25%), footer-a: self => self.info.author, footer-b, footer-c, ..args, body)(source)Touying university theme.
Example:
#show: university-theme.with(aspect-ratio: "16-9", config-colors(primary: blue))`
The default colors:
config-colors(
primary: rgb("#04364A"),
secondary: rgb("#176B87"),
tertiary: rgb("#448C95"),
neutral-lightest: rgb("#ffffff"),
neutral-darkest: rgb("#000000"),
)
Parameters
aspect-ratio : string default: "16-9"
is the aspect ratio of the slides. Default is 16-9.
align : alignment default: top
is the alignment of the slides. Default is top.
progress-bar : boolean default: true
is whether to show the progress bar. Default is true.
header : content | function
is the header of the slides. Default is utils.display-current-heading(level: 2).
header-right : content | function
is the right part of the header. Default is self.info.logo.
footer-columns : tuple default: (25%, 1fr, 25%)
is the columns of the footer. Default is (25%, 1fr, 25%).
footer-a : content | function default: self => self.info.author
is the left part of the footer. Default is self.info.author.
footer-b : content | function
is the middle part of the footer. Default is self.info.short-title or self.info.title.
footer-c : content | function
is the right part of the footer. Default is self => h(1fr) + utils.display-info-date(self) + h(1fr) + context utils.slide-counter.display() + " / " + utils.last-slide-number + h(1fr).