Cannot rotate a table
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I am trying to rotate a table to fit it in a page but can't seem to make an example work with sidewaystable or sideways. Here is a simple code that I found online and should supposedly work fine but does not work for me. The table and caption both appear in horizontal orientation, and the table is pushed further down the page and away from the caption. Thanks for any help.
documentclassarticle
usepackagerotating
begindocument
begintable*
centering
captionSome description%
labeltab:the_table%
beginsideways%
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular
endsideways
endtable*
enddocument
rotating sidewaystable
add a comment |Â
up vote
3
down vote
favorite
I am trying to rotate a table to fit it in a page but can't seem to make an example work with sidewaystable or sideways. Here is a simple code that I found online and should supposedly work fine but does not work for me. The table and caption both appear in horizontal orientation, and the table is pushed further down the page and away from the caption. Thanks for any help.
documentclassarticle
usepackagerotating
begindocument
begintable*
centering
captionSome description%
labeltab:the_table%
beginsideways%
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular
endsideways
endtable*
enddocument
rotating sidewaystable
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I am trying to rotate a table to fit it in a page but can't seem to make an example work with sidewaystable or sideways. Here is a simple code that I found online and should supposedly work fine but does not work for me. The table and caption both appear in horizontal orientation, and the table is pushed further down the page and away from the caption. Thanks for any help.
documentclassarticle
usepackagerotating
begindocument
begintable*
centering
captionSome description%
labeltab:the_table%
beginsideways%
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular
endsideways
endtable*
enddocument
rotating sidewaystable
I am trying to rotate a table to fit it in a page but can't seem to make an example work with sidewaystable or sideways. Here is a simple code that I found online and should supposedly work fine but does not work for me. The table and caption both appear in horizontal orientation, and the table is pushed further down the page and away from the caption. Thanks for any help.
documentclassarticle
usepackagerotating
begindocument
begintable*
centering
captionSome description%
labeltab:the_table%
beginsideways%
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular
endsideways
endtable*
enddocument
rotating sidewaystable
asked Sep 2 at 19:44
NavidT
161
161
add a comment |Â
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
3
down vote
I cannot see it. However, here is a solution with hvfloat
:
documentclassarticle
usepackagehvfloat
begindocument
hvFloat[%
floatPos=!h,
objectAngle=90,
capPos=t,
capVPos=t,
]table%
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular%
some descriptiontab:the_table
enddocument
add a comment |Â
up vote
3
down vote
Don't nest a sideways
environment inside a table*
environment. Depending on your typesetting objectives, you should either
use a single
sidewaystable
environment, which will rotate the entire contents of the environment, including the caption, oruse a
rotatebox90...
directive to rotate just thetabular
environment. Use90
for a counterclockwise turn or-90
for a clockwise turn.
Note that a sidewaystable
environment always occupies an entire page.
Here's some sample code that illustrates both options.
documentclassarticle
usepackagerotating % for 'sidewaystable' env.
begindocument
%% First option: use a 'sidewaystable' env.
beginsidewaystable
centering
captionSome description
labeltab:the_table
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular
endsidewaystable
%% Second option: use a 'rotatebox{90)...' directive
begintable
centering
captionSome description
labeltab:the_table
rotatebox90%
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular
endtable
enddocument
add a comment |Â
up vote
0
down vote
Turns out that dvi version doesn't show the rotated table but both alternatives (the version I posted and the one brought response) look fine when converted to pdf.
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
I cannot see it. However, here is a solution with hvfloat
:
documentclassarticle
usepackagehvfloat
begindocument
hvFloat[%
floatPos=!h,
objectAngle=90,
capPos=t,
capVPos=t,
]table%
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular%
some descriptiontab:the_table
enddocument
add a comment |Â
up vote
3
down vote
I cannot see it. However, here is a solution with hvfloat
:
documentclassarticle
usepackagehvfloat
begindocument
hvFloat[%
floatPos=!h,
objectAngle=90,
capPos=t,
capVPos=t,
]table%
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular%
some descriptiontab:the_table
enddocument
add a comment |Â
up vote
3
down vote
up vote
3
down vote
I cannot see it. However, here is a solution with hvfloat
:
documentclassarticle
usepackagehvfloat
begindocument
hvFloat[%
floatPos=!h,
objectAngle=90,
capPos=t,
capVPos=t,
]table%
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular%
some descriptiontab:the_table
enddocument
I cannot see it. However, here is a solution with hvfloat
:
documentclassarticle
usepackagehvfloat
begindocument
hvFloat[%
floatPos=!h,
objectAngle=90,
capPos=t,
capVPos=t,
]table%
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular%
some descriptiontab:the_table
enddocument
answered Sep 2 at 19:54
Herbert
261k21395705
261k21395705
add a comment |Â
add a comment |Â
up vote
3
down vote
Don't nest a sideways
environment inside a table*
environment. Depending on your typesetting objectives, you should either
use a single
sidewaystable
environment, which will rotate the entire contents of the environment, including the caption, oruse a
rotatebox90...
directive to rotate just thetabular
environment. Use90
for a counterclockwise turn or-90
for a clockwise turn.
Note that a sidewaystable
environment always occupies an entire page.
Here's some sample code that illustrates both options.
documentclassarticle
usepackagerotating % for 'sidewaystable' env.
begindocument
%% First option: use a 'sidewaystable' env.
beginsidewaystable
centering
captionSome description
labeltab:the_table
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular
endsidewaystable
%% Second option: use a 'rotatebox{90)...' directive
begintable
centering
captionSome description
labeltab:the_table
rotatebox90%
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular
endtable
enddocument
add a comment |Â
up vote
3
down vote
Don't nest a sideways
environment inside a table*
environment. Depending on your typesetting objectives, you should either
use a single
sidewaystable
environment, which will rotate the entire contents of the environment, including the caption, oruse a
rotatebox90...
directive to rotate just thetabular
environment. Use90
for a counterclockwise turn or-90
for a clockwise turn.
Note that a sidewaystable
environment always occupies an entire page.
Here's some sample code that illustrates both options.
documentclassarticle
usepackagerotating % for 'sidewaystable' env.
begindocument
%% First option: use a 'sidewaystable' env.
beginsidewaystable
centering
captionSome description
labeltab:the_table
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular
endsidewaystable
%% Second option: use a 'rotatebox{90)...' directive
begintable
centering
captionSome description
labeltab:the_table
rotatebox90%
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular
endtable
enddocument
add a comment |Â
up vote
3
down vote
up vote
3
down vote
Don't nest a sideways
environment inside a table*
environment. Depending on your typesetting objectives, you should either
use a single
sidewaystable
environment, which will rotate the entire contents of the environment, including the caption, oruse a
rotatebox90...
directive to rotate just thetabular
environment. Use90
for a counterclockwise turn or-90
for a clockwise turn.
Note that a sidewaystable
environment always occupies an entire page.
Here's some sample code that illustrates both options.
documentclassarticle
usepackagerotating % for 'sidewaystable' env.
begindocument
%% First option: use a 'sidewaystable' env.
beginsidewaystable
centering
captionSome description
labeltab:the_table
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular
endsidewaystable
%% Second option: use a 'rotatebox{90)...' directive
begintable
centering
captionSome description
labeltab:the_table
rotatebox90%
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular
endtable
enddocument
Don't nest a sideways
environment inside a table*
environment. Depending on your typesetting objectives, you should either
use a single
sidewaystable
environment, which will rotate the entire contents of the environment, including the caption, oruse a
rotatebox90...
directive to rotate just thetabular
environment. Use90
for a counterclockwise turn or-90
for a clockwise turn.
Note that a sidewaystable
environment always occupies an entire page.
Here's some sample code that illustrates both options.
documentclassarticle
usepackagerotating % for 'sidewaystable' env.
begindocument
%% First option: use a 'sidewaystable' env.
beginsidewaystable
centering
captionSome description
labeltab:the_table
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular
endsidewaystable
%% Second option: use a 'rotatebox{90)...' directive
begintable
centering
captionSome description
labeltab:the_table
rotatebox90%
begintabular
hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
Text A & Text B & Test C \hline
endtabular
endtable
enddocument
answered Sep 2 at 20:36
Mico
262k30354729
262k30354729
add a comment |Â
add a comment |Â
up vote
0
down vote
Turns out that dvi version doesn't show the rotated table but both alternatives (the version I posted and the one brought response) look fine when converted to pdf.
add a comment |Â
up vote
0
down vote
Turns out that dvi version doesn't show the rotated table but both alternatives (the version I posted and the one brought response) look fine when converted to pdf.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Turns out that dvi version doesn't show the rotated table but both alternatives (the version I posted and the one brought response) look fine when converted to pdf.
Turns out that dvi version doesn't show the rotated table but both alternatives (the version I posted and the one brought response) look fine when converted to pdf.
answered Sep 2 at 20:38
NavidT
161
161
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f449033%2fcannot-rotate-a-table%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password