Wednesday, August 27, 2014

Preparing letters with Latex

A lot of Latex stuff these days. Today I had to prepare an official letter for a purpose in our lab. I used Latex for it and for that, I had to search in Google and find out the relevant Latex tags. Here is the basic structure of a Letter prepared in Latex.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
\documentclass{letter}
\usepackage{hyperref}

\signature{Asanka Sayakkara}
\address{University of Colombo \\ Schoool of Computing (UCSC), \\ Reid Avenue, \\ Colombo 7, Sri Lanka.}
\longindentation=0pt %for keeping the signature at left side

\begin{document}

\begin{letter}{Dr. Carl Sagan \\ Cornell University, \\ USA..}

\opening{Dear Sir,}

\bigskip
\centerline{\textbf{The title of my formal letter}}

\bigskip\noindent

First paragraph of this letter..

Second paragraph of my letter.

Thank you for your time and consideration.

\closing{Yours Faithfully,}

\ps

\end{letter}
\end{document}

Even though in the first time we need some effort to have a basic structured file as the above one, later we just have to edit the content according to our requirement. Therefore  using Latex for even this kind of simple requirements is a very good idea.

No comments:

Post a Comment