PgBiel / typst-tablex

More powerful and customizable tables in Typst
MIT License
370 stars 12 forks source link

Colspan + rowspan documentation is wrong? #119

Closed wlupton closed 7 months ago

wlupton commented 7 months ago

The documentation says to use colspanx(2)(rowspanx(2)[d]) to set colspan and rowspan at the same time.

Is this a typo? The following gives a Missing argument: content error.

#tablex(
  columns: 3,
  [a], [b], [c],
  colspanx(2)(rowspanx(2)[d])
)

Should it say colspanx(2, rowspanx(2)[d])? This works.

#tablex(
  columns: 3,
  [a], [b], [c],
  colspanx(2, rowspanx(2)[d])
)
PgBiel commented 7 months ago

Yep, it was a typo. Will now be fixed in the next release's README. Thanks!