跳到主要内容

university-theme

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.

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.

is the columns of the footer. Default is (25%, 1fr, 25%).

is the left part of the footer. Default is self.info.author.

is the middle part of the footer. Default is self.info.short-title or self.info.title.

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).