Skip to content

Commit 180801c

Browse files
committed
update README for 0.0.5
1 parent e970cbe commit 180801c

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# typst-tablex (v0.0.4)
1+
# typst-tablex (v0.0.5)
22
**More powerful and customizable tables in Typst.**
33

44
**NOTE:** This library still has a few bugs, but most of them shouldn't be noticeable. **Please open an issue if you find a bug** and I'll get to it as soon as I can. **(Do not be afraid to open issues!! Also, PRs are welcome!)**
@@ -17,7 +17,7 @@
1717
* [Basic types and functions](#basic-types-and-functions)
1818
* [Gridx and Tablex](#gridx-and-tablex)
1919
* [Changelog](#changelog)
20-
* [Unreleased](#unreleased)
20+
* [v0.0.5](#v005)
2121
* [v0.0.4](#v004)
2222
* [v0.0.3](#v003)
2323
* [v0.0.2](#v002)
@@ -27,7 +27,7 @@
2727

2828
## Usage
2929

30-
To use this library through the Typst package manager **(for Typst v0.6.0+)**, write for example `#import "@preview/tablex:0.0.4": tablex, cellx` at the top of your Typst file (you may also add whichever other functions you use from the library to that import list!).
30+
To use this library through the Typst package manager **(for Typst v0.6.0+)**, write for example `#import "@preview/tablex:0.0.5": tablex, cellx` at the top of your Typst file (you may also add whichever other functions you use from the library to that import list!).
3131

3232
For older Typst versions, download the file `tablex.typ` from the latest release (or directly from the main branch, for the 'bleeding edge') at the tablex repository (https://github.com/PgBiel/typst-tablex) and place it on the same folder as your own Typst file. Then, at the top of your file, write for example `#import "tablex.typ": tablex, cellx` (plus whichever other functions you use from the library).
3333

@@ -40,7 +40,7 @@ Here's an example of what `tablex` can do:
4040

4141
Here's the code for that table:
4242
```js
43-
#import "@preview/tablex:0.0.4": tablex, rowspanx, colspanx
43+
#import "@preview/tablex:0.0.5": tablex, rowspanx, colspanx
4444

4545
#tablex(
4646
columns: 4,
@@ -92,7 +92,7 @@ Here's the code for that table:
9292
In most cases, you should be able to replace `#table` with `#tablex` and be good to go for a start - it should look _very_ similar (if not identical). Indeed, the syntax is very similar for the basics:
9393

9494
```js
95-
#import "@preview/tablex:0.0.4": tablex
95+
#import "@preview/tablex:0.0.5": tablex
9696

9797
#tablex(
9898
columns: (auto, 1em, 1fr, 1fr), // 4 columns
@@ -117,7 +117,7 @@ This is mostly a word of caution in case anything I haven't anticipated happens,
117117
Your cells can now span more than one column and/or row at once, with `colspanx` / `rowspanx`:
118118

119119
```js
120-
#import "@preview/tablex:0.0.4": tablex, colspanx, rowspanx
120+
#import "@preview/tablex:0.0.5": tablex, colspanx, rowspanx
121121

122122
#tablex(
123123
columns: 3,
@@ -146,7 +146,7 @@ Also, note that, by default, the horizontal lines below the header are transport
146146
Example:
147147

148148
```js
149-
#import "@preview/tablex:0.0.4": tablex, hlinex, vlinex, colspanx, rowspanx
149+
#import "@preview/tablex:0.0.5": tablex, hlinex, vlinex, colspanx, rowspanx
150150

151151
#pagebreak()
152152
#v(80%)
@@ -193,7 +193,7 @@ Something similar occurs for `vlinex()`, which has `start`, `end` (first row and
193193
Here's some sample usage:
194194

195195
```js
196-
#import "@preview/tablex:0.0.4": tablex, gridx, hlinex, vlinex, colspanx, rowspanx
196+
#import "@preview/tablex:0.0.5": tablex, gridx, hlinex, vlinex, colspanx, rowspanx
197197

198198
#tablex(
199199
columns: 4,
@@ -237,7 +237,7 @@ Here's some sample usage:
237237
You can also *bulk-customize lines* by specifying `map-hlines: h => new_hline` and `map-vlines: v => new_vline`. This includes any automatically generated lines. For example:
238238

239239
```js
240-
#import "@preview/tablex:0.0.4": tablex, colspanx, rowspanx
240+
#import "@preview/tablex:0.0.5": tablex, colspanx, rowspanx
241241

242242
#tablex(
243243
columns: 3,
@@ -269,7 +269,7 @@ Additionally, instead of specifying content to the cell, you can specify a funct
269269
For example:
270270

271271
```js
272-
#import "@preview/tablex:0.0.4": tablex, cellx, colspanx, rowspanx
272+
#import "@preview/tablex:0.0.5": tablex, cellx, colspanx, rowspanx
273273

274274
#tablex(
275275
columns: 3,
@@ -301,7 +301,7 @@ To customize multiple cells at once, you have a few options:
301301
Example:
302302
303303
```js
304-
#import "@preview/tablex:0.0.4": tablex, colspanx, rowspanx
304+
#import "@preview/tablex:0.0.5": tablex, colspanx, rowspanx
305305
306306
#tablex(
307307
columns: 4,
@@ -598,13 +598,13 @@ Another example (summing columns):
598598

599599
## Changelog
600600

601-
### Unreleased
601+
### v0.0.5
602602

603603
- ⚠️ **Minimum Typst version raised to v0.2.0**
604604
- Improved calculation of page/container dimensions by using the `layout()` function.
605605
- Fixes tables with fractional columns not displaying properly in blocks with `auto` width (https://github.com/PgBiel/typst-tablex/issues/44; https://github.com/PgBiel/typst-tablex/issues/39)
606606
- Fixes some nested tables overflowing the page width (https://github.com/PgBiel/typst-tablex/issues/41)
607-
- Fixes nested tables with fractional columns not displaying properly (https://github.com/PgBiel/typst-tablex/issues/28)
607+
- Fixes bad interaction between tables with fractional columns and nested tables (https://github.com/PgBiel/typst-tablex/issues/28)
608608
- Fixes table rotation messing up table size calculation (https://github.com/PgBiel/typst-tablex/issues/52)
609609
- Probably fixes other issues not listed here as well.
610610
- Added some guards for infinite lengths and `auto`-sized pages (https://github.com/PgBiel/typst-tablex/issues/47).

0 commit comments

Comments
 (0)