以垂直显示而不是水平显示的方式绘制表格

发布于 2024-11-06 11:57:05 字数 54 浏览 2 评论 0原文

有人可以告诉我用哪个命令可以在 LaTex 中绘制垂直显示的表格吗?

谢谢..

Can Someone tell me by which command I can draw a table in vertical display in LaTex.

Thanks..

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

陌伤浅笑 2024-11-13 11:57:05

我认为您想要 lscape 包,可以有效地用于此目的,如下所示:

\begin{landscape}
\begin{table}
\centering
\begin{tabular}{....}
.......
\end{tabular}
\end{table}
\end{landscape}

编辑第二个解决方案:
另一种可能性是使用 rotating 包中的 sideways 环境:

\begin{sideways}
\begin{tabular}
...
\end{tabular}
\end{sideways}

对于浮动表 sidewaystable

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.

苏大泽ㄣ 2024-11-13 11:57:05

以下代码适用于我在垂直位置的中心显示表格。

\begin{landscape}
\begin{table}
\begin{center}
\caption{Table name}
\begin{tabular}{lll}
A & B & C \\
20  &23 &56 \\
25  &25 &65 \\
\end{tabular}
\end{center}
\end{table}
\end{landscape}

The following code works for me to display the table at the center of vertical position.

\begin{landscape}
\begin{table}
\begin{center}
\caption{Table name}
\begin{tabular}{lll}
A & B & C \\
20  &23 &56 \\
25  &25 &65 \\
\end{tabular}
\end{center}
\end{table}
\end{landscape}
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文