效果图

fig1.jpg

实现代码

\documentclass{article}
\usepackage{times}
\pagestyle{empty}
\setlength\textwidth{159.0pt}
\usepackage{graphicx}%Put this in the preamble.
\begin{document}
\newsavebox{\tablebox}
\begin{lrbox}{\tablebox}
\begin{tabular}{|l|l|l|l|}
\hline
{\textbf{Geographic Location}} &
{\textbf{Site}} &
{\textbf{IP Address}} &
{\textbf{Top Level Directory}} \\
\hline
United States & \tt ftp.shsu.edu & 192.92.115.10 & \it /tex-archive\\
\hline
England & \tt ftp.tex.ac.uk & 131.151.79.32 & \it /tex-archive\\
\hline
Germany & \tt ftp.uni-stuttgart.de & 129.69.8.13 & \it /tex-archive\\
\hline
\end{tabular}
\end{lrbox}
\rotatebox[origin=c]{90}{\usebox{\tablebox}}
\end{document}

如果想让其横着,就需要landscape环境,编译时要dvips ps2pdf,才能正确显示。

点赞(2)

评论列表 共有 0 条评论

暂无评论
立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部