latex_templates

LaTeX template files
git clone https://git.bracken.jp/latex_templates.git
Log | Files | Refs | README

commit 0118c9761e775c8e81e470b3fbb18d17e2a29ef0
Author: Chris Bracken <chris@bracken.jp>
Date:   Sat, 28 Oct 2023 22:46:43 -0700

Add formal letter template

Adds a Commonwealth style formal letter such as is used in the UK,
Canada, Australia, New Zealand, etc.

Diffstat:
A.gitignore | 3+++
Aletter_en.latex | 87+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -0,0 +1,3 @@ +*.aux +*.log +*.pdf diff --git a/letter_en.latex b/letter_en.latex @@ -0,0 +1,87 @@ +\documentclass[11pt, a4paper]{letter} +\usepackage{geometry} + +% Set the closing "Yours sincerely," at the left margin. +\longindentation=0pt + +% Configure paper and margins. +\geometry{ + paper=a4paper, % Alternatively, letterpaper. + top=3cm, + bottom=1.5cm, + left=3.5cm, + right=3.5cm, + %showframe, % Uncomment to show how the type block is set on the page +} + +% Enable UTF-8 support. +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} + +% Use the Stix font. +\usepackage{stix} + +% Improve justification. Always use with pdflatex. +\usepackage{microtype} + +% Sender's name used in the signature at the bottom. +\signature{Firstname Lastname} + +% Sender's return address shown at the top. +\address{ + Firstname Lastname \\ + 3-38 Akasaka 7-chome \\ + Minato-ku, Tokyo, \\ + 107-8503, Japan \\ + +81~03-1234-5678 +} + +% Letter date. +\date{28~October 2023} + +\begin{document} + +% Recipient name and address shown at the top. +\begin{letter}{ + Firstname Lastname \\ + Organisation Name \\ + 123 Av OtherStreet \\ + Montréal, Québec, \\ + H1A~3R2, Canada +} + +\opening{Dear Sir or Madam,} + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam fermentum +lacinia odio, quis tincidunt neque suscipit ut. Donec neque nisl, volutpat +sed posuere eget, congue et odio. Donec eu neque tortor. Pellentesque +lacinia, arcu vitae molestie euismod, lectus est sodales nisi, id vehicula +nisl massa vel felis. In hac habitasse platea dictumst. Aliquam dui erat, +bibendum et posuere eget, placerat sit amet ipsum. Phasellus congue, est ac +cursus tempor, tellus nibh rhoncus arcu, sit amet scelerisque magna turpis +nec turpis. Sed lacinia orci ac nunc convallis feugiat. Sed molestie, nisl et +scelerisque consequat, elit quam pellentesque sem, eu pharetra mi elit quis +libero. Mauris porta urna in orci sagittis fermentum. Aenean nec elit id +ligula venenatis ornare. Nam urna neque, aliquet in sollicitudin sed, +molestie ut tellus. + +Vivamus consectetur, mauris sit amet pharetra pharetra, tortor ante dignissim +purus, vitae pellentesque ante lorem eu magna. Morbi at leo leo. Class aptent +taciti sociosqu ad litora torquent per conubia nostra, per inceptos +himenaeos. Sed feugiat volutpat risus, a ullamcorper magna dictum quis. Nam +dictum enim et lectus consectetur consectetur. Vestibulum vitae eros vel elit +venenatis ornare ac sed felis. Nunc et laoreet libero. Cras ut fermentum dui. + +Thank you for your time and consideration. I look forward to your reply. + +% Extra whitespace for aesthetics. +\vspace{2\parskip} +\closing{Yours sincerely,} +\vspace{2\parskip} + +%\ps{P.S. Something or other I neglected to mention earlier.} + +%\encl{Passport application} + +\end{letter} +\end{document}