Skip to content

Commit 4b6f933

Browse files
committed
Prepare CeTZ v0.3.0
1 parent b334fef commit 4b6f933

File tree

14 files changed

+11
-120
lines changed

14 files changed

+11
-120
lines changed

README.md

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -24,39 +24,18 @@ CeTZ (CeTZ, ein Typst Zeichenpaket) is a library for drawing with [Typst](https:
2424
<td>Karl's Picture</td>
2525
<td>Tree Layout</td>
2626
<td>Waves</td>
27-
</tr><tr>
28-
<td>
29-
<a href="gallery/pie-chart.typ">
30-
<img src="gallery/pie-chart.png" width="250px">
31-
</a>
32-
</td>
33-
<td>
34-
<a href="gallery/plot.typ">
35-
<img src="gallery/plot.png" width="250px">
36-
</a>
37-
</td>
38-
<td>
39-
<a href="gallery/barchart.typ">
40-
<img src="gallery/barchart.png" width="250px">
41-
</a>
42-
</td>
43-
</tr><tr>
44-
<td>Pie Chart</td>
45-
<td>Plot</td>
46-
<td>Clustered Barchart</td>
4727
</tr>
48-
4928
</table>
5029

5130
*Click on the example image to jump to the code.*
5231

5332
## Usage
5433

55-
For information, see the [manual](https://github.com/cetz-package/cetz/blob/v0.2.2/manual.pdf?raw=true) for the current version. Future versions will use the new documentation website: https://cetz-package.github.io/docs
34+
For information, see the [online manual](https://cetz-package.github.io/docs).
5635

5736
To use this package, simply add the following code to your document:
5837
```
59-
#import "@preview/cetz:0.2.2"
38+
#import "@preview/cetz:0.3.0"
6039
6140
#cetz.canvas({
6241
import cetz.draw: *
@@ -80,7 +59,7 @@ just install
8059
The installed version can be imported by prefixing the package name with `@local`.
8160

8261
```typ
83-
#import "@local/cetz:0.2.2"
62+
#import "@local/cetz:0.3.0"
8463
8564
#cetz.canvas({
8665
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.2.2"
11+
#import "@preview/cetz:0.3.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.2.2"
23+
#import "@preview/cetz:0.3.0"
2424
2525
We are working on
2626
#cetz.canvas({

gallery/barchart.png

-88.3 KB
Binary file not shown.

gallery/barchart.typ

Lines changed: 0 additions & 26 deletions
This file was deleted.

gallery/karls-picture.typ

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#import "@preview/cetz:0.2.2"
2-
1+
#import "@preview/cetz:0.3.0"
32
#set page(width: auto, height: auto, margin: .5cm)
43

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

gallery/pie-chart.png

-61.9 KB
Binary file not shown.

gallery/pie-chart.typ

Lines changed: 0 additions & 35 deletions
This file was deleted.

gallery/plot.png

-61.5 KB
Binary file not shown.

gallery/plot.typ

Lines changed: 0 additions & 26 deletions
This file was deleted.

gallery/tree.typ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#import "@preview/cetz:0.2.2": canvas, draw, tree
1+
#import "@preview/cetz:0.3.0": canvas, draw, tree
22

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

gallery/waves.typ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#import "@preview/cetz:0.2.2": canvas, draw, vector, matrix
1+
#import "@preview/cetz:0.3.0": canvas, draw, vector, matrix
22

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

src/version.typ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#let version = version(0,2,2)
1+
#let version = version(0,3,0)

typst.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cetz"
3-
version = "0.2.2"
3+
version = "0.3.0"
44
compiler = "0.11.0"
55
repository = "https://github.com/cetz-package/cetz"
66
entrypoint = "src/lib.typ"
@@ -11,5 +11,5 @@ authors = [
1111
categories = [ "visualization" ]
1212
license = "LGPL-3.0-or-later"
1313
description = "Drawing with Typst made easy, providing an API inspired by TikZ and Processing. Includes modules for plotting, charts and tree layout."
14-
keywords = [ "draw", "canvas", "plot", "chart", "tree" ]
14+
keywords = [ "draw", "canvas", "tree" ]
1515
exclude = [ "/gallery/*", "manual.pdf", "manual.typ" ]

0 commit comments

Comments
 (0)