\documentclass[11pt,epsf]{article} \parindent 0in \usepackage{latexsym} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsthm} \usepackage{epsfig} \newcommand{\handout}[5]{ \noindent \begin{center} \framebox{ \vbox{ \hbox to 5.78in { {\bf 18.419 Random Walks and Polynomial-Time Algorithms} \hfill #2 } \vspace{4mm} \hbox to 5.78in { {\Large \hfill #5 \hfill} } \vspace{2mm} \hbox to 5.78in { {\it #3 \hfill #4} } } } \end{center} \vspace*{4mm} } \newcommand{\lecture}[4]{\handout{#1}{#2}{Lecturer: #3}{Scribe: #4}{Lecture #1}} \newtheorem{theorem}{Theorem} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{observation}[theorem]{Observation} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{definition}[theorem]{Definition} \newtheorem{claim}[theorem]{Claim} \newtheorem{fact}[theorem]{Fact} \newtheorem{assumption}[theorem]{Assumption} \setlength{\topmargin}{-0.50in} \setlength{\textheight}{8.5in} \setlength{\oddsidemargin}{0.0in} \setlength{\evensidemargin}{-0.0in} \setlength{\textwidth}{6in} \addtolength{\parskip}{2pt} \addtolength{\itemsep}{0.1in} \parskip 1.5ex \renewcommand{\baselinestretch}{1.25} \begin{document} \lecture{number:title}{date}{Santosh Vempala}{your name} \end{document}