Package Information
- Last Updated
- Minimum Typst Version
- 0.13.1
- Authors
- Budo Zindovic
- Categories
- componentslayout
1. Get the package
Download the package using the TPIX CLI:
tpix get @preview/booktabs:0.0.42. Import in your Typst file
Add this to your .typ file:
#import "@preview/booktabs:0.0.4": *Version History
Booktabs
Booktabs is a Typst package inspired by the fabulous LaTeX's Booktabs package.
Usage
For information, see the online manual.
To use this package, simply add the following code to your document:
#import "@preview/booktabs:0.0.4": *
#show: booktabs-default-table-style
#table(
columns: 3,
align: (left, center, center),
toprule(), // added by this package
table.header(
[Substance],
[Subcritical \ °C],
[Supercritical \ °C],
),
midrule(), // added by this package
[Hydrochloric Acid],
[12.0],
[92.1],
[Potassium Hydroxide],
table.cell(colspan: 2)[24.7],
cmidrule(start: 1, end: -1), // added by this package
[Sodium Myreth Sulfate],
[16.6],
[104],
bottomrule() // added by this package
)
Contributing
See https://github.com/bzindovic/booktabs/blob/main/docs/CONTRIBUTING.md.
