Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite tables exercises in favor of tabularray #337

Merged
merged 5 commits into from
Aug 17, 2023
Merged

Conversation

aknierim
Copy link
Contributor

@aknierim aknierim commented Jul 4, 2023

The exercises now aim to teach the basic usage of tabularray.

  • Added tabularray to header, added tblr libraries siunitx and booktabs
  • Removed booktabs from header
  • Changed tabular environments to tblr, added respective options in tblr header
  • Due to the length of the data a few lines were deleted to let the tables be displayed nicely (I don't see the need to introduce longtblr yet)

Regarding the last point: While tabularray certainly makes nicer tables, the spacing between rows can be too large for larger amounts of data. The spacing can of course be set with an option rowsep or rowsep+ in the tblr environments header, but that would probably to much for this tutorial. Alternatively, the longtblr env could be used, but this again would go too deep, imo.

The exercises now aim to teach the basic usage of tabularray.

* Added tabularray to header, added tblr libraries siunitx and booktabs
* Removed booktabs from header
* Changed tabular environments to tblr, added respective options in tblr
  header
* Due to the length of the data a few lines were deleted to let the
  tables be displayed nicely (I don't see the need to introduce longtblr
  yet)
@LuckyJosh
Copy link
Contributor

Maybe we could add the longtblr options to a short " advanced" section
like the one for math typsetting.

@chrbeckm
Copy link
Member

chrbeckm commented Jul 4, 2023

And/Or we build an additional exercise with a bit more explanation.
I would like to keep the slides as a complete overview, and not to hide something exclusively in the exercises.

@LuckyJosh
Copy link
Contributor

Yes, I meant a 2 slide section in the latex slides

@aknierim
Copy link
Contributor Author

aknierim commented Jul 4, 2023

Maybe we could add the longtblr options to a short " advanced" section like the one for math typsetting.

Yeah, I thought about that, too. Maybe right after the "Fortgeschritten: Mathe: Expert" section?

@aknierim
Copy link
Contributor Author

aknierim commented Jul 4, 2023

And/Or we build an additional exercise with a bit more explanation. I would like to keep the slides as a complete overview, and not to hide something exclusively in the exercises.

Advanced slides + some additional exercises seem best to me

@aknierim aknierim changed the title Rewrote tables exercises in favor of tabularray Rewrite tables exercises in favor of tabularray Jul 11, 2023
@aknierim aknierim requested a review from chrbeckm July 11, 2023 10:33
@aknierim aknierim merged commit ad4d679 into main Aug 17, 2023
0 of 2 checks passed
@maxnoe maxnoe deleted the tables-exercises branch August 17, 2023 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants