make bp and dp definitions cleaner

This commit is contained in:
2025-10-10 19:41:12 +02:00
parent 6e5604705e
commit 79df0d4dd9
5 changed files with 69 additions and 73 deletions

View File

@@ -232,6 +232,14 @@
}, margin: 2cm);
}
// _ EMBEDDED
#let pdfembed(path) = {
import "@preview/muchpdf:0.1.1": muchpdf
set page(margin: 0em);
muchpdf(read(path, encoding: none));
}
// ASSIGNMENT PAGE
#let assignment(args) = {
@@ -249,9 +257,13 @@
);
return;
}
import "@preview/muchpdf:0.1.1": muchpdf
set page(margin: 0em);
muchpdf(read(document, encoding: none));
pdfembed(req_arg(args, "assignment"))
}
// EXTERNAL TITLE PAGES
#let external_title_pages(path) = {
pdfembed(path);
}
// DISCLAIMER PAGE