diff options
Diffstat (limited to 'java/prelude.typ')
-rw-r--r-- | java/prelude.typ | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/java/prelude.typ b/java/prelude.typ index 41eedc5..09e239e 100644 --- a/java/prelude.typ +++ b/java/prelude.typ @@ -21,10 +21,9 @@ let new-assignment-list = () index = 0 for (start, end) in page-number-list { - let page-number = [#start - #end] - if start == end { page-number = [#start] } + let page-number = if start == end [#start] else [#start - #end] let assignment = assignment-list.at(index) - let item = ([#{assignment.number}. ], assignment.description, page-number, [], []) + let item = ([#{assignment.number}. ], assignment.description, page-number, assignment.date, []) new-assignment-list.push(item) index = index + 1 } @@ -32,7 +31,7 @@ } #list-of-assignments((assignment-list, last-page-number) => tablex( - columns: (3em, 1fr, 4em, 8em, 10em), + columns: (3em, 1fr, 4em, 6em, 11em), stroke: 1pt + gray, map-cols: (i, cells) => (cells.first(), ..cells.slice(1).map(cell => (..cell, align: column-alignments.at(i)))), heading-format[*Sl.* \ *No.*], heading-format[*Description*], heading-format[*Page No.*], heading-format[*Date*], heading-format[*Teacher’s* \ *Signature*], |