Graphics, Figures & TablesTwo Tables in one "sidewaystable" Environment

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
leandrocc
Posts: 4
Joined: Tue Apr 12, 2011 7:56 pm

Two Tables in one "sidewaystable" Environment

Post by leandrocc »

I realize I should have opened a new thread instead of replying to the solved one ( http://www.latex-community.org/forum/vi ... 400#p48400).

My problem is that even when I copy the example provided in that topic, my sideways tables do not respect the left/right margins of the paper. They start right on the edge of the paper.

Thanks for any insights
Last edited by leandrocc on Wed Apr 13, 2011 5:16 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Two Tables in one "sidewaystable" Environment

Post by localghost »

You should elaborate by what you mean because the code works fine as provided. If it doesn't work for you, there must be some issues on your side that will be hard to comprehend for others. Check the log file for any irregularities.


Best regards and welcome to the board
Thorsten
leandrocc
Posts: 4
Joined: Tue Apr 12, 2011 7:56 pm

Re: Two Tables in one "sidewaystable" Environment

Post by leandrocc »

Of course the code works! My fault.

I'm using \documentclass{amsart} instead of {article}.

Then the tables are not centered. Any workarounds or tips?

(from the top of my head: is it possible to put the tables on separate tex files and then include them in a similar way as I include PDFs, for instance?)
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Two Tables in one "sidewaystable" Environment

Post by localghost »

leandrocc wrote:[…] I'm using \documentclass{amsart} instead of {article}. Then the tables are not centered. Any workarounds or tips? […]
The classes of AMSLaTeX are known to cause trouble like this. If you don't need any special features you can use other classes. Packages of AMSLaTeX can be included in every other class as well.
leandrocc wrote:[…] is it possible to put the tables on separate tex files and then include them in a similar way as I include PDFs, for instance? […]
As long as you use \input to read them from the external files.
leandrocc
Posts: 4
Joined: Tue Apr 12, 2011 7:56 pm

Re: Two Tables in one "sidewaystable" Environment

Post by leandrocc »

After a few adjustments in my code it worked with \documentclass{article}.

Thanks for the help!
Post Reply