diff --git a/basic.pdf b/basic.pdf index 7c3bb7a..7028954 100644 Binary files a/basic.pdf and b/basic.pdf differ diff --git a/manual.pdf b/manual.pdf index e667ba8..425366e 100644 Binary files a/manual.pdf and b/manual.pdf differ diff --git a/manual.typ b/manual.typ index 6bde365..66abd4a 100644 --- a/manual.typ +++ b/manual.typ @@ -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 @@ -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. diff --git a/manual_examples.pdf b/manual_examples.pdf index ee57150..53e4344 100644 Binary files a/manual_examples.pdf and b/manual_examples.pdf differ