York Letter Template
Author:
George Tsoulas
Last Updated:
5年前
License:
Creative Commons CC BY 4.0
Abstract:
A simple letter template with the University of York logo
\begin
Discover why 18 million people worldwide trust Overleaf with their work.
A simple letter template with the University of York logo
\begin
Discover why 18 million people worldwide trust Overleaf with their work.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 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)
%
% Further modifications including UoY specific changes by George Tsoulas
% (george.tsoulas@gmail.com}
%
% A simple letter template with the University of York Logo mostly meant for % personal rather than departmental letters.
%
% 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[T1]{fontenc} % Required for accented characters
\usepackage{fbb} %Use the free version of the Bembo font Family
%\usepackage{gfsdidot} % Use the GFS Didot font: http://www.tug.dk/FontCatalogue/gfsdidot/
\usepackage{lipsum}
% 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 |
%-------------------
\usepackage[left=1.2in,
top=1.25in,
right=1.25in,
bottom=1.25in,
headsep=0.25in,
headheight=20pt,
heightrounded]
{geometry}
%---------------------
% SENDER INFORMATION |
%---------------------
\def\Who{Publius Vergilius Maro} % Your name
\def\What{Dominus } % Your title
\def\Where{Department of Language and \\Linguistic Science\\University of York} % Your department/institution
\def\Address{Heslington, York} % Your address
\def\Address{Heslington, York, YO10 5DD} % Your address
\def\CityZip{} % Your city, zip code, country, etc
\def\Email{publiusvergilius.maro@york.ac.uk} % Your email address
\def\TEL{+44+(0)1904 999999} % Your phone number
\def\URL{http://www.....} % Your URL
%------------------------------------
% HEADER AND FROM ADDRESS STRUCTURE |
%------------------------------------
\address{\vspace*{-2.3cm}
\includegraphics[width=2in]{Ylogo.png} %Include the logo of your institution
\hspace*{5in} % Position of the institution logo, increase to move left, decrease to move right
\hspace{-3in} \hfill \normalsize % Second line of institution name, adjust hspace if your logo is wide
\makebox[0ex][r]{\bf \What \Who }\hspace{0.08in} % Print your name and title with a little whitespace to the right
~\\[-0.03in] % Reduce the whitespace above the horizontal rule
\vspace*{-.08in}\hspace{.1in}\vhrulefill{1pt} \\ % Horizontal rule, adjust hspace if your logo is wide and \vhrulefill for the thickness of the rule
\hspace{\fill}\parbox[t]{2.85in}{ % 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 if you want it again there
\em % all text after this will be italicized
\Where\\ % Your department
\Address\\ % Your address
%\CityZip\\ % 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.519in} \\ % Print the header and from address here, add whitespace to move date down
\hspace*{\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{\What \Who} % 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 ADDRESSEE\\
ADDRESS LINE 1\\
ADDRESS LINE 2\\
ADDRESS LINE 3\\
ADDRESS LINE 4\\
}
%% Add more lines as you wish
%
%-----------------
% LETTER CONTENT |
%-----------------
\opening{Dear }
\lipsum
\closing{Sincerely,\\[2mm]
% \hspace*{-1cm}\includegraphics[scale=.7]{Your signature}\\ \vspace*{-1.2cm}
% The command above fits my signature, adjust scaling and spacing depending on %the size of yours.
}
%-----------------------------------------------------------------------------
\end{letter}
\end{document}