diff --git a/Marginalia.pdf b/Marginalia.pdf index 485f317..9dd142d 100644 Binary files a/Marginalia.pdf and b/Marginalia.pdf differ diff --git a/README.md b/README.md index afc0ec4..6997a07 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Put something akin to the following at the start of your `.typ` file: ```typ -#import "@preview/marginalia:version": note, wideblock +#import "@preview/marginalia:0.1.0" as marginalia: note, wideblock #let config = ( // inner: ( far: 5mm, width: 15mm, sep: 5mm ), // outer: ( far: 5mm, width: 15mm, sep: 5mm ), diff --git a/main.typ b/main.typ index f0fae49..12d8834 100644 --- a/main.typ +++ b/main.typ @@ -1,4 +1,4 @@ -#import "lib.typ" as marginalia: page-setup, note, wideblock +#import "lib.typ" as marginalia: note, wideblock #let config = ( inner: ( far: 16mm, width: 18mm, sep: 8mm ), @@ -102,9 +102,9 @@ Put something akin to the following at the start of your `.typ` file: // ``` // ] #block[ - #set text(size: 0.9em) + #set text(size: 0.84em) ```typst - #import "@preview/marginalia:0.1.0": note, wideblock + #import "@preview/marginalia:0.1.0" as marginalia: note, wideblock #let config = ( // inner: ( far: 5mm, width: 15mm, sep: 5mm ), // outer: ( far: 5mm, width: 15mm, sep: 5mm ), @@ -154,14 +154,14 @@ To change the markers, you can override ```typc config.numbering```-function whi It is recommended to reset the `notecounter` regularly, either per page: #block[ - #set text(size: 0.9em) + #set text(size: 0.84em) ```typ #set page(header: { marginalia.notecounter.update(0) }) ``` ] or per heading: #block[ - #set text(size: 0.9em) + #set text(size: 0.84em) ```typ #show heading.where(level: 1): it => { marginalia.notecounter.update(0); it } @@ -194,7 +194,7 @@ In your documents, consider removing this check and simplifying the ```typc if`` Here's how the headers in this document were made: #block[ - #set text(size: 0.9em) + #set text(size: 0.84em) ```typst #set page(header: context { marginalia.notecounter.update(0) @@ -232,7 +232,7 @@ And here's the code for the lines in the background:#note[ Not that you should copy them, they're mostly here to showcase the columns and help me verify that everything gets placed in the right spot. ] #block[ - #set text(size: 0.9em) + #set text(size: 0.84em) ```typst #set page(background: context { let leftm = marginalia.get-left() diff --git a/preview.svg b/preview.svg index 61efe06..b9f6b36 100644 --- a/preview.svg +++ b/preview.svg @@ -2523,572 +2523,591 @@ - + - + - + - - - - - - + + + + + + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - - - + + + - + - + - - - - - - + + + + + + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - - - - - - - - - - + + + + + + + + + + + + - + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - + - - - - - - - - - - - - - + + + + + + + + + + + + + - + - + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - - - - - - - - - - + + + + + + + + + + - + - + - + - - - - - - - - - + + + + + + + + + - + - + - + - - + + - + - - - - - - + + + + + + - + - + - + - + - + - - - + + + - + - + - - - - + + + + - + - + - + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - + - + - - + + - + - - - - - - - - - - + + + + + + + + + + - + - + - + - - - - - - - - - - + + + + + + + + + + - + - + - + - - + + - + - - - - - - + + + + + + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + - + @@ -3097,7 +3116,7 @@ - + @@ -3125,7 +3144,7 @@ - + @@ -3135,7 +3154,7 @@ - + @@ -3162,7 +3181,7 @@ - + @@ -3222,7 +3241,7 @@ - + @@ -3242,7 +3261,7 @@ - + @@ -3292,7 +3311,7 @@ - + @@ -3391,7 +3410,7 @@ - + @@ -3418,7 +3437,7 @@ - + @@ -3513,7 +3532,7 @@ - + @@ -3709,7 +3728,7 @@ - + @@ -3842,7 +3861,7 @@ - + @@ -3889,7 +3908,7 @@ - + @@ -4048,7 +4067,7 @@ - + @@ -4109,7 +4128,7 @@ - + @@ -4167,7 +4186,7 @@ - + @@ -4228,18 +4247,18 @@ - + - + - + @@ -4295,7 +4314,7 @@ - + @@ -4319,7 +4338,7 @@ - + @@ -4374,7 +4393,7 @@ - + @@ -4437,7 +4456,7 @@ - + @@ -4447,7 +4466,7 @@ - + @@ -4465,7 +4484,7 @@ - + @@ -4473,7 +4492,7 @@ - + @@ -4496,7 +4515,7 @@ - + @@ -4509,7 +4528,7 @@ - + @@ -4518,7 +4537,7 @@ - + @@ -4555,7 +4574,7 @@ - + @@ -4586,7 +4605,7 @@ - + @@ -4606,7 +4625,7 @@ - + @@ -4628,7 +4647,7 @@ - + @@ -4648,7 +4667,7 @@ - + @@ -4674,7 +4693,7 @@ - + @@ -5002,116 +5021,116 @@ - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +