%% Request for remarking form for the course CSC363H1F, Fall 2009, %% on the St. George Campus at the University of Toronto. %% %% Copyright (c) 2009 Francois Pitt %% last updated at 20:09 (EDT) on Sun 20 Sep 2009 %% %% This work may be distributed and/or modified under the conditions of %% the LaTeX Project Public License, either version 1.3 of this license %% or (at your option) any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2003/12/01 or later. %% %% This work has the LPPL maintenance status "author-maintained". %% %% The Current Maintainer of this work is %% Francois Pitt . %% %% This work consists of the file remark-form.tex. %% \documentclass[11pt]{article} \usepackage[margin=.75in]{geometry} \pagestyle{empty} % no header or footer % Formats, symbols, abbreviations. \let\altemph\textsl \let\strong\textbf \newcommand*{\etc}{\emph{etc}} \newcommand*{\eg}{\emph{e.g.}} \newcommand*{\ie}{\emph{i.e.}} % Vertical space to leave between input fields. \newlength{\fieldskipamount} \setlength{\fieldskipamount}{4ex plus 2ex minus 2ex} \newcommand*{\fieldskip}[1][1]{\vspace{#1\fieldskipamount}} % Underline rule. \newcommand*{\urule}[2][.5pt]{\rule[-.4ex]{#2}{#1}} % Underlined text box (with optional positioning argument). \newcommand*{\ubox}[3][c]{\rlap{\urule{#2}}\makebox[#2][#1]{#3}} % Underlined text box with caption (and optional caption positioning). \newcommand*{\capbox}[5][c]{\ifx\empty#2\empty \else\rlap{\raisebox{-\baselineskip}{\makebox[#3][#1]{#2}}}\fi \ubox[#4]{#3}{#5}} % Vertical bar (for student number half-boxes). \newcommand*{\vb}{\urule[1ex]{.5pt}} % Horizontal bar (for student number half-boxes). \newcommand*{\hb}[1][]{\ubox{1.25em}{#1\vphantom0}} % Half-boxes for student number (given as 9 individual digits). \newcommand*{\ninedigitboxes}[9]{\vb\hb[#1]\vb\hb[#2]\vb\hb[#3]\vb \hb[#4]\vb\hb[#5]\vb\hb[#6]\vb\hb[#7]\vb\hb[#8]\vb\hb[#9]\vb} % Half-boxes for student number (given as single argument). \newcommand*{\numberboxes}[1][]{\ifx\empty#1\empty \ninedigitboxes{}{}{}{}{}{}{}{}{}\else\ninedigitboxes#1\fi} % Width of student number half-boxes. \newlength{\numboxwidth}\settowidth{\numboxwidth}{\numberboxes} % Used in the macros below to adjust for optional number. \newlength{\linelength} % Field to enter homework number. \newcommand*{\homeworknumber}[1]{\ubox{.25in}{#1}} % Field to enter first and last names (with optional number). \newcommand*{\firstandlastnames}[3][] {\ifx\empty#1\empty\setlength{\linelength}{247.5pt}\else \setlength{\linelength}{237.1pt}{\bfseries #1.}\quad\fi \capbox{\bfseries First (Given) Name(s)}{\linelength}l{ #2 }\quad \capbox{\bfseries Last (Family) Name(s)}{\linelength}l{ #3 }} % Field to enter student number, email, and grace days % (with optional number). \newcommand*{\studentnumberemailgracedays}[4][] {\ifx\empty#1\empty\setlength{\linelength}{301.6pt}\else \setlength{\linelength}{280.9pt}{\bfseries #1.}\quad\fi \capbox{\bfseries Student Number}{\numboxwidth}c{\numberboxes[#2]}\quad \capbox{\bfseries CDF/UTOR Email}{\linelength}l{ #3 }\quad \capbox{\bfseries\scriptsize Grace Days}{.75in}c{ #4 }} \begin{document} \begin{large} \noindent CSC\,363\,H1F\hfill \textbf{Request for Remarking}\hfill Fall 2009 \end{large} \fieldskip[1.25] \noindent \strong{Date of Request}: \ubox{2in}% {}%% fill in date of request \fieldskip[.5] \begin{slshape} \noindent Please state your request clearly and concisely. Submit all original documents with this form. \end{slshape} %% Write request below. \end{document}