grey out lorem ipsum and add option to increase interline
This commit is contained in:
parent
660946119a
commit
37492d223d
5 changed files with 26 additions and 6 deletions
22
main.typ
22
main.typ
|
@ -13,6 +13,19 @@
|
|||
} else {
|
||||
true
|
||||
}
|
||||
#let paper_draft = if "paper" in sys.inputs {
|
||||
assert(
|
||||
sys.inputs.paper == "true" or sys.inputs.paper == "false",
|
||||
message: "If --input paper=<val> is set, <val> must be 'true', or 'false'"
|
||||
)
|
||||
assert(
|
||||
draft,
|
||||
message: "paper can only be set if --input draft=true is set"
|
||||
)
|
||||
sys.inputs.draft == "true"
|
||||
} else {
|
||||
false
|
||||
}
|
||||
|
||||
#show: matisse-thesis.with(
|
||||
title-fr: todo[Find a title],
|
||||
|
@ -69,6 +82,13 @@
|
|||
|
||||
#counter(page).update(1)
|
||||
|
||||
// Augment interline when compiling to paper draft
|
||||
#show par: set par(leading: 1.5em) if paper_draft
|
||||
#show par: set par(spacing: 1.5em) if paper_draft
|
||||
// Keep interline in table
|
||||
#show table: set par(leading: 0.65em) if paper_draft
|
||||
|
||||
|
||||
#include("1_introduction/main.typ")
|
||||
#include("2_background/main.typ")
|
||||
#include("3_rasta/main.typ")
|
||||
|
@ -79,6 +99,6 @@
|
|||
|
||||
#todo[Conclude]
|
||||
|
||||
#lorem(500)
|
||||
#text(fill: luma(75%), lorem(500))
|
||||
|
||||
#bibliography("bibliography.bib")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue