1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206
|
\documentclass{article}
\usepackage{lscape}
\begin{document}
\begin{table}
\begin{center}
\begin{tabular}{lcr}
left & center & right \\
1 & 123 & 1 \\
12 & 12 & 12 \\
123 & 1 & 123 \\
one & space & \\
no & spaces &\\
&& blank\\
&&\\
one & last & line
\end{tabular}
\caption{Simple tabular environment to test three types of alignment.}
\end{center}
\end{table}
\begin{table}
\begin{center}
\begin{tabular}{llr}
\multicolumn{2}{c}{Item} & \multicolumn{1}{c}{Price} \\
gnat & (dozen) & 3.24\\
gnu & (each) & 24,985.47
\end{tabular}
\caption{Simple example from the \LaTeX{} manual exhibiting multicolumn.}
\end{center}
\end{table}
\begin{table}
\begin{center}
\begin{tabular}{||l|lr||}
\hline
gnats & gram & \$13.65 \\
\hline
& each & .01 \\
\hline
gnu & stuffed & 92.50 \\
\cline{1-1} \cline{3-3}
emur & & 33.33 \\
armadillo & frozen & 8.99 \\
\hline
\end{tabular}
\caption{Simple example from the \LaTeX{} manual exhibiting horizontal
and vertical lines.}
\end{center}
\end{table}
\begin{table}
\begin{center}
\begin{tabular}{|r||r@{--}l|p{1.25in}|}
\hline
\multicolumn{4}{|c|}{GG\&A Hoofed Stock}\\
\hline\hline
&\multicolumn{2}{c|}{Price}&\\
\cline{2-3}
\multicolumn{1}{|c||}{Year} & \multicolumn{1}{r@{\,\vline\,}}{low}
& high & \multicolumn{1}{c|}{Comments} \\
\hline
1971 & 97 & 245 & Bad year for farmers in the west \\
\hline
72 & 245 & 245 & Light trading due to a heavy winter \\
\hline
72 & 245 & 2001 & No gnus was very good gnus this year \\
\hline
\multicolumn{4}{r}{\footnotesize Source: a friend of a friend of a friend}
\end{tabular}
\caption{The classic example from the \LaTeX{} manual.}
\end{center}
\end{table}
\begin{table}[h]
\begin{center} {\footnotesize
\begin{tabular}{|c|cc|cc|cc|cc|}
\hline
& \multicolumn{2}{c|}{$x=10.3$} & \multicolumn{2}{c|}{$x=10.5$} &
\multicolumn{2}{c|}{$x=21.7$} & \multicolumn{2}{c|}{$x=22.8$} \\
$q$ & \multicolumn{1}{c}{gmt} & \multicolumn{1}{c|}{jfk} &
\multicolumn{1}{c}{fbi} & \multicolumn{1}{c|}{mac} & \multicolumn{1}{c}{fax} &
\multicolumn{1}{c|}{era} & \multicolumn{1}{c}{ibm} &
\multicolumn{1}{c|}{pdf}\\\hline
$a/20$ & 117.01 & 117.02 & 318.31 & 318.27 & 29.83 & 29.85 & 36.35
& 36.40 \\
$d/40$ & 338.88 & 338.03 & 53.34 & 53.31 & 97.29 & 67.24 & 26.74 &
126.52 \\
$5e$ & 246.58 & 246.50 & 47.57 & 47.57 & 24.28 & 24.89 & 55.54 &
155.26 \\
$7f$ & 157.64 & 157.54 & 36.83 & 36.83 & 38.80 & 38.02 & 72.63 &
172.60 \\
$2g/3$ & 58.08 & 58.05 & 27.35 & 27.32 & 56.20 & 56.23 & 95.47 &
195.49 \\
$\lceil \log h \rceil h^2$ & 18.99 & 18.99 & 99.00 & 98.99 & 58.94 &
158.99 & 98.99 & 98.99 \\
\hline m.t. & 4.6 & 5.1 & 3.8 & 4.1 & 2.2 & 1.9 & 3.6 & 3.7 \\
\hline
\end{tabular} }
\end{center}
\caption{\footnotesize Number of turns and distance between top and bottom.}
\label{turns}
\end{table}
\begin{table}[h]
\begin{center}
\begin{tabular}{cccc}
A & B & C & D \\
\multicolumn{1}{||c||}{A} & B & C & D \\
A & \multicolumn{2}{||c||}{BC} & D \\
\multicolumn{1}{||c||}{A} & \multicolumn{2}{|c|}{BC} & D \\
\multicolumn{1}{||c||}{A} & \multicolumn{2}{||c||}{BC} & D \\
\end{tabular}
\end{center}
\caption{Yet another table test.}
\label{yatabletest}
\end{table}
\begin{landscape}
\begin{center}
\begin{tabular}{|r|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|}
\multicolumn{16}{c}
{\textbf{Factors useful in the Construction of Control Charts}} \\
\multicolumn{16}{c}{\ } \\
\hline
& \multicolumn{3}{c|}{\textit{Chart for}}
& \multicolumn{5}{c|}{\textit{Chart for standard deviations}}
& \multicolumn{7}{c|}{\textit{Chart for Ranges}} \\
& \multicolumn{3}{c|}{\textit{Averages}}
& \multicolumn{5}{c|}{\ } & \multicolumn{7}{c|}{\ } \\ \hline
& \multicolumn{3}{c|}{\ } & \multicolumn{5}{c|}{\textit{Factors for:}}
& \multicolumn{2}{c|}{\ } & \multicolumn{5}{c|}{\ } \\
\cline{5-9}
& \multicolumn{3}{c|}{\textit{Factors for}} & \textit{Central}
& \multicolumn{4}{c|}{\textit{Control Limits}}
& \multicolumn{2}{c|}{\textit{Factors for}}
& \multicolumn{5}{c|}{\textit{Factors for Control Limits}} \\
& \multicolumn{3}{c|}{\textit{Control Limits}} & \textit{Line}
& \multicolumn{4}{c|}{\ }
& \multicolumn{2}{c|}{\textit{Central Line}}
& \multicolumn{5}{c|}{\ } \\ \hline
& & & & & & & &
& & & & & & & \\
n & A & A$_2$ & A$_3$ & c$_4$ & B$_3$ & B$_4$ & B$_5$ & B$_6$
& d$_2$ & 1/d$_2$ & d$_3$ & D$_1$ & D$_2$ & D$_3$ & D$_4$ \\
& & & & & & & &
& & & & & & & \\
2 & 2.121 & 1.880 & 2.659 & 0.7979 & 0 & 3.267 & 0 & 2.606
& 1.128 & 0.8862 & 0.852 & 0 & 3.686 & 0 & 3.266 \\
3 & 1.732 & 1.023 & 1.954 & 0.8862 & 0 & 2.568 & 0 & 2.276
& 1.693 & 0.5908 & 0.888 & 0 & 4.357 & 0 & 2.574 \\
4 & 1.500 & 0.729 & 1.628 & 0.9213 & 0 & 2.266 & 0 & 2.088
& 2.059 & 0.4857 & 0.879 & 0 & 4.697 & 0 & 2.281 \\
5 & 1.342 & 0.577 & 1.427 & 0.9400 & 0 & 2.089 & 0 & 1.964
& 2.326 & 0.4299 & 0.864 & 0 & 4.918 & 0 & 2.114 \\
& & & & & & & &
& & & & & & & \\
6 & 1.225 & 0.483 & 1.287 & 0.9515 & 0.030 & 1.970 & 0.029 & 1.874
& 2.534 & 0.3946 & 0.848 & 0 & 5.078 & 0 & 2.003 \\
7 & 1.134 & 0.419 & 1.182 & 0.9594 & 0.118 & 1.882 & 0.113 & 1.806
& 2.704 & 0.3698 & 0.833 & 0.206 & 5.203 & 0.076 & 1.924 \\
8 & 1.061 & 0.373 & 1.099 & 0.9650 & 0.185 & 1.815 & 0.179 & 1.751
& 2.847 & 0.3512 & 0.819 & 0.389 & 5.306 & 0.137 & 1.863 \\
9 & 1.000 & 0.337 & 1.032 & 0.9693 & 0.239 & 1.761 & 0.232 & 1.707
& 2.970 & 0.3367 & 0.807 & 0.548 & 5.392 & 0.184 & 1.816 \\
10 & 0.949 & 0.308 & 0.975 & 0.9727 & 0.284 & 1.716 & 0.276 & 1.669
& 3.078 & 0.3249 & 0.797 & 0.688 & 5.467 & 0.223 & 1.777 \\
& & & & & & & &
& & & & & & & \\
11 & 0.905 & 0.285 & 0.927 & 0.9754 & 0.321 & 1.679 & 0.313 & 1.637
& 3.173 & 0.3152 & 0.787 & 0.813 & 5.533 & 0.256 & 1.744 \\
12 & 0.866 & 0.266 & 0.886 & 0.9776 & 0.354 & 1.646 & 0.346 & 1.610
& 3.258 & 0.3069 & 0.778 & 0.924 & 5.593 & 0.284 & 1.716 \\
13 & 0.832 & 0.249 & 0.850 & 0.9794 & 0.382 & 1.618 & 0.374 & 1.585
& 3.336 & 0.2998 & 0.770 & 1.026 & 5.646 & 0.307 & 1.693 \\
14 & 0.802 & 0.235 & 0.817 & 0.9810 & 0.406 & 1.594 & 0.399 & 1.563
& 3.407 & 0.2935 & 0.763 & 1.119 & 5.695 & 0.328 & 1.672 \\
15 & 0.775 & 0.223 & 0.789 & 0.9823 & 0.428 & 1.572 & 0.421 & 1.544
& 3.472 & 0.2880 & 0.756 & 1.204 & 5.739 & 0.347 & 1.653 \\
& & & & & & & &
& & & & & & & \\
21 & 0.655 & 0.173 & 0.663 & 0.9876 & 0.523 & 1.477 & 0.516 & 1.459
& 3.778 & 0.2647 & 0.724 & 1.607 & 5.950 & 0.425 & 1.575 \\
22 & 0.640 & 0.167 & 0.647 & 0.9882 & 0.534 & 1.466 & 0.528 & 1.448
& 3.819 & 0.2618 & 0.719 & 1.661 & 5.978 & 0.435 & 1.565 \\
23 & 0.626 & 0.162 & 0.633 & 0.9887 & 0.545 & 1.455 & 0.539 & 1.438
& 3.858 & 0.2592 & 0.715 & 1.712 & 6.004 & 0.444 & 1.556 \\
24 & 0.612 & 0.157 & 0.619 & 0.9892 & 0.555 & 1.445 & 0.549 & 1.429
& 3.895 & 0.2567 & 0.712 & 1.761 & 6.030 & 0.452 & 1.548 \\
25 & 0.600 & 0.153 & 0.606 & 0.9896 & 0.565 & 1.435 & 0.559 & 1.420
& 3.931 & 0.2544 & 0.708 & 1.807 & 6.055 & 0.460 & 1.540 \\
& & & & & & & &
& & & & & & & \\
Over 25 & $3/\sqrt{n}$ & $3/d_2\sqrt{n}$ & $\cdots$ & $\cdots$ & * & **
& $\cdots$ & $\cdots$ & $\cdots$ & $\cdots$ & $\cdots$ & $\cdots$
& $\cdots$ & $\cdots$ & $\cdots$ \\ \hline
\end{tabular}
\[ *\ 1-\frac{3}{\sqrt{2n}} \qquad\qquad\qquad\qquad
\mathrm{**}\ 1+\frac{3}{\sqrt{2n}} \]
\end{center}
\end{landscape}
\end{document}
|