From: Benjamin Mako Hill Date: Wed, 23 Dec 2009 03:01:37 +0000 (-0500) Subject: added letter templates X-Git-Url: https://code.communitydata.science/cdsc_tex.git/commitdiff_plain/ba39b4450b26b449b878649e85c1018e86a6cde3?ds=inline;hp=--cc added letter templates --- ba39b4450b26b449b878649e85c1018e86a6cde3 diff --git a/letter-template/Makefile b/letter-template/Makefile new file mode 100644 index 0000000..aecabff --- /dev/null +++ b/letter-template/Makefile @@ -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 index 0000000..7904953 --- /dev/null +++ b/letter-template/text.tex @@ -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} +