Skip to content

Commit

Permalink
Fix example env style
Browse files Browse the repository at this point in the history
  • Loading branch information
francescoo22 committed Aug 27, 2024
1 parent 6c70b3f commit a9bca36
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/thesis-config.typ
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
) = {
// Set the document's basic properties.
set document(author: myAuthor, title: myTitle)
show: codly-init.with()
show: thmrules.with(qed-symbol: $square$)
show: codly-init
show: thmrules
show math.equation: set text(weight: 400)
show table.cell.where(y: 0): strong

Expand Down
9 changes: 8 additions & 1 deletion config/utils.typ
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,11 @@
}
)

#let example = thmplain("example", "Example").with(numbering: "1.1")
#let example = thmplain(
"example",
"Example",
titlefmt: strong,
bodyfmt: body => [
#body #h(1fr) $square$
]
).with(numbering: "1.1")

0 comments on commit a9bca36

Please sign in to comment.