latex-tables

Create LaTeX tables with fixed-width columns using tabularray.

62|10|Updated Dec 4, 2025
One-click install
npx skills add https://github.com/terrylica/cc-skills --skill latex-tables
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: latex-tables
Source: https://github.com/terrylica/cc-skills/tree/main/plugins/doc-tools/skills/latex-tables
Command: npx skills add https://github.com/terrylica/cc-skills --skill latex-tables

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Builds modern LaTeX tables with fixed-width columns, clean syntax, and robust formatting using tabularray.

Core Features & Use Cases

  • Fixed-width and flexible columns with precise alignment
  • Migration from old tabular/tabularx/longtable patterns
  • Practical patterns for complex table layouts

Quick Start

Use tblr environment for a simple table: \begin{tblr}{colspec={ccc}, hlines} A & B & C \ \end{tblr}

Frequently Asked Questions about latex-tables

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create fixed-width tables in LaTeX with tabularray?

Tabularray provides fixed-width column control using the Q[] specifier and flexible X columns for precise alignment. Use the tblr environment with colspec={Q{2cm}Q{3cm}} to define exact widths, or mix Q and X for adaptive layouts within a single table.

Can I migrate my old tabular and tabularx tables to tabularray?

Yes. Tabularray replaces legacy tabular, tabularx, longtable, and booktabs patterns with cleaner syntax. Hlines and vlines work natively in tblr, and the Q and X column specifiers cover both fixed and flexible width requirements from older packages.

What's the best way to control table alignment and line rules in LaTeX?

Tabularray's tblr environment handles alignment through colspec options and applies hlines and vlines declaratively. This approach is simpler than combining multiple legacy packages and gives you precise control over both column widths and table structure in one place.

How do I build complex table layouts with tabularray?

Use tblr with combined column specifiers: mix fixed-width Q columns for data labels, flexible X columns for content, and configure hlines and vlines to organize multi-section tables. Colspec syntax supports nesting for intricate row and column grouping.

Does tabularray support both fixed and flexible columns in the same table?

Yes. Tabularray lets you mix Q (fixed-width) and X (flexible) columns in a single colspec. This hybrid approach lets you lock label columns at precise widths while letting content columns adapt to available space.