igbuend/grimbard/booktabs
Claude Code and agent skill by igbuend/grimbard
- community
Checking that the SKILL.md file is still in the repository.
LaTeX booktabs/tabularx/multirow/longtable packages for professional tables. Use when helping users create well-formatted tables, multi-page tables, or improve table appearance.
Install
npx vskill@latest install igbuend/grimbard/booktabsSKILL.md
booktabs + tabularx + multirow + longtable — Professional Tables
CTAN: https://ctan.org/pkg/booktabs | https://ctan.org/pkg/tabularx Manual: texdoc booktabs
Setup
Ugly vs Professional — Before/After
❌ Bad Table
✅ Good Table
Rules: Never use vertical lines. Never use \hline. Use \toprule, \midrule, \bottomrule.
booktabs Rules
| Command | Use | |
|---|---|---|
\toprule | Top of table (thicker) | |
\midrule | Between header and body | |
\bottomrule | Bottom of table (thicker) | |
\cmidrule(lr){2-4} | Partial rule spanning columns 2–4 | |
\addlinespace | Extra vertical space (group separator) | |
\addlinespace[5pt] | Custom extra space |
cmidrule Trimming
Grouped Rows Example
tabularx — Auto-Width Columns
| Column type | Behavior | |
|---|---|---|
l, c, r | Fixed (natural width) | |
X | Expands to fill remaining space (left-aligned) | |
>{\centering\arraybackslash}X | Centered X column | |
>{\raggedleft\arraybackslash}X | Right-aligned X column | |
p{3cm} | Paragraph, fixed width |
multirow
Syntax: \multirow{nrows}{width}{content} — use * for auto width.
\multicolumn{ncols}{alignment}{content} — built into LaTeX.
Complex Header Example
longtable — Multi-Page Tables
Note: longtable replaces tabular entirely (not inside table environment). Caption and label go inside.
colortbl — Row and Cell Coloring
siunitx S Columns — Number Alignment
S column: Aligns numbers by decimal point. Wrap text headers in {...}.
| S option | Example | Meaning | |
|---|---|---|---|
table-format | 3.2 | 3 digits . 2 decimals | |
table-format | +2.1e3 | sign, digits, exponent | |
round-mode | places | Round to decimal places | |
round-precision | 2 | Number of decimal places |
Full Example — Publication-Quality Table
Common Pitfalls
| Problem | Cause | Fix | ||
|---|---|---|---|---|
| Vertical lines | Using ` | ` in column spec | Remove them — use whitespace | |
\hline | Old habit | Use \toprule/\midrule/\bottomrule | ||
| Table too wide | Too many columns | Use tabularx with X columns, or \resizebox | ||
longtable in table | Incompatible | longtable replaces table environment | ||
\multirow misaligned | Row height differences | Add \rule{0pt}{2.5ex} or adjust manually | ||
S column header error | Text in S column | Wrap header in {...} | ||
| Footnotes in table | \footnote fails in tabular | Use \tablefootnote (tablefootnote pkg) or threeparttable | ||
booktabs + colortbl gaps | Rules have gaps with color | Add \abovetopsep=0pt or use \arrayrulecolor |
Tips
- Three rules only:
\toprule,\midrule,\bottomrule— almost never need more - Use
\addlinespaceto group rows visually instead of extra rules - Put
\captionabove the table (convention for tables, unlike figures) \smallor\footnotesizebefore tabular to shrink wide tablesthreeparttablepackage for proper table footnotes\arraystretchto adjust row height:\renewcommand{\arraystretch}{1.2}
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/booktabs/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 4 Apr 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/igbuend/grimbard/booktabs)