diff --git a/README.md b/README.md index bb79041..d036cf2 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ This package also contains a simple template, `progressive-layout`, which shows #import "@preview/progressive-layout:1.0.0": progressive-layout, progressive-outline // Apply the template to your document -#show: doc => progressive-layout(doc) +#show: progressive-layout // Your headings... = Chapter 1 @@ -47,8 +47,8 @@ This package also contains a simple template, `progressive-layout`, which shows This package includes two files to demonstrate its usage: -- [`example.typ`](https://github.com/eusebe/progressive-layout/blob/main/example.typ): This file shows how the `progressive-outline` function works with different options. -- [`demo.typ`](https://github.com/eusebe/progressive-layout/blob/main/demo.typ): This file provides an example of how to use the `progressive-layout` template. +- [`example.typ`](example.typ): This file shows how the `progressive-outline` function works with different options. +- [`demo.typ`](demo.typ): This file provides an example of how to use the `progressive-layout` template. ## `progressive-outline` Parameters diff --git a/demo.pdf b/demo.pdf index 9f1621a..e27d0e9 100644 Binary files a/demo.pdf and b/demo.pdf differ diff --git a/demo.typ b/demo.typ index ef00ce6..12129aa 100644 --- a/demo.typ +++ b/demo.typ @@ -3,7 +3,7 @@ // #import "lib.typ": progressive-layout, progressive-outline // Apply the layout to the entire document -#show: doc => progressive-layout(doc, show-numbering: true) +#show: progressive-layout.with(show-numbering: true) = First Section : General Introduction diff --git a/example.pdf b/example.pdf index 74535c1..956f02b 100644 Binary files a/example.pdf and b/example.pdf differ