# Long and rescaled xtable

Is there a way to use scalebox along with tabular.environment='longtable' when printing a long and wide xtable?

When I give both of them I get an error:

Running xelatex.exe on my_file.tex...failed

-
hm, would be helpful if you'd provide the code... – adibender Mar 11 at 13:17
This should be tagged as "latex" or "tex" – ndoogan Mar 11 at 13:35
It's not a matter of code. Does scalebox work with longtable (using the xtable package)? See also this stackoverflow.com/questions/3764013/… – gd047 Mar 11 at 19:07
The main property of a longtable is that it can span multiple pages, thus there is no single box - so you can't use scalebox on it. – Martin Schröder Mar 12 at 11:36
You can also use an at-expression to reduce the width of the first and the last columns: \begin{tabular}{@{}<stuf>@{}} <more stuff> \end{tabular}. If your tabular has "decorations" such as vertical rules, you could remove them. – Marc van Dongen Mar 12 at 14:21