-
I think most libraries have struggled with easily drawing circles where the function has both x and y as its parameters. Matplotlib has a contour function that takes `x` and `y` list and the `f(x, y)`…
-
I think I changed nothing, but now it shows the error message "failed to decompress package (invalid gzip header)" when trying to import the package. I am of course importing the package via `#import …
-
Though I prefer to writing documents in pure typst, I need to write several LaTeX documents for formal publications. Typst has delightful future but we have to admit that it cannot be used for writing…
-
### Description
It would be useful if the `#csv` function could have an option to parse headers. If the headers option is enabled, the function would parse the first line of the `.csv` as a header ro…
-
Like seen in the user manual (first graphic) and also in my little code example (second graphic), the content, meaning p_1, p_2, ..., is colliding with the lines/graph. It would be great if it would g…
-
Thank you very much for this awesome library.
I just have difficulties to get the grid in plots working. I tried multiple things:
```typst
#canvas(length: 1cm, {
plot.plot(size: (8, 6),
gri…
dscso updated
9 months ago
-
```
#import"@preview/cetz:0.1.1"
#cetz.canvas(length:1cm, {
import cetz.draw: *
set-style(mark: (end: ">"))
bezier((0,0), (2, 2), (1, 0))
})
```
error: `expected color or none, found a…
-
```
#import "@preview/cetz:0.1.0"
#set page(width: auto, height: auto, margin: 10pt)
#cetz.canvas({
import cetz.draw: *
line((0, 0), (5, 0), mark: (end: ">"), stroke: red)
})
```
Output:
…
-
The following code errors with `assertion failed`:
``` typst
#import"@preview/cetz:0.1.1"
#cetz.canvas(length:1cm, {
import cetz.draw: *
circle((1, 1), name: "c")
content((0, 0), [hi],…
-
Hello,
I am currently encountering an issue with some bezier curves, where compilation fails with `error: cannot divide by zero`. e.g.
```
#import "@preview/cetz:0.1.0"
#cetz.canvas({
i…