n.vialma at libero.it
2012-Feb-09 09:08 UTC
[R] width and alignment of Latex table columns
Dear all, I'm using xtable package in order to produce Latex table. There is a way to specify not only the alignment but also the width of table colums?? Thanks for your attention.
Hi,
You can set the width of the columns the same way you would in any other LaTeX
table, e.g., by setting align to p{width}.
http://www.giss.nasa.gov/tools/latex/ltx-68.html has a good summary of LaTeX
tables that you may find helpful.
Best,
Ista
On Thursday, February 09, 2012 10:08:32 AM n.vialma at libero.it
wrote:> Dear all,
> I'm using xtable package in order to produce Latex table. There is a
way to
> specify not only the alignment but also the width of table colums??
> Thanks for your attention.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.