qtalr / book

An Introduction to Quantitative Text Analysis for Linguistics: Reproducible Research Using R
https://qtalr.com
4 stars 0 forks source link

tinytable tt() centers all columns #57

Closed francojc closed 1 week ago

francojc commented 4 weeks ago

It doesn't seem possible to get data-sensitive alignment. Even with style_tt(align = 'l'). Need to look at another solution.

francojc commented 4 weeks ago

Markdown table columns are also not aligned properly. I need to explicitly add markdown alignment, for example:

| Column 1 | Column 2 | Column 3 |
|--|--|--|
| Value 1 | Value 2 | Value 3 |

Needs to be changed to:

| Column 1 | Column 2 | Column 3 |
|:--|:-:|--:|
| Value 1 | Value 2 | Value 3 |

Depending on the table, I might need to change the alignment.