-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support text justification for individual cells/rows/columns in ggtexttable() #335
Comments
Also very interested in this (or a workaround that allows to change the justification of just a single column)! Edit: changing justification row wise can be done by passing a list i.e. |
Can someone give an example of how to left justify the 1st column and right justify the rest? I cannot get the example above to work |
using this: theme = ggpubr::ttheme(tbody.style = ggpubr::tbody_style(hjust=as.vector(matrix(c(1, 0, 0,0), john smith how can I get it left justified and flush left for the 1st column? thanks! |
I figured it out: |
doc updated now with an example, thank you all for the contribution to the discussion |
Although text justification was added to ggtexttable (#18), the justification setting always applies to the entire table.
It would be great if we could change the text justification for individual cells or rows/columns similar to table_cell_bg() or table_cell_font(). Having this option would be super useful. Thank you!
The text was updated successfully, but these errors were encountered: