From 95e17afb1b6aec42caf6791f7dedb907d86f9ddc Mon Sep 17 00:00:00 2001 From: Date: Sun, 19 Mar 2006 18:52:41 -0500 Subject: [PATCH 1/2] Removed email address from the template here. --- text.tex | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/text.tex b/text.tex index bf4c3ee..6c2ae9c 100644 --- a/text.tex +++ b/text.tex @@ -18,8 +18,7 @@ \baselineskip 17.5pt \title{Title} -\author{Benjamin Mako Hill\\ -mako@media.mit.edu} +\author{Benjamin Mako Hill} \maketitle \section{Section} From 9d1f8366c51a66175dafe9e04ea02a880351bc26 Mon Sep 17 00:00:00 2001 From: Date: Thu, 18 May 2006 12:43:25 -0400 Subject: [PATCH 2/2] Updated Makefile to use/require the use of rubbber and added the "titleref" command and "narrow" environment to the head of each paper. --- Makefile | 31 ++++++++++++++----------------- text.tex | 11 +++++++++++ 2 files changed, 25 insertions(+), 17 deletions(-) diff --git a/Makefile b/Makefile index e2c566a..990fa79 100644 --- a/Makefile +++ b/Makefile @@ -1,27 +1,24 @@ -all: dvi +#!/usr/bin/make -dvi: text.tex - cp text.tex backup.tex - latex text.tex - latex text.tex - latex text.tex +all: $(patsubst %.tex,%.pdf,$(wildcard *.tex)) -pdf: dvi - pdflatex text.tex + +%.pdf: %.png + png2pdf -p 1.4 -a $< $@ + +%.pdf: %.tex + rubber -fd $< + +clean: + rubber -d --clean *.tex + rm -f *.tmp + rm -f figures/*.pdf viewpdf: pdf evince text.pdf -ps: dvi - dvips -f < text.dvi > text.ps - -final: dvi - dvips -f < text.dvi > final.ps - spell: aspell -c -t --tex-check-comments -b text.tex -clean: - cp text.tex backup.tex - rm -f text.{blg,bbl,aux,log,dvi,toc,tex.bak,txt,tex~,ps,pdf} warnings +.PHONY: clean all diff --git a/text.tex b/text.tex index 6c2ae9c..ded21a5 100644 --- a/text.tex +++ b/text.tex @@ -4,6 +4,17 @@ \usepackage[letterpaper,left=1.3in,right=1.3in,top=1.3in,bottom=1.3in]{geometry} \usepackage{fancyhdr} +\newcommand{\titleref}[1]{\textsl{#1}} +\newenvironment{narrow}[2]{% + \begin{list}{}{% + \setlength{\topsep}{0pt}% + \setlength{\leftmargin}{#1}% + \setlength{\rightmargin}{#2}% + \setlength{\listparindent}{0pt}% + \setlength{\itemindent}{0pt}% + \setlength{\parsep}{\parskip}}% + \item[]}{\end{list}} + \begin{document} \pagestyle{fancy}