Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@ recommended approach is to import it from the `preview` namespace:
``` typst
#import "@preview/drafting:0.2.2"
```
To ensure package functions are usable either directly call the needed
functions in the import statement:
```typ
#import "@preview/drafting:0.2.2": set-page-properties

// to then call:
#set-page-properties(margin-left: 2cm)
```
or pull all functions via a wildcard import:

```typ
#import "@preview/drafting:0.2.2": *
```

Margin notes cannot lay themselves out correctly until they know your
page size and margins. By default, they occupy nearly the entirety of
Expand Down