Graphics, Figures & TablesInserting a "landscape" oreintated table

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Noobix Cube
Posts: 24
Joined: Tue Dec 02, 2008 11:45 pm

Inserting a "landscape" oreintated table

Post by Noobix Cube »

Hey all,
I am inserting a table in landscape format, using the following code:
In my preamble:
\usepackage{lscape}

In my chapter:
\begin{landscape}
\begin{table}[!ht]
.
.
.

\end{table}
\end{landscape}

but the table appears on the far left column. Is there some way to put it into the centre? I have tried using "\Centering"
with no luck.
Any suggestions would be most helpful, thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
mas
Posts: 226
Joined: Thu Dec 04, 2008 4:39 am

Re: Inserting a "landscape" oreintated table

Post by mas »

Is \Centering what you actually used? If so, it should be \centering.

Regards.

OS: Debian/GNU Linux; LaTeX System : TeXLive; Editor : Vim
Noobix Cube
Posts: 24
Joined: Tue Dec 02, 2008 11:45 pm

Re: Inserting a "landscape" oreintated table

Post by Noobix Cube »

no I used the lower case, but thanks for the suggestion.
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Inserting a "landscape" oreintated table

Post by gmedina »

Hi Noobix Cube,

can you please post a minimal working example showing the undesired behaviour?
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Inserting a "landscape" oreintated table

Post by localghost »

Noobix Cube wrote:Hey all,
I am inserting a table in landscape format, using the following code:

[...]

but the table appears on the far left column. Is there some way to put it into the centre? I have tried using "\Centering" with no luck.
Any suggestions would be most helpful, thanks!
Use the sidewaystable environment provided by the rotating package. This environment starts a new page and reserves it completely for the table.


Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Post Reply