v0.0.8
版本发布时间: 2024-01-12 23:23:59
PgBiel/typst-tablex最新发布版本:v0.0.8(2024-01-12 23:23:59)
What's Changed
- Added
fit-spans
option totablex
andcellx
(https://github.com/PgBiel/typst-tablex/pull/111)- Accepts
(x: bool, y: bool)
. When set to(x: true)
, colspans won't affect the sizes ofauto
columns. When set to(y: true)
, rowspans won't affect the sizes ofauto
rows. - Defaults to
false
, equivalent to(x: false, y: false)
, that is, colspans and rowspans affect the sizes ofauto
tracks (columns and rows) by default (expanding the last spanned track if the colspan/rowspan is too large). - Useful when you want merged cells (or a specific merged cell) to "fit" within their spanned columns and rows. May help when adding a colspan or rowspan causes an
auto
-sized track to inadvertently expand.
- Accepts
-
auto
column sizing received multiple improvements and bug fixes. Tables should now have more natural column widths. (https://github.com/PgBiel/typst-tablex/pull/109, https://github.com/PgBiel/typst-tablex/pull/116)- Fixes some problems with overflowing cells (https://github.com/PgBiel/typst-tablex/issues/48, https://github.com/PgBiel/typst-tablex/issues/75)
- Fixes
auto
columns being needlessly expanded in some cases (https://github.com/PgBiel/typst-tablex/issues/56, https://github.com/PgBiel/typst-tablex/issues/78)- For similar problems not fixed by this, please use the new
fit-spans
option as needed, or use fixed-size columns instead.
- For similar problems not fixed by this, please use the new
- Several performance optimizations and other internal code improvements were made (https://github.com/PgBiel/typst-tablex/pull/113, https://github.com/PgBiel/typst-tablex/pull/114, https://github.com/PgBiel/typst-tablex/pull/115).
- Documents with lots of
tablex
tables might now become up to 20% faster to cold compile. Give it a shot!
- Documents with lots of
- Fixed extra fixed-height rows appearing to have
auto
height (https://github.com/PgBiel/typst-tablex/pull/108). - Fixed rows without any visible cells being drawn with zero height (https://github.com/PgBiel/typst-tablex/pull/107).
- Fixes some rowspans causing cells to overlap (https://github.com/PgBiel/typst-tablex/issues/82, https://github.com/PgBiel/typst-tablex/issues/105).
New Contributors
- @ntjess made their first contribution in https://github.com/PgBiel/typst-tablex/pull/100
Full Changelog: https://github.com/PgBiel/typst-tablex/compare/v0.0.7...v0.0.8
1、 tablex.typ 102.72KB