added letter templates
authorBenjamin Mako Hill <mako@atdot.cc>
Wed, 23 Dec 2009 03:01:37 +0000 (22:01 -0500)
committerBenjamin Mako Hill <mako@atdot.cc>
Wed, 23 Dec 2009 03:01:37 +0000 (22:01 -0500)
letter-template/Makefile [new file with mode: 0644]
letter-template/text.tex [new file with mode: 0644]

diff --git a/letter-template/Makefile b/letter-template/Makefile
new file mode 100644 (file)
index 0000000..aecabff
--- /dev/null
@@ -0,0 +1,21 @@
+#!/usr/bin/make
+
+all: $(patsubst %.tex,%.pdf,$(wildcard *.tex)) 
+pdf: all
+
+%.pdf: %.tex
+       rubber -fd $<
+
+clean: 
+       rubber -d --clean *.tex
+       rm -f *.tmp
+       rm -f figures/*.pdf
+
+viewpdf: all
+       evince *.pdf
+
+spell:
+       aspell -c -t --tex-check-comments -b text.tex
+
+
+.PHONY: clean all
diff --git a/letter-template/text.tex b/letter-template/text.tex
new file mode 100644 (file)
index 0000000..7904953
--- /dev/null
@@ -0,0 +1,44 @@
+\documentclass[12pt]{letter}
+
+\usepackage[T1]{fontenc}
+\usepackage{textcomp}
+\renewcommand{\rmdefault}{ugm}
+\renewcommand{\sfdefault}{phv}
+\usepackage[garamond]{mathdesign}
+
+\usepackage[letterpaper,left=1.3in,right=1.3in,top=0.8in,bottom=0.8in]{geometry}
+
+\begin{document}
+
+\begin{letter}{Person Letter is Addressed To\\
+Followed by Address}
+
+\address{Benjamin Mako Hill\\
+Massachusetts Institute of Technology\\
+Room E15-312\\
+20 Ames Street\\
+Cambridge, MA 02139-4307}
+
+\signature{Benjamin Mako Hill}
+
+\location{Massachusetts Institute of Technology\\
+Room E15-020c\\
+20 Ames Street\\
+Cambridge, MA 02139-4307}
+
+\telephone{(206) 409-7191} 
+
+\opening{To whom it may concern,}
+\setlength\parindent{0.25in}
+
+Text of Letter goes here. Text of Letter goes here. Text of Letter
+goes here. Text of Letter goes here. Text of Letter goes here. Text of
+Letter goes here. Text of Letter goes here. Text of Letter goes
+here. Text of Letter goes here.
+
+\closing{Regards,}
+
+\end{letter}
+
+\end{document}
+

Community Data Science Collective || Want to submit a patch?