vincentarelbundock / vincentarelbundock/tinytable
Setting caption to be wider than table
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 344
- Forks
- 30
- Avg merge
- 23h 45m
- Merged PRs (30d)
- 1
Description
When outputting some narrow tables to pdf, I would like the caption to be wider than the table, rather than ending up in multiple lines. I might have missed something but could not get it to be so.
Tried setting the parbox width in label_string but I think it is not working as hoped as caption is set inside the tabular array.
Contributor guide
No contributing guide indexed for this repository
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
Start by reproducing the PDF output for a narrow table and inspect how label_string sets the caption inside the tabular array. Trace the caption-width handling and verify that the caption can exceed the table width without wrapping unnecessarily; done means the resulting PDF shows the wider caption as requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100