Skip to content

Commit 0092eca

Browse files
Bump Version to 0.5.0 (#1026)
2 parents d7f7eba + c081b8b commit 0092eca

21 files changed

+17
-18
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ For information, see the [API Reference (PDF)](./manual.pdf?raw=true) or the [on
7878
To use this package, simply add the following code to your document:
7979

8080
```typ
81-
#import "@preview/cetz:0.4.2"
81+
#import "@preview/cetz:0.5.0"
8282
8383
#cetz.canvas({
8484
import cetz.draw: *
@@ -102,7 +102,7 @@ just install
102102
The installed version can be imported by prefixing the package name with `@local`.
103103

104104
```typ
105-
#import "@local/cetz:0.4.2"
105+
#import "@local/cetz:0.5.0"
106106
107107
#cetz.canvas({
108108
import cetz.draw: *

docs/genhtml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from pathlib import Path
1111

1212

13-
DEFAULT_CETZ_VERSION="@preview/cetz:0.4.2"
13+
DEFAULT_CETZ_VERSION="@preview/cetz:0.5.0"
1414

1515

1616
def typst_template(code, cetz_path):

docs/getting-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sidebar_position: 1
88
This is the minimal starting point in a `.typ` file:
99

1010
```typ
11-
#import "@preview/cetz:0.4.2"
11+
#import "@preview/cetz:0.5.0"
1212
#cetz.canvas({
1313
import cetz.draw: *
1414
...

docs/tutorials/karl.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ In CeTZ, to draw a picture, two imports and a function call is all you need. Kar
2020

2121
```typ
2222
#set page(width: auto, height: auto)
23-
#import "@preview/cetz:0.4.2"
23+
#import "@preview/cetz:0.5.0"
2424
2525
We are working on
2626
#cetz.canvas({

gallery/karls-picture.typ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#import "@preview/cetz:0.4.2"
1+
#import "@preview/cetz:0.5.0"
22
#set page(width: auto, height: auto, margin: .5cm)
33

44
#show math.equation: block.with(fill: white, inset: 1pt)

gallery/paciolis.typ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Example by @samuelireson
2-
#import "@preview/cetz:0.4.2": canvas, draw, tree
2+
#import "@preview/cetz:0.5.0": canvas, draw, tree
33

44
#set page(width: auto, height: auto, margin: .5cm)
55

gallery/periodic-table.png

8 Bytes
Loading

gallery/periodic-table.typ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copied from https://github.com/janosh/tikz/blob/da1b4582/assets/periodic-table/periodic-table.typ
22

3-
#import "@preview/cetz:0.4.2": canvas, draw
3+
#import "@preview/cetz:0.5.0": canvas, draw
44

55
#set page(width: auto, height: auto, margin: 15pt)
66

gallery/plate-capacitor.png

-612 Bytes
Loading

gallery/plate-capacitor.typ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copied from https://github.com/janosh/tikz/blob/87754ea/assets/plate-capacitor/plate-capacitor.typ
22

3-
#import "@preview/cetz:0.4.2": canvas, draw
3+
#import "@preview/cetz:0.5.0": canvas, draw
44
#import draw: line, rect, content, bezier, group, anchor
55

66
#set page(width: auto, height: auto, margin: 5pt)

0 commit comments

Comments
 (0)