General ⇒ Rotating tables issue...
Rotating tables issue...
\begin{table}
\center
\rotcaption{Averaged characteristic values of potential and current density for synthesized ingots.}
\label{electrochemistry}
\begin{sideways}
\begin{tabular}{cccccccc}
.......
\end{tabular}
\end{sideways}
\end{table}
The problem is that the table appears cut in half at the bottom of the pdf page, while the caption is centered...
How do I fix this?
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
Rotating tables issue...
Code: Select all
\documentclass{article}
\usepackage{rotating}
\begin{document}
\begin{table}
\centering
\rotcaption{This is just a test table.}
\label{tab:testtable}
\begin{sideways}
\begin{tabular}[b]{cccccccc}
\hline
text & text & text & text & text & text & text & text\\
\hline
\end{tabular}
\end{sideways}
\end{table}
\end{document}
Re: Rotating tables issue...
Maybe I need to update my Latex? I am not sure, I am a novice user.
Thanks for the help.
Rotating tables issue...
BNPadgett wrote: which leads me to believe there is something wrong with the formatting of the table
The problem was the \rotcaption command. I suggest you to rotate simulataneously the table and the caption, using the sidewaystable environment, as the following example shows:
Code: Select all
\begin{sidewaystable}
\centering
\caption{Averaged energy dispersive x-ray spectroscopy results gathered for the synthesized intermetallic phases.}
\label{EDS}
\begin{tabular}{rcccccccc}
...contents of the table...
\end{tabular}
\end{sidewaystable}
BNPadget wrote: Maybe I need to update my Latex?
What LaTeX distribution are you using?