%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Approximation Algorithms scribe notes style file % % This file should be called scribe.sty % % Your main LaTeX file should look like this: % % \documentclass[12pt]{article} % \usepackage{scribe} % % \Scribe{YOUR NAME} % \Lecturer{Nguyen Kim Thang} % \HomeworkNumber{N} % % \begin{document} % \MakeScribeTop % % Your note % % \end{document} % % % % % % % % % For your LaTeX files, there are some macros you may want to use below... \oddsidemargin 0in \evensidemargin 0in \marginparwidth 40pt \marginparsep 10pt \topmargin 0pt \headsep 0in \headheight 0in \textheight 8.5in \textwidth 6.5in \brokenpenalty=10000 \usepackage{amssymb} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{amsthm} \usepackage{latexsym} \usepackage{epsfig} \usepackage{bm} \usepackage{xspace} \usepackage{times} %\usepackage{hyperref} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{claim}[theorem]{Claim} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{fact}[theorem]{Fact} \newtheorem{example}[theorem]{Example} \newtheorem{notation}[theorem]{Notation} \newtheorem{observation}[theorem]{Observation} \newtheorem{conjecture}[theorem]{Conjecture} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} % Setting the theorem style back to plain in case theorems are defined in the main file \theoremstyle{plain} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Feel free to ignore the rest of this file \def\StudentStr{??} \def\LecStr{??} \def\LecNum{??} \def\LecTitle{??} \def\LecDate{??} \newcommand{\Scribe}[1]{\def\StudentStr{Student: #1}} \newcommand{\Scribes}[1]{\def\StudentStr{Students: #1}} \newcommand{\Lecturer}[1]{\def\LecStr{Lecturer: #1}} \newcommand{\Lecturers}[1]{\def\LecStr{Lecturers: #1}} \newcommand{\HomeworkNumber}[1]{\def\HomNum{#1}} \newcommand{\LectureDate}[1]{\def\LecDate{#1}} \newcommand{\LectureTitle}[1]{\def\LecTitle{#1}} \newdimen\headerwidth \newcommand{\MakeScribeTop}{ \noindent \begin{center} \framebox{ \vbox{ \headerwidth=\textwidth \advance\headerwidth by -0.22in \hbox to \headerwidth {{\bf Approximation Algorithms \hfill Dept. of CS, Aarhus University} } \vspace{4mm} \hbox to \headerwidth {{\Large \hfill Homework \HomNum \hfill}} \vspace{2mm} \hbox to \headerwidth {{\it \LecStr \hfill \StudentStr}} } } \end{center} \vspace*{4mm}}