IIT Madras Letterhead Template
Auteur
John Augustine
Last Updated
il y a 5 ans
License
Creative Commons CC BY 4.0
Résumé
Please see comments in the preamble of the LaTeX document for attributions.
Please see comments in the preamble of the LaTeX document for attributions.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Professional Formal Letter
% LaTeX Template
% Version 1.0 (28/12/13)
%
% This template has been downloaded from:
% http://www.LaTeXTemplates.com
%
% Original author:
% Brian Moses (http://www.ms.uky.edu/~math/Resources/Templates/LaTeX/)
% with extensive modifications by Vel (vel@latextemplates.com).
%
% Modifications specific to IIT Madras (Dept of Computer Science)
% were made by John Augustine (augustine@iitm.ac.in)
%
% License:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
\documentclass[11pt,a4paper]{letter} % Specify the font size (10pt, 11pt and 12pt) and paper size (letterpaper, a4paper, etc)
\usepackage{graphicx} % Required for including pictures
\usepackage{microtype} % Improves typography
\usepackage{gfsdidot} % Use the GFS Didot font: http://www.tug.dk/FontCatalogue/gfsdidot/
\usepackage[T1]{fontenc} % Required for accented characters
% Create a new command for the horizontal rule in the document which allows thickness specification
\makeatletter
\def\vhrulefill#1{\leavevmode\leaders\hrule\@height#1\hfill \kern\z@}
\makeatother
%----------------------------------------------------------------------------------------
% DOCUMENT MARGINS
%----------------------------------------------------------------------------------------
\textwidth 6.75in
\textheight 9.25in
\oddsidemargin -.25in
\evensidemargin -.25in
\topmargin -1in
\longindentation 0.50\textwidth
\parindent 0.4in
%----------------------------------------------------------------------------------------
% SENDER INFORMATION
%----------------------------------------------------------------------------------------
\def\Who{John Doe} % Your name
\def\What{, PhD} % Your title
\def\Dept{Dept of Computer Science \& Engineering} % Your department/institution
\def\Institute{Indian Institute of Technology Madras} % Your Institute
\def\Address{Chennai, TN -- 600036, India.} % Your city, zip code, country, etc
\def\Email{E-mail: augustine@iitm.ac.in} % Your email address
\def\TEL{Phone: +91-44-2257-4383} % Your phone number
\def\URL{https://sites.google.com/site/augustineiitm/} % Your URL
%----------------------------------------------------------------------------------------
% HEADER AND FROM ADDRESS STRUCTURE
%----------------------------------------------------------------------------------------
\address{
\includegraphics[width=1in]{logo.png} % Include the logo of your institution
\hspace{5.1in} % Position of the institution logo, increase to move left, decrease to move right
\vskip -1.07in~\\ % Position of the text in relation to the institution logo, increase to move down, decrease to move up
\large\hspace{1.5in} IIT Madras \hfill ~\\[0.05in] % First line of institution name, adjust hspace if your logo is wide
\hspace{1.5in} Computer Science \& Engg \hfill \normalsize % Second line of institution name, adjust hspace if your logo is wide
%\Large\hspace{1.5in}Computer Science \& \hfill ~\\[0.05in] % First line of institution name, adjust hspace if your logo is wide
%\hspace{1.5in}Engineering \hfill \normalsize % Second line of institution name, adjust hspace if your logo is wide
\makebox[0ex][r]{\bf \Who \What }\hspace{0.08in} % Print your name and title with a little whitespace to the right
~\\[-0.11in] % Reduce the whitespace above the horizontal rule
\hspace{1.5in}\vhrulefill{1pt} \\ % Horizontal rule, adjust hspace if your logo is wide and \vhrulefill for the thickness of the rule
\hspace{\fill}\parbox[t]{3.5in}{ % Create a box for your details underneath the horizontal rule on the right
\footnotesize % Use a smaller font size for the details
%\Who \\ % Your name, all text after this will be italicized
\em
\Dept\\ % Your department
\Institute\\ % Your address
\Address\\ % Your city and zip code
\TEL\\ % Your phone number
\Email\\ % Your email address
\URL % Your URL
}
\hspace{-1.4in} % Horizontal position of this block, increase to move left, decrease to move right
\vspace{-1in} % Move the letter content up for a more compact look
}
%----------------------------------------------------------------------------------------
% TO ADDRESS STRUCTURE
%----------------------------------------------------------------------------------------
\def\opening#1{\thispagestyle{empty}
{\centering\fromaddress \vspace{0.6in} \\ % Print the header and from address here, add whitespace to move date down
\hspace*{0.8\longindentation}\today\hspace*{\fill}\par} % Print today's date, remove \today to not display it
{\raggedright \toname \\ \toaddress \par} % Print the to name and address
\vspace{0.4in} % White space after the to address
\noindent #1 % Print the opening line
% Uncomment the 4 lines below to print a footnote with custom text
%\def\thefootnote{}
%\def\footnoterule{\hrule}
%\footnotetext{\hspace*{\fill}{\footnotesize\em Footnote text}}
%\def\thefootnote{\arabic{footnote}}
}
%----------------------------------------------------------------------------------------
% SIGNATURE STRUCTURE
%----------------------------------------------------------------------------------------
\signature{\Who \What} % The signature is a combination of your name and title
\long\def\closing#1{
\vspace{0.1in} % Some whitespace after the letter content and before the signature
\noindent % Stop paragraph indentation
\hspace*{\longindentation} % Move the signature right
\parbox{\indentedwidth}{\raggedright
#1 % Print the signature text
\vskip 0.65in % Whitespace between the signature text and your name
\fromsig}} % Print your name and title
%----------------------------------------------------------------------------------------
\begin{document}
%----------------------------------------------------------------------------------------
% TO ADDRESS
%----------------------------------------------------------------------------------------
\begin{letter}
{
Name of Recipient\\
Department Name\\
Institute Name\\
Address
}
%----------------------------------------------------------------------------------------
% LETTER CONTENT
%----------------------------------------------------------------------------------------
\opening{Dear sir/madam,}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent a nisi diam. Morbi consequat facilisis mi, sit amet laoreet velit aliquet quis. Sed a nisi vel augue ultricies blandit. Phasellus et congue dolor, at cursus dui. Integer quis faucibus metus. Vestibulum lobortis ligula in lectus pretium, in placerat lacus iaculis. Mauris nibh erat, condimentum at tortor at, sagittis viverra tortor. Vivamus posuere fermentum eros, rhoncus sagittis nisi imperdiet ac.
Pellentesque hendrerit neque quis quam fringilla, vitae vulputate quam bibendum. Fusce in hendrerit mauris. Mauris pretium libero eget convallis mattis. Vivamus nec nisi imperdiet, lacinia diam id, facilisis nulla. Vivamus eleifend augue ut libero tincidunt commodo. Vivamus sodales in lacus vitae dictum. Nam et semper felis. Integer scelerisque accumsan condimentum. Aliquam laoreet erat vitae ornare consequat. Donec enim lacus, rutrum ut dui a, pretium mattis dui. Vivamus vulputate arcu nec congue convallis. Suspendisse faucibus turpis ac neque gravida, vel aliquet mauris tristique. In auctor fringilla nunc, sit amet tristique diam semper ac. Cras egestas nisi eu turpis facilisis, ac scelerisque elit lacinia. Sed eget adipiscing enim. Ut pulvinar ultrices purus ac eleifend.
\closing{Sincerely,}
%----------------------------------------------------------------------------------------
\encl{Attachment info} % comment this line out when
% Uncomment and use the following for multiple attachments.
%\encl{\begin{enumerate}
% \item attachment 1
% \item attachment 2
%\end{enumerate}}
\end{letter}
\end{document}