Fixed handout header
This commit is contained in:
parent
c97bea7443
commit
62ce3ddaa7
@ -44,6 +44,14 @@
|
|||||||
by = text(size: 10pt, [Prepared by #by on #date])
|
by = text(size: 10pt, [Prepared by #by on #date])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let sub = ()
|
||||||
|
if (by != none) {
|
||||||
|
sub.push(by)
|
||||||
|
}
|
||||||
|
if (subtitle != none) {
|
||||||
|
sub.push(subtitle)
|
||||||
|
}
|
||||||
|
|
||||||
// Main title
|
// Main title
|
||||||
align(
|
align(
|
||||||
center,
|
center,
|
||||||
@ -61,8 +69,7 @@
|
|||||||
// Title
|
// Title
|
||||||
text(size: 20pt, title),
|
text(size: 20pt, title),
|
||||||
// Subtitle
|
// Subtitle
|
||||||
if (by != none) { text(size: 10pt, by) },
|
..sub,
|
||||||
if (subtitle != none) { text(size: 10pt, subtitle) },
|
|
||||||
line(length: 100%, stroke: 0.2mm),
|
line(length: 100%, stroke: 0.2mm),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user