[R] short captions for xtable?

cuz potter at cuzproduces.com
Mon Oct 4 03:04:45 CEST 2010


A quick update. The package maintainer says that it is indeed impossible. My
solution was a bit of a workaround. I used the add.to.row option with
\multicolumn to incorporate the source attribution into the table as the
last row.

Example:
print(xtable(table_name,caption="short_caption"),hline.after=NULL,add.to.row=list(pos=list(-1,0,l,l+1),command=c('\\toprule
','\\midrule ','\\midrule ','\\bottomrule
\\multicolumn{number_of_columns}{l}{source_attribution}')))
-- 
View this message in context: http://r.789695.n4.nabble.com/short-captions-for-xtable-tp2719000p2953691.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list