Skip to content

Commit

Permalink
Updated manual
Browse files Browse the repository at this point in the history
  • Loading branch information
sahasatvik committed Sep 23, 2023
1 parent 2ef1556 commit e39e9b3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
Binary file modified basic.pdf
Binary file not shown.
Binary file modified manual.pdf
Binary file not shown.
16 changes: 11 additions & 5 deletions manual.typ
Original file line number Diff line number Diff line change
Expand Up @@ -466,12 +466,8 @@ The `thmbox` wraps `thmenv`, supplying a box-like `fmt` function.
#let thmbox(
identifier, // identifier
head, // head - common name, used in the title
..blockargs, // named arguments, passed to #block
supplement: auto, // supplement for references, defaults to "head"
fill: none, // box fill
stroke: none, // box stroke
inset: 1.2em, // box inset
radius: 0.3em, // box corner radius
breakable: false, // box breakability
padding: (top: 0.5em, bottom: 0.5em),
// box padding, passed to #pad
namefmt: x => [(#x)], // formatting for name
Expand All @@ -484,6 +480,16 @@ The `thmbox` wraps `thmenv`, supplying a box-like `fmt` function.
) = { ... }
```

The `thmbox` function sets the following defaults for the `block`.
```typst
(
width: 100%,
inset: 1.2em,
radius: 0.3em,
breakable: false,
)
```

The `thmplain` function is identical to `thmbox`, except with plainer
defaults.

Expand Down
Binary file modified manual_examples.pdf
Binary file not shown.

0 comments on commit e39e9b3

Please # to comment.