-
Notifications
You must be signed in to change notification settings - Fork 0
/
coversheet.tex
155 lines (142 loc) · 5.44 KB
/
coversheet.tex
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
\documentclass{article}
% Document template for NYU Mathematics Department exams
%
% You need the files ``NYUMathematics.png'' and ``NYULogoLarge2597.pdf''. These can be found here:
% https://github.com/leingang/Exam-Cover-Sheet/blob/master/NYULogoLarge2597.pdf
% https://github.com/leingang/Exam-Cover-Sheet/blob/master/NYUMathematics.pdf
%
\usepackage{tikz}
\usepackage{helvet}
\usepackage[letterpaper]{geometry}
\usepackage{ifxetex}
\makeatletter
\newcommand{\course}[1]{\newcommand{\@course}{#1}}
\renewcommand{\maketitle}{
\edef\@TITLE{\uppercase{\@title}}
{\noindent\titlefont\LARGE \@course \par}
{\noindent\titlefont\Huge \@TITLE \par}
\vskip1em
{\noindent\titlefont\large \@date \par}
\vskip2em
}
\makeatother
% The official font family of NYU is Gotham. But to use Gotham requires xetex instead of regular tex,
% an operating system that uses TrueType fonts (e.g., Mac, Windows, don't know about unix), and
% the Gotham TrueType (.ttf) files. Gotham is not free. If you have Gotham installed in a place your system
% can find it, typeset this file with xelatex...
\ifxetex
\usepackage{mathtools}
\usepackage{mathspec}
% This snippet fixes a "You can't use a prefix with '\begingroup'" error that was coming from
% the fontspec package.
% Thanks to Philippe Goutet. See \url{http://tex.stackexchange.com/q/5996/1402}.
\makeatletter
\def\alloc@#1#2#3#4#5%
{\ifnum\count1#1<#4% make sure there's still room
\allocationnumber\count1#1
\global\advance\count1#1\@ne
\global#3#5\allocationnumber
\wlog{\string#5=\string#2\the\allocationnumber}%
\else\ifnum#1<6
\def\etex@dummy@definition{}% <-- code added
\begingroup \escapechar\m@ne
\expandafter\alloc@@\expandafter{\string#2}#5%
\else\errmessage{No room for a new #2}\fi\fi
}
\makeatother
\usepackage{xltxtra}
\defaultfontfeatures{Mapping=tex-text}
\setmainfont[BoldFont=Gotham Narrow Medium]{Gotham Narrow Book}
\setmathrm{Gotham Book}
\setmathfont(Latin){Gotham Narrow Book}
\setmathfont(Digits){Gotham Narrow Light}
\newfontfamily\titlefont{Gotham}
\else
% ...otherwise use regular (pdf)latex. To be portable I substituted Helvetica, which at
% least is sans-serif and is in most TeX distributions
\renewcommand{\rmdefault}{phv}
\let\titlefont\normalfont
\fi
\title{Final Examination}
\course{MATH-UA 122 Calculus II}
\date{December 23, 2011}
\begin{document}
% These place the NYU Mathematics Department logos and the NYU main logo in the corners of the page.
\begin{tikzpicture}[remember picture, overlay]
\definecolor{nyupurple}{HTML}{57068C}
\draw (current page.north west) ++ (0.25in,-0.25in)
node[anchor=north west] (logo)
{\includegraphics[width=2.5in]{NYUMathematics}};
\draw (current page.south west) ++ (0.25in,0.25in)
node[anchor=south west]
{\includegraphics[width=2.5in]{NYULogoLarge2597}};
\end{tikzpicture}%
\par\vspace{-0.5in}
\maketitle
% Update this as you need.
\noindent\textbf{\uppercase{Table of Lecture Sections}}
\begin{center}
\begin{tabular}{|c|c|c|c|l|}
\hline
{Section} & \multicolumn{2}{c|}{Meets} & Location & Professor \\\hline\hline
001 & {MW}
& {02:00pm--03:50pm}
& SILV 710 & Jun Zhang\\
\hline
002 & {MW}
& {02:00pm--03:50pm}
& TISC LC9 & Alexander Hanhart \\
\hline
003 & {MW}
& {02:00pm--03:50pm}
& SILV 501 & Jianfeng Lu \\
\hline
004 & {MW}
& {11:00am--12:50pm}
& SILV 714 & Nader Masmoudi \\
\hline
005 & {TR}
& {11:00am--12:50pm}
& CIWW 202 & Matthew Leingang\\
\hline
006 & {TR}
& {02:00pm--03:50pm}
& SILV 512 & Fengbo Hang\\
\hline
007 & {TR}
& {06:20pm--08:10pm}
& MEYR 122 & Maria Vucelja \\
\hline
008 & {MW}
& {11:00am--12:50pm}
& WAVE 370 & Xianpeng Hu \\
\hline
\end{tabular}
\end{center}
% signature, ID, scary legalese
\dimen0\textwidth%
\advance\dimen0 by -2em
\noindent\fbox{\parbox{\textwidth}{
\hspace{1em}%
\begin{minipage}{\the\dimen0}
\rule{0pt}{1cm}Name:~\hrulefill~Section\#:~\rule{0.5in}{0.4pt}~N\#:~\rule{1in}{0.4pt}
\bigskip
I pledge that the work on this exam is entirely my own.
I understand that the penalties for cheating may include an F in the course and referral to my Dean for further action.
I acknowledge that this exam is my final opportunity to demonstrate my knowledge of the course material.
\\[0.5in]
Student Signature: \rule{4in}{0.4pt}
\end{minipage}}}
\bigskip
% instructions -- change as necessary.
\noindent\textbf{\uppercase{Fill out your name and ID number (without the N) on your Scantron$^{\textcircled{\tiny R}}$ form. Your exam is sealed with a label that has a letter and number code. Bubble in the letter of your code in the``Test Form'' field, and the number of your code in the ``Subj. Score'' field. Do not remove this label.}}
\noindent{\textbf{\uppercase{READ THE FOLLOWING INFORMATION.}}}
% more instructions -- change as necessary.
\begin{itemize}
\item This is a \textbf{100-minute} exam. It consists of 20 multiple choice problems and four free response problems.
\item Calculators, books, notes, and other aids are not allowed.
\item You may use the backs of the pages or the extra pages for scratch work. \textbf{\emph{Do not unstaple or remove pages as they can be lost in the grading process.}}
\item Please do not put your name on any page besides the first page.
\end{itemize}
\noindent{\textbf{\uppercase{Do not begin this exam until signaled to do so.}}}
\end{document}