Skip to content

Instantly share code, notes, and snippets.

@sophiebits
Created April 12, 2012 01:22
Show Gist options
  • Save sophiebits/2364089 to your computer and use it in GitHub Desktop.
Save sophiebits/2364089 to your computer and use it in GitHub Desktop.
\documentclass[11pt]{article}
\usepackage{enumerate}
\usepackage{fullpage}
\usepackage{fancyhdr}
\usepackage{amsmath, amsfonts, amsthm, amssymb}
\setlength{\parindent}{0pt}
\setlength{\parskip}{5pt plus 1pt}
\pagestyle{empty}
\def\indented#1{\list{}{}\item[]}
\let\indented=\endlist
\newcounter{questionCounter}
\newcounter{partCounter}[questionCounter]
\newenvironment{question}[2][\arabic{questionCounter}]{%
\setcounter{partCounter}{0}%
\vspace{.25in} \hrule \vspace{0.5em}%
\noindent{\bf #2}%
\vspace{0.8em} \hrule \vspace{.10in}%
\addtocounter{questionCounter}{1}%
}{}
\renewenvironment{part}[1][\alph{partCounter}]{%
\addtocounter{partCounter}{1}%
\vspace{.10in}%
\begin{indented}%
{\bf (#1)} %
}{\end{indented}}
%%%%%%%%%%%%%%%%% Identifying Information %%%%%%%%%%%%%%%%%
%% This is here, so that you can make your homework look %%
%% pretty when you compile it. %%
%% DO NOT PUT YOUR NAME ANYWHERE ELSE!!!! %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\myname}{}
\newcommand{\myandrew}{@andrew.cmu.edu}
\newcommand{\myhwname}{Assignment 9}
\newcommand{\myrecitation}{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\thispagestyle{plain}
\begin{center}
{\Large \myhwname} \\
\myname \\
\myandrew \\
\myrecitation \\
\today
\end{center}
\begin{question}{Love}
%%Put your answer here
\end{question}
\begin{question}{Hope and Comfort}
%%Put your answer here
\end{question}
\begin{question}{Patience}
%%Put your answer here
\end{question}
\begin{question}{Grace}
%%Put your answer here
\end{question}
\begin{question}{Joy}
%%Put your answer here
\end{question}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment