# Why is \rotate useless in deluxetable?

The command \rotate is useless.

I searched the web and somebody said it is common and weird.

## How to rotate it then?

However I still do not know how to fix it if I use my original configuration file. Can you rotate the table using the tex code below?

And can you put the whole table in a single page?

Test tex is as below:

\documentclass[12pt,preprint]{aastex}
\begin{document}
\rotate
\begin{deluxetable}{lllllllllllll}

\tabletypesize{\tiny}
\startdata
113b&2014-10-16:21.3&2014-10-17:20.6&2.76358799&11:07:53.107&+6:12:05.9&16.971279167&26.8683055556 &2014-10-17 13:21:00 &2014-10-17 19:26:00 &2014-10-17 21:21:00 &2014-10-18 03:25:00&ok\\
\enddata

\end{deluxetable}
\end{document}

• Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – egreg Sep 8 '14 at 14:07
• The standard command for rotating text is \rotatebox – David Carlisle Sep 8 '14 at 14:17
• Reviewers! 27 minutes 4 votes? Really? – percusse Sep 8 '14 at 14:27
• @percusse: A good average, isn't it? @ questionhang: The question really needs more clarification: lot of things are said to be weird, but then turns out they are the simplest way to accomplish some task. – Claudio Fiandrino Sep 8 '14 at 14:32
• Why the heck was this closed as unclear after I'd answered it? It's perfectly clear: \rotate does not work if it is used incorrectly, and works if it is used correctly. (The title could be worded better but the question itself is clear enough) – David Carlisle Sep 14 '14 at 21:30

\rotate goes before the data but within the environment:

\documentclass{aastex}

\begin{document}

\begin{deluxetable}{ccc}
\startdata
11&22&33\\
aa&bb&cc
\enddata
\end{deluxetable}

\begin{deluxetable}{ccc}
\rotate
\startdata
11&22&33\\
aa&bb&cc
\enddata
\end{deluxetable}

\end{document}

• I tried your way, but the result page is empty if I use my original configuration file. Does it work if you use more columns? The tex data above has 13 columns. Can you put the columns in a single page? – questionhang Sep 8 '14 at 14:57
• @questionhang I used the MWE you have now supplied and it rotates as expected 9althougth it is too wide to fit on the page) – David Carlisle Sep 8 '14 at 15:29
• You use a special configuration file as the 2028k file I mentioned above? The font size of the table could not be reduced any more? – questionhang Sep 8 '14 at 15:37
• @questionhang The table is simply too wide: you'll need to rework it. I've no idea what you mean about a 'special configuration file': David has used the aastex class which provides both \rotate and deluxetable as in your example in the question. – Joseph Wright Sep 8 '14 at 16:14
• @questionhang I assume the question about rotating is answered, if so you should accept or close this question. If you have a question about font sizes or table formatting ask a new question. But make sure the example in the question shows the problem, I and many other people answering do not fetch files from offsite servers. You can use a font size like \small or use a column spec like p{.5cm} instead of c` to allow line breaking or .... – David Carlisle Sep 9 '14 at 12:16