[Tugindia] Table on landscape
R.K.Mehta
tugindia@tug.org
Sat, 16 Nov 2002 16:17:40 +0530 (IST)
Let us have look at this example:
\documentclass[a4paper,12pt]{report}
\usepackage{rotating}
\begin{document}
\begin{sidewaysfigure}
\begin{tabular}{c|c|c|c|c|c|c|c|c}\hline
$V_k$ & $S_a$ & $S_b$ & $S_c$ & $V_a$ & $V_b$ & $V_c$ & $V_{\alpha}$ &
$V_{\beta}$\\ \hline
$V_0$ & $0$ & $0$ & $0$ & $0$ & $0$ & $0$ & $0$ & $0$ \\ \hline
$V_1$ & $1$ &$0$ &$0$ & $2V_{dc}/3$& $-V_{dc}/3$& $-V_{dc}/3$&
$\sqrt{2\over 3}V_{dc}$ & $0$ \\ \hline
$V_2$ & $1$ & $1$ & $0$ & $V_{dc}/3$ & $V_{dc}/3$ &$-2V_{dc}/3$
&$V_{dc}/\sqrt{6}$ &
$V_{dc}/\sqrt{2}$ \\ \hline
$V_3$ & $0$& $1$& $0$& $-V_{dc}/3$ & $2V_{dc}/3$& $-V_{dc}/3$&
$-V_{dc}/\sqrt{6}$& $V_{dc}/\sqrt{2}$\\ \hline
$V_4$ & $0$& $1$& $1$& $-2V_{dc}/3$ & $V_{dc}/3$& $V_{dc}/3$&
$-\sqrt{2\over 3}V_{dc}$& $0$\\ \hline
$V_5$ & $0$& $0$& $1$& $-V_{dc}/3$ & $-V_{dc}/3$& $-2V_{dc}/3$&
$-V_{dc}/\sqrt{6}$& $-V_{dc}/\sqrt{2}$\\ \hline
$V_6$ & $1$& $0$& $1$& $V_{dc}/3$ & $-2V_{dc}/3$& $V_{dc}/3$&
$V_{dc}/\sqrt{6}$& $-V_{dc}/\sqrt{2}$\\ \hline
$V_7$ & $1$& $1$& $1$& $0$ & $0$& $0$& $0$& $0$\\ \hline
\end{tabular}
\end{sidewaysfigure}
\end{document}
R K Mehta
__________________________________________________________________
On 15 Nov 2002, Radhakrishnan CV wrote:
> >>>>> "Rai" == H S Rai <hsraidce@iitr.ernet.in> writes:
>
> Rai> I want to print a table on landscape paper, which is a part
> Rai> of large document and all rest of pages will have portrait
> Rai> paper. The reason for this is that table has width more than
> Rai> height and if I print on portrait, size of letter become very
> Rai> small.
>
> Rai> Is there any way to change paper orientation of a single
> Rai> page.
>
> Rai, have a look at my own package Table.sty (not yet released to CTAN
> for want of proper feedback):
>
> http://www.tug.org.in/download/table.tar.gz
>
> It helps to do the job. tabletest.tex and tabletest.pdf are also
> available in the tarball to explain the usage, no documentation yet. I
> welcome bug reports and demands for additional facilities.
>
> Best.
>
>
--
***********************************************************
R. K. Mehta
Faculty, Deptt. of Electrical Engg.,
North Eastern Regional Institute of Science & Technology,
Nirjuli-791109,
Arunachal Pradesh
Ph: 91-0360 257870(R)
257583(O)
*************************************************************