% Template to make one-page seat assignment announcements to students through Gradescope
% By Glenn Tesler, May 3, 2023


\documentclass{article}
\usepackage{fullpage}

\pagestyle{empty}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \seatpage{Name}{Student ID number}{Seat}
% The Name and Student ID number are used by Gradescope to associate
% the page to a student. If you've set up Gradescope to use email or
% username instead of a Student ID number, be sure to customize this.
%
% Also customize the line with the class name, exam name, and date.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\long\def\seatpage#1#2#3{
  % Fill in the correct details for this!
  \centerline{\bf Seat Assignment for the Math 123 Quiz \#42 on February 31, 2023}

  \bigskip

  \noindent
      {\renewcommand{\arraystretch}{2}
        \begin{tabular}{lp{3in}}
          {\bf Name:} & #1 \\ \cline{2-2}
          {\bf SIS User ID:} & #2 \\ \cline{2-2}
          {\bf Seat: } & #3 \\ \cline{2-2}
        \end{tabular}}

  \newpage}



\begin{document}

\seatpage{}{}{} % Blank one to use as the Gradescope assignment template

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Delete the sample \seatpage lines below.
% Copy/paste in the \seatpage lines for your class.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\seatpage{Aska, Al}{A11112222}{Demo Hall 101, Seat C-5}
\seatpage{Bama, Ala}{A22223333}{Demo Hall 101, Seat B-1}
\seatpage{Rado, Colo}{A55556666}{Demo Hall 101, Seat C-103}
\seatpage{Ware, Dela}{A77778888}{Demo Hall 101, Seat B-102}
\seatpage{Zona, Ari}{A88889999}{Demo Hall 101, Seat C-3}
\seatpage{Toba, Mani}{}{Demo Hall 101, Seat B-5}

\end{document}

