Kembali ke semua templat

Surat Resmi

Lihat PDF
Kategori:Letters
Lisensi:Gratis digunakan (MIT)
Abstrak:

Templat surat bisnis profesional

Tag:LettersCorrespondence
Loading preview...

A formal letter template in LaTeX

This formal letter LaTeX template is the shortest route to a correctly laid-out business letter: your address and the date at the top right, the recipient's address on the left, a salutation, four short body paragraphs, a closing and your name under space for a handwritten signature. Use it for complaints, requests, resignations, notices to a landlord or any other formal correspondence.

It is built on LaTeX's standard letter class at 11 pt with one-inch margins from geometry, and loads nothing else, so it compiles as a letter template for Overleaf, Octree, or any TeX Live or MiKTeX install. The class does the layout for you: you fill in \address and \signature once in the preamble, then write the letter between \begin{letter}{...} and \end{letter}, with the recipient's address as the argument. \opening sets the salutation and \closing the sign-off, and the date is filled in automatically. The sample body paragraphs describe what each one should contain (purpose, supporting details, next steps), so you can write straight over them. Because the sender details live in the preamble, you can also put several letter environments in one file to send the same letter to different recipients.

What is included

  • Sender address block and automatic date, aligned right
  • Recipient address block on the left
  • Salutation, four guided body paragraphs and a closing
  • Signature block printed from \signature

How to use it

  1. Click Open as Template to edit in Octree, or View Source and paste the code into Overleaf or a local letter.tex.
  2. Compile with pdfLaTeX; one pass is enough.
  3. Edit \signature and \address in the preamble. Separate address lines with \\.
  4. Replace the recipient address in \begin{letter}{...}, the salutation in \opening and the body text.

Customise the template

Fix the date and paper size. By default the class prints the compile date. For a dated letter or A4 paper:

\usepackage[a4paper,margin=1in]{geometry}
\date{3 March 2026}

Add copies, enclosures and a P.S. These go after \closing, inside the letter environment:

\closing{Sincerely,}
\cc{Jane Smith, Human Resources}
\encl{Copy of invoice 1042}
\ps{P.S. I am available by phone on weekdays.}

Sign with an image. Load graphicx and put the image in the signature, above your typed name: \signature{\includegraphics[width=4cm]{signature}\\ Your Name}.

Related templates: cover letter, motivation letter and letter of recommendation.

Formal letter template FAQ

How do I write a formal letter in LaTeX?
Use the standard letter class, as this template does. Put your name in \signature and your address in \address in the preamble, then write each letter inside \begin{letter}{recipient address} ... \end{letter}, starting with \opening{Dear ...,} and ending with \closing{Sincerely,}. LaTeX places the addresses, date and signature for you.
How do I change the date on the letter?
The letter class prints today's date under your address automatically. To fix a specific date, add \date{3 March 2026} in the preamble before \begin{document}.
Can I add cc, enclosures or a postscript?
Yes. After \closing, add \cc{Name} for copies, \encl{Document name} for enclosures and \ps{P.S. text} for a postscript. These commands are part of the standard letter class, so no extra package is needed.
Does this letter template work in Overleaf?
Yes. It uses only the letter class and the geometry package, both part of every TeX distribution, so it compiles with pdfLaTeX in Overleaf, Octree or a local install.
Math poweredTulis LaTeX menggunakan AI

Editor LaTeX AI Terbaik, Alternatif Overleaf

Octree membantu peneliti dari 15+ universitas menulis makalah penelitian lebih cepat menggunakan AI

  • Hasilkan diagram TikZ yang indah menggunakan AI
  • Unggah gambar dan konversi ke LaTeX dengan mulus
  • Dapatkan bantuan instan untuk menulis dan memformat makalah penelitian