diff --git a/lib.typ b/lib.typ index 0027659..c267ec5 100644 --- a/lib.typ +++ b/lib.typ @@ -5,7 +5,7 @@ * Typst library for NURE (Kharkiv National University of Radio Electronics) works */ -#import "style.typ": spacing, dstu-style, appendices-style +#import "style.typ": appendices-style, dstu-style, spacing #import "template.typ": * // TODO: Template formatting functions {{{ @@ -387,7 +387,7 @@ #v(spacing * 2, weak: true) ], depth: 2, - indent: auto, + indent: 0em, ) doc diff --git a/template.typ b/template.typ index df8f2d1..09e3826 100644 --- a/template.typ +++ b/template.typ @@ -29,6 +29,7 @@ number: none, subject: none, title: none, + hide_title: false, variant: none, author: none, mentor: none, @@ -121,7 +122,7 @@ pagebreak(weak: true) - if title != none { heading(title) } + if title != none and not hide_title { heading(title) } it } // }}}