Skip to content

Commit a696e0a

Browse files
Prepare 0.4.2 (#958)
* tree: Bump version to 0.4.2 * gallery: Update images * n-star: Panic if the radius type is wrong
1 parent 59fe413 commit a696e0a

File tree

17 files changed

+18
-15
lines changed

17 files changed

+18
-15
lines changed

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
- Added the shortcut `>>` for the `stealth` mark (#941)
77
- Fixed a division by zero bug when placing marks on zero-length paths (#936)
88
- Added `"near"` and `"far"` directions to the `angle` API (#945)
9-
- Added missing `register-mark` and `register-coordinate-resolvea` API to the docs (#932)
9+
- Added missing `register-mark` and `register-coordinate-resolver` API to the docs (#932)
1010
- Fixed element access inside `compound-path` (#932)
1111
- The `tangent` coordinate now supports ellipses (#925)
1212
- Grid lines now correctly connect at the corners (#921)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ For information, see the [online manual](https://cetz-package.github.io/docs).
7878
To use this package, simply add the following code to your document:
7979

8080
```typ
81-
#import "@preview/cetz:0.4.1"
81+
#import "@preview/cetz:0.4.2"
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.1"
105+
#import "@local/cetz:0.4.2"
106106
107107
#cetz.canvas({
108108
import cetz.draw: *

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.1"
11+
#import "@preview/cetz:0.4.2"
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.1"
23+
#import "@preview/cetz:0.4.2"
2424
2525
We are working on
2626
#cetz.canvas({

gallery/karls-picture.png

0 Bytes
Loading

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.1"
1+
#import "@preview/cetz:0.4.2"
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.1": canvas, draw, tree
2+
#import "@preview/cetz:0.4.2": canvas, draw, tree
33

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

gallery/periodic-table.png

-42 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.1": canvas, draw
3+
#import "@preview/cetz:0.4.2": canvas, draw
44

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

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.1": canvas, draw
3+
#import "@preview/cetz:0.4.2": 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)