PSET Template
Author
An Nguyen
Last Updated
10 yıl önce
License
Creative Commons CC BY 4.0
Abstract
Template for CS103
\documentclass[12pt,oneside]{article}
% This package simply sets the margins to be 1 inch.
\usepackage[margin=1in]{geometry}
% This removes page numbers.
\pagenumbering{gobble}
% These packages include nice commands from AMS-LaTeX
\usepackage{amssymb,amsmath,amsthm}
% Make the space between lines slightly more
% generous than normal single spacing, but compensate
% so that the spacing between rows of matrices still
% looks normal. Note that 1.1=1/.9090909...
\renewcommand{\baselinestretch}{1.1}
\renewcommand{\arraystretch}{.91}
% Define an environment for exercises.
\newenvironment{exercise}[1]{\vspace{.5cm}\noindent\textbf{#1 \hspace{.05em}}}{}
% Allow for underlining.
\usepackage[normalem]{ulem}
% define shortcut commands for commonly used symbols
\newcommand{\R}{\mathbb{R}}
\newcommand{\C}{\mathbb{C}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\calP}{\mathcal{P}}
\DeclareMathOperator{\vsspan}{span}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\setlength{\belowdisplayskip}{5pt} \setlength{\belowdisplayshortskip}{0pt}
\setlength{\abovedisplayskip}{-10pt} \setlength{\abovedisplayshortskip}{0pt}
\begin{flushright}
An Nguyen\\
Insert Date\\
\end{flushright}
\begin{center}
Homework Template\\
\end{center}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{exercise}{Problem 1}
\end{exercise}
\begin{exercise}{Problem 2}
\end{exercise}
\begin{exercise}{Problem 3}
\end{exercise}
\begin{exercise}{Problem 4}
\end{exercise}
\begin{exercise}{Problem 5}
\end{exercise}
\begin{exercise}{Problem 6}
\end{exercise}
\begin{exercise}{Problem 7}
\end{exercise}
\begin{exercise}{Problem 8}
\end{exercise}
\begin{exercise}{Problem 9}
\end{exercise}
\begin{flushleft}
\end{flushleft}
%---------------------------------
% Don't change anything below here
%---------------------------------
\end{document}