Table cell text align don't work
Open
Nobody has claimed this yet.
layout
styling
- Dominant language
- Rust
- Stars
- 56.1k
- Forks
- 1.7k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 22
Description
Description
// Good
#show table: set align(left)
#show table.cell.where(x: 2): set align(right)
#table(columns: (1fr, 1fr, 1fr), [A], [A], [A])
// Bad A (align right don't work)
#show table: set table(align: left)
#show table.cell.where(x: 2): set align(right)
#table(columns: (1fr, 1fr, 1fr), [A], [A], [A])
// Bad B (align right don't work)
#show table: set table(align: left)
#show table.cell.where(x: 2): set table(align: right)
#table(columns: (1fr, 1fr, 1fr), [A], [A], [A])
Reproduction URL
No response
Operating system
Windows
Typst version
- I am using the latest version of Typst
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source files or tests. Start by running the supplied Typst snippet with the latest version and compare the working alignment example with both failing cases; done when per-cell right alignment works with the shown table alignment forms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100