|
61 | 61 | } |
62 | 62 | } |
63 | 63 |
|
64 | | - place(top, float: true, scope: "parent", clearance: 4mm)[ |
65 | | - #if title != none { |
66 | | - align(center, block(inset: 2em)[ |
67 | | - #set par(leading: heading-line-height) if heading-line-height != none |
68 | | - #set text(font: heading-family) if heading-family != none |
69 | | - #set text(weight: heading-weight) |
70 | | - #set text(style: heading-style) if heading-style != "normal" |
71 | | - #set text(fill: heading-color) if heading-color != black |
| 64 | + place( |
| 65 | + top, |
| 66 | + float: true, |
| 67 | + scope: "parent", |
| 68 | + clearance: 4mm, |
| 69 | + block(below: 1em, width: 100%)[ |
72 | 70 |
|
73 | | - #text(size: title-size)[#title #if thanks != none { |
74 | | - footnote(thanks, numbering: "*") |
75 | | - counter(footnote).update(n => n - 1) |
76 | | - }] |
77 | | - #(if subtitle != none { |
78 | | - parbreak() |
79 | | - text(size: subtitle-size)[#subtitle] |
80 | | - }) |
81 | | - ]) |
82 | | - } |
| 71 | + #if title != none { |
| 72 | + align(center, block(inset: 2em)[ |
| 73 | + #set par(leading: heading-line-height) if heading-line-height != none |
| 74 | + #set text(font: heading-family) if heading-family != none |
| 75 | + #set text(weight: heading-weight) |
| 76 | + #set text(style: heading-style) if heading-style != "normal" |
| 77 | + #set text(fill: heading-color) if heading-color != black |
| 78 | + |
| 79 | + #text(size: title-size)[#title #if thanks != none { |
| 80 | + footnote(thanks, numbering: "*") |
| 81 | + counter(footnote).update(n => n - 1) |
| 82 | + }] |
| 83 | + #(if subtitle != none { |
| 84 | + parbreak() |
| 85 | + text(size: subtitle-size)[#subtitle] |
| 86 | + }) |
| 87 | + ]) |
| 88 | + } |
83 | 89 |
|
84 | | - #if authors != none and authors != () { |
85 | | - let count = authors.len() |
86 | | - let ncols = calc.min(count, 3) |
87 | | - grid( |
88 | | - columns: (1fr,) * ncols, |
89 | | - row-gutter: 1.5em, |
90 | | - ..authors.map(author => |
91 | | - align(center)[ |
92 | | - #author.name \ |
93 | | - #author.affiliation \ |
94 | | - #author.email |
95 | | - ] |
| 90 | + #if authors != none and authors != () { |
| 91 | + let count = authors.len() |
| 92 | + let ncols = calc.min(count, 3) |
| 93 | + grid( |
| 94 | + columns: (1fr,) * ncols, |
| 95 | + row-gutter: 1.5em, |
| 96 | + ..authors.map(author => |
| 97 | + align(center)[ |
| 98 | + #author.name \ |
| 99 | + #author.affiliation \ |
| 100 | + #author.email |
| 101 | + ] |
| 102 | + ) |
96 | 103 | ) |
97 | | - ) |
98 | | - } |
| 104 | + } |
99 | 105 |
|
100 | | - #if date != none { |
101 | | - align(center)[#block(inset: 1em)[ |
102 | | - #date |
103 | | - ]] |
104 | | - } |
| 106 | + #if date != none { |
| 107 | + align(center)[#block(inset: 1em)[ |
| 108 | + #date |
| 109 | + ]] |
| 110 | + } |
105 | 111 |
|
106 | | - #if abstract != none { |
107 | | - block(inset: 2em)[ |
108 | | - #text(weight: "semibold")[#abstract-title] #h(1em) #abstract |
109 | | - ] |
110 | | - } |
111 | | - ] |
| 112 | + #if abstract != none { |
| 113 | + block(inset: 2em)[ |
| 114 | + #text(weight: "semibold")[#abstract-title] #h(1em) #abstract |
| 115 | + ] |
| 116 | + } |
| 117 | + ] |
| 118 | + ) |
112 | 119 |
|
113 | 120 | if toc { |
114 | 121 | let title = if toc_title == none { |
|
0 commit comments