PgBiel / typst-tablex

More powerful and customizable tables in Typst
Apache License 2.0
376 stars 13 forks source link

Colspan + rowspan documentation is wrong? #119

Closed wlupton closed 10 months ago

wlupton commented 10 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 10 months ago

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