Skip to content

Commit

Permalink
release: Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-wolf committed Sep 30, 2023
1 parent dce7412 commit b52b754
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 9 deletions.
10 changes: 10 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,24 @@ CeTZ requires Typst 0.8.0.
## Draw
- New `on-layer(layer, body)` function for drawing with a given layer/z-index
- New `catmull(..)` function for drawing catmull-rom curves
- Changed default anchors of circles and arcs to anchors on the elliptical path
- Added style option to specify triangle mark angle
- Fixed rect anchors if coordinates were swapped
- Fixed bezier extrema/aabb calculation
- Fixed bug with `content` and `intersections`
- Fixed automatic mark offset for lines
- Fixed problems with style inheritance

## Libs
### Plot
- Added `sample-at: (..)` option to `plot.add(..)` for specifying extra sample points
- Added `line: <linear|spline|vh|hv|vhv>` support
- The plot lib tries to linearize data to reduce draw calls
- Fixed custom tick plot formatting
- Allow plots without data

### Decorations
- New decoration library by @RubixDev for drawing braces

# 0.1.1
## Libs
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ For information, see the [manual](manual.pdf?raw=true).

To use this package, simply add the following code to your document:
```
#import "@preview/cetz:0.1.1"
#import "@preview/cetz:0.1.2"
#cetz.canvas({
import cetz.draw: *
Expand All @@ -75,7 +75,7 @@ just install
The installed version can be imported by prefixing the package name with `@local`.

```typ
#import "@local/cetz:0.1.1"
#import "@local/cetz:0.1.2"
#cetz.canvas({
import cetz.draw: *
Expand Down
2 changes: 1 addition & 1 deletion gallery/3d-chart.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "@preview/cetz:0.1.1": canvas, draw
#import "@preview/cetz:0.1.2": canvas, draw

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

Expand Down
2 changes: 1 addition & 1 deletion gallery/barchart.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "@preview/cetz:0.1.1": canvas, chart
#import "@preview/cetz:0.1.2": canvas, chart

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

Expand Down
2 changes: 1 addition & 1 deletion gallery/karls-picture.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "@preview/cetz:0.1.1"
#import "@preview/cetz:0.1.2"

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

Expand Down
2 changes: 1 addition & 1 deletion gallery/pie-chart.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "@preview/cetz:0.1.1"
#import "@preview/cetz:0.1.2"

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

Expand Down
2 changes: 1 addition & 1 deletion gallery/plot.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "@preview/cetz:0.1.1": canvas, plot
#import "@preview/cetz:0.1.2": canvas, plot

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

Expand Down
2 changes: 1 addition & 1 deletion gallery/tree.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "@preview/cetz:0.1.1": canvas, draw, tree
#import "@preview/cetz:0.1.2": canvas, draw, tree

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

Expand Down
Binary file modified manual.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion manual.typ
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ The name CeTZ is a recursive acronym for "CeTZ, ein Typst Zeichenpacket" (german

This is the minimal starting point:
```typ
#import "@local/cetz:0.1.1"
#import "@local/cetz:0.1.2"
#cetz.canvas({
import cetz.draw: *
...
Expand Down

0 comments on commit b52b754

Please sign in to comment.