

\newcommand{\homework}[1]{\def\@homework{#1}}
\newcommand{\due}[1]{\def\@due{#1}}
\newcommand{\name}[1]{\def\@name{#1}}
\renewcommand\maketitle{
\begin{flushleft}
{\large
\textsf{Course ID: \@name \hfill CPSC 509 Homework \@homework \hfill Due: \@due}}\\
\hrulefill
\end{flushleft}}

\def\ttquot@ttfont{\sf}
