Letters using LaTeX

LaTeX is used extensively through out the academic world for writing reports, articles and books. You name it, LaTeX has probably been used to create a document. Recently I had to write a few letters and could not wait for open office or Pages to load and have a nicely laid out letter. So I thought I would decided to use LaTeX instead. The jist of it is that the letter class works the same as any  LaTeX document just with a little bit of wrapping. An example of a bog standard letter coded in LaTeX is shown below and its output can be found here:

Generated using GeSHi

\documentclass{letter}

\signature{The Muffin Man}

\address{13 Drewery Lane\\

InLondon\\

London\\

LD03 9KL}

\begin{document}

\begin{letter}{GingerBread Man and Associates\\

12 Bakery Lane\\

Mordor\\

Middle Earth\\

MO1 ICU}

\opening{Dear Gingerbread Man:}

\begin{center}

\textbf{Don’t you know who I am??}

\end{center}

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

\closing{Yours Faithfully,}

\end{letter}

\end{document}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: