% LESSON TEN
          
\documentclass{amsart}
\thispagestyle{empty}
\begin{document}
             
\begin{center}
	\textbf{Lesson Ten: Tables}
\end{center}  

We can use the \verb!\tabular! environment in a variety of ways.\\

\begin{center}
\begin{tabular}{| c | c | c |} 
% Each letter (c, r, or l) represents a column.
% They stand for centered, right-justified, and left-justified.
% You can guess which stands for which.
% Each | draws a vertical line separating the columns.
% Use a || to draw a double vertical line.
\hline % This draws a horizontal line, in this case at the top of the table.
\textbf{Name} & \textbf{Office} & \textbf{Phone Number} \\ \hline  
% The \\ ends the line.
% Each & separates the columns.
Meredith & Hathorn 205 & 786-6283 \\ \hline 
Katy & Hathorn 214 & 786-6144 \\ \hline
Peter & Hathorn 212 & 786-6143 \\ \hline 
Jenny & & 867-5309 \\ \hline 
\end{tabular}
\end{center}

\vspace{10pt}
The following represents a bijection between the naturals and the even naturals.

\begin{table}[h] 
% This environment allows a caption, numbers the table, and causes the table to 
%   be listed in the list of tables (if this were a book or senior thesis).
% The h indicates that the table should appear 'here' rather than 't' for 
%   the top of the page, 'b' for the botton, or 'p' for a separate page.
\begin{center}
\begin{tabular}{rccccccccc} % No |'s here, so there will be no vertical lines.
Naturals & 1 & 2 & 3 & 4 & 5 & 6 & \dots & $n$ & \dots \\
& $\updownarrow$ & $\updownarrow$ & $\updownarrow$ & $\updownarrow$ 
& $\updownarrow$ & $\updownarrow$ & & $\updownarrow$ &  \\
Even naturals & 2 & 4 & 6 & 8 & 10 & 12 & \dots & $2n$ & \dots \\
\end{tabular}
\caption{Illustration of a bijection.}
\end{center}
\end{table}

\end{document} 
