Can Someone tell me by which command I can draw a table in vertical display in LaTex.
Thanks..
The trick is to use display: inline-block; on the table rows and white-space: nowrap; on the table body.
The \vline command will draw a vertical line extending the full height and depth of its row. An \hfill command can be used to move the line to the edge of the column. It can also be used in an @-expression.
-3: To create a table in landscape mode, rotating package is included with \usepackage{rotating} command. Then, the table is produced using \begin{sidewaystable}, and \end{sidewaystable}.
Horizontal tables display header cells on the side of the table and the corresponding data in rows. By default, the header cells display the names of the dimensions, details, and measures included in the table. The body cells display the corresponding values.
I think you want the lscape
package, can be usefully used for this purpose as follows:
\begin{landscape} \begin{table} \centering \begin{tabular}{....} ....... \end{tabular} \end{table} \end{landscape}
EDIT 2nd solution:
Another possibility is to use the sideways
environment from the rotating
package:
\begin{sideways} \begin{tabular} ... \end{tabular} \end{sideways}
And for floating tables sidewaystable
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With