Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
share|improve this question
4  
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
1  
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
1  
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
show 3 more comments

migrated from stackoverflow.com Mar 12 at 13:24

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.