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.

______________________________________________
R-help@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.

Reply via email to