Skip to main content
v2026.11,986 entries · CC-BY 4.0

Cover Letter Template LaTeX: Full Guide & Code

A practical LaTeX cover letter template guide for researchers and authors, covering standard letter and scrlttr2 classes, syntax, and journal submissions.

Written and maintained by CASRAI Editorial Board

Published · Last updated

On this page

Preparing a formal letter in LaTeX provides researchers and academics with consistent typography, precision layout control, and version-controlled document source files. Whether submitting a manuscript to a peer-reviewed publication or applying for an academic appointment, utilizing a standardized cover letter template in LaTeX ensures that institutional letterheads, sender metadata, date stamps, and recipient blocks align with professional publishing standards. While LaTeX is widely recognized for typesetting complex mathematics and full-length documents, dedicated letter document classes streamline correspondence without requiring ad-hoc manual spacing.

What it is used for in research

In academic and research workflows, a cover letter LaTeX template serves two distinct primary purposes: journal manuscript transmittal and academic career applications.

Journal Manuscript Submissions

When an author submits an original manuscript to an academic journal, editors expect a formal transmittal letter accompanying the submission. As detailed in the CASRAI definition of a cover letter for journal submission, this letter introduces the research manuscript, states the article title and author list, summarizes the study’s core novelty and significance, confirms that all authors approved the work, discloses any potential conflicts of interest, and often nominates qualified peer reviewers (or requests exclusions). Because manuscript submission guidelines vary significantly across major academic publishing houses—as analyzed in our comparison of cover letters across Nature, Elsevier, Wiley, and Springer—maintaining a clean LaTeX template allows researchers to quickly adapt their submission letter while preserving institutional formatting.

Academic and Postdoctoral Job Applications

Scholars applying for postdoctoral fellowships, faculty positions, or laboratory directorships frequently use a latex template cover letter to match the exact visual style, typography, and font palette of their curriculum vitae. Standard word processors frequently suffer from shifting margins, unpredictable pagination, and font mismatches when compiled across different operating systems. In contrast, compiling a LaTeX cover letter guarantees reproducible, vector-sharp PDF output matching the candidate’s research dossier.

How to install or access it

LaTeX classes and packages for letter typesetting are distributed through official TeX distributions maintained under the Comprehensive TeX Archive Network (CTAN) and the TeX Users Group (TUG).

Local TeX Distributions

To compile LaTeX documents locally, install one of the official, maintained TeX distributions:

  • TeX Live: The cross-platform TeX distribution for Linux, Windows, and Unix systems, maintained officially by the TeX Users Group at tug.org/texlive.
  • MacTeX: The dedicated macOS distribution bundled with TeXShop and GUI utilities, available via tug.org/mactex.
  • MiKTeX: A Windows and multiplatform distribution featuring automatic on-the-fly package installation, available at miktex.org.

You can verify that a valid TeX distribution is active in your terminal shell by executing:

pdflatex --version

The standard letter document class is included by default in the core latex-base bundle on all standard installations. Extended letter packages such as KOMA-Script (scrlttr2) or moderncv can be verified or installed via the TeX Live package manager:

tlmgr install koma-script moderncv

Cloud and Web-Based LaTeX Editors

Researchers collaborating across institutions can access online LaTeX environments directly in their browser without local installation. For an in-depth evaluation of collaborative authoring tools, consult our comparison of Google Docs vs. Overleaf vs. Word for manuscripts. Most web platforms provide pre-configured TeX Live trees containing all standard letter classes.

Step-by-step instructions

The following numbered steps guide you through creating, configuring, and compiling a complete latex cover letter template.

Step 1: Select the Document Class

Choose the class that matches your structural requirements:

  1. Use \documentclass{letter} for traditional correspondence following the standard LaTeX distribution.
  2. Use \documentclass{scrlttr2} for modern institutional and European standard layouts with automated fold marks and address window positioning.
  3. Use \documentclass{article} with the geometry package if you require custom single-page layout geometry matching a specific CV header.

Step 2: Declare Global Sender Metadata

In standard LaTeX, sender details are declared in the preamble (before \begin{document}):

\address{Dr. Alex Morgan\\Department of Computational Biology\\University of Science\\100 Academic Way, Cambridge, MA 02138}
\signature{Dr. Alex Morgan\\Assistant Professor of Bioinformatics}
\date{\today}

The \address command defines the sender’s return address block, while \signature{...} defines the printed name and title appearing below the closing salutation.

Step 3: Open the Letter Environment

Inside the document body, open the letter environment by passing the recipient’s address block as an argument:

\begin{document}
\begin{letter}{Prof. Elena Rostova\\Editor-in-Chief\\Journal of Genomics Research\\450 Science Parkway, London, UK}

Step 4: Author the Salutation, Body, and Closing

Every standard LaTeX letter requires the \opening and \closing commands. Add enclosures and carbon copies using \encl and \cc:

\opening{Dear Prof. Rostova,}

Please find enclosed our manuscript titled "High-Throughput Sequencing Analysis in Model Organisms," which we submit for consideration as an Original Article in Journal of Genomics Research.

\closing{Sincerely,}
\encl{Manuscript PDF, Supplementary Information File S1}
\end{letter}
\end{document}

Step 5: Complete Minimal Working Example: Journal Submission Cover Letter

The following complete Minimal Working Example (MWE) demonstrates a publication-ready cover letter template in latex tailored for scientific manuscript submission. It sets 1-inch margins and includes standard academic declarations:

\documentclass[11pt]{letter}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[margin=1in]{geometry}
\usepackage{charter}
\usepackage{hyperref}

\hypersetup{
    colorlinks=true,
    linkcolor=blue,
    urlcolor=blue
}

\address{Dr. Jordan Vance\\Department of Systems Medicine\\Institute of Health Sciences\\45 Research Boulevard, Boston, MA 02115\\Email: [email protected]}
\signature{Dr. Jordan Vance, Ph.D.\\Corresponding Author}
\date{\today}

\begin{document}

\begin{letter}{Editorial Board\\International Journal of Biological Chemistry\\800 Innovation Way\\New York, NY 10001}

\opening{Dear Editors,}

Please accept our manuscript entitled \textbf{"Mechanisms of Enzymatic Inhibition in Synthetic Macromolecules"} by J. Vance, L. Chen, and M. Taylor for publication as an Original Research Article in the \textit{International Journal of Biological Chemistry}.

In this study, we demonstrate that allosteric regulation can be synthetically replicated in non-protein scaffolds, resolving a persistent debate regarding conformational stability. We believe these findings fall directly within the scope of your journal, specifically appealing to researchers in synthetic biology and biomaterials engineering.

We confirm that:
\begin{itemize}
    \item This manuscript is original, has not been published previously, and is not currently under consideration by any other journal.
    \item All co-authors have reviewed and approved the manuscript and consent to its submission.
    \item The authors declare no competing financial or non-financial conflicts of interest.
\end{itemize}

Suggested reviewers with relevant expertise include:
\begin{enumerate}
    \item Prof. Samantha Wright, Stanford University (email: [email protected])
    \item Dr. Marcus Lindqvist, Karolinska Institutet (email: [email protected])
\end{enumerate}

Thank you for considering our manuscript. We look forward to receiving the reviewers' comments.

\closing{Sincerely yours,}

\encl{Manuscript, Supplementary Methods, Data Availability Statement}

\end{letter}
\end{document}

Step 6: Alternative Modern Template Using KOMA-Script scrlttr2

For researchers operating in Europe or institutions requiring standard window envelope dimensions (DIN 5008), the scrlttr2 class provides parameter-driven variable control without manual formatting hacks:

\documentclass[fontsize=11pt,paper=a4,foldmarks=true,fromalign=right,fromrule=aftername]{scrlttr2}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}

\setkomavar{fromname}{Dr. Claire Dupont}
\setkomavar{fromaddress}{Laboratoire d'Informatique\\Campus Scientifique\\75005 Paris, France}
\setkomavar{fromemail}{[email protected]}
\setkomavar{fromphone}{+33 1 42 68 00 00}
\setkomavar{subject}{Application for Postdoctoral Fellowship -- Ref: POSTDOC-2026-BIO}
\setkomavar{date}{\today}

\begin{document}

\begin{letter}{Hiring Committee\\Max Planck Institute for Software Systems\\Campus E1 5\\66123 Saarbruecken, Germany}

\opening{Dear Members of the Search Committee,}

I am writing to express my enthusiastic interest in the Postdoctoral Researcher position in Algorithmic Verification announced by your institute. Having recently completed my doctoral dissertation on probabilistic model checking, my research directly complements your department's current initiatives.

My enclosed curriculum vitae summarizes my peer-reviewed publications, open-source software contributions, and conference presentations. I would welcome the opportunity to discuss how my technical expertise can support your research agenda.

\closing{With kind regards,}

\encl{Curriculum Vitae, Research Statement, Two Letters of Recommendation}

\end{letter}
\end{document}

Output and how to read it

When you compile your latex template for cover letter, LaTeX produces an Adobe PDF file alongside standard compilation log files.

Compilation Commands

Compile the document using the standard pdflatex compiler in your command line terminal:

pdflatex cover_letter.tex

If your template utilizes OpenType fonts or modern font packages via fontspec, compile using lualatex or xelatex instead:

lualatex cover_letter.tex

Reading and Validating the Output PDF

Open the generated cover_letter.pdf in an official PDF reader (such as Adobe Acrobat Reader, Evince, or Preview) and verify the following visual layout elements:

  • Header and Return Address: Confirm that the sender’s address is positioned cleanly at the top right or top left without overlapping the page margin.
  • Date Stamp: Verify that \today has expanded to the intended date format and does not collide with the recipient block.
  • Recipient Address Block: Ensure all line breaks (\\) executed properly and that recipient names and institutional addresses do not generate awkward word-wrapping.
  • Single-Page Fit: Confirm that the letter occupies exactly one page. Standard academic and job cover letters that overflow by two or three lines onto a blank second page appear unpolished. If overflow occurs, inspect the compilation terminal for Overfull \vbox warnings.
  • Log File Inspection: Review cover_letter.log for missing font warnings or package incompatibilities. A successful compilation terminates with Output written on cover_letter.pdf (1 page).

Troubleshooting

Below are common compilation errors encountered when working with cover letter templates latex and how to resolve them:

1. “LaTeX Error: Environment letter undefined”

Cause: You included \begin{letter} inside a document whose \documentclass is set to article, report, or book. The letter environment is exclusive to the letter or scrlttr2 classes.
Fix: Either change your root class in the preamble to \documentclass{letter} or, if using article, remove \begin{letter} and \end{letter} and typeset the salutation and body as regular paragraphs.

2. “LaTeX Error: Something’s wrong–perhaps a missing \item”

Cause: In the standard letter class, body text was placed immediately after \begin{letter}{...} without an intervening \opening{...} command. The class requires \opening to establish the page layout and initialize body indentation.
Fix: Insert \opening{Dear ... ,} before any letter body text.

3. “Overfull \hbox” Warnings on URLs or Emails

Cause: Long institutional email addresses or repository URLs inside sender headers exceed margin boundaries because TeX does not break strings without explicit hyphenation points.
Fix: Load the hyperref or url package in your preamble and wrap URLs in \url{...}. For plain text email strings, break lines explicitly using \\.

4. Letter Spills onto Page 2

Cause: Default margins in the standard letter class are wide (approximately 1.5 inches), causing moderately long letters to spill onto a second sheet.
Fix: Add \usepackage[margin=1in]{geometry} to your preamble. If needed, reduce the font size option in your documentclass declaration from 12pt to 11pt or 10pt, or reduce paragraph spacing using \setlength{\parskip}{0.5em}.

5. Digital Signature Alignment

Cause: Authors inserting a scanned signature image often experience awkward vertical gaps between the closing sign-off and printed name.
Fix: Include the graphicx package and embed the image within the \signature definition:

\usepackage{graphicx}
\signature{\vspace{-0.5cm}\includegraphics[height=1.2cm]{signature.png}\\\vspace{0.2cm}Dr. Jordan Vance}

Free alternatives

When evaluating free cover letter latex templates across CTAN and open-source repositories, authors should choose between built-in standard classes, modular bundles, and plain-text markup workflows. Depending on whether you need strict regulatory envelope formatting, modern curriculum vitae pairing, or rapid single-page drafting, several free LaTeX classes and alternatives are available:

Class / Approach Distribution & CTAN Source Best Suited For Envelope & Fold Marks Learning Curve Key Structural Feature
Standard letter Built-in (core LaTeX base distribution) Academic journal submissions, simple institutional correspondence No automated window fold marks Low Uses \address, \opening, \closing, and \encl
scrlttr2 (KOMA-Script) Bundled in CTAN koma-script Formal European/DIN business letters, institutional correspondence Yes (automated fold marks and window envelope alignment via .lco files) Moderate Fine-grained variables via \setkomavar
moderncv letter CTAN moderncv bundle Academic and industry job applications matching a modern CV No Low to Moderate Visual themes (classic, casual, banking) matching CV headers
Custom article class Built-in (core LaTeX base distribution) Unconstrained single-page letters with custom graphics and headers No Low Combines geometry, fancyhdr, and standard paragraph formatting
Pandoc + Markdown Open source CLI utility (pandoc.org) Drafting letters in plain text Markdown compiled to PDF via LaTeX engine Depends on underlying template Low Separates plain text content from LaTeX styling templates

When managing bibliographies or citations alongside academic transmittal documents, researchers often integrate reference managers. For more on structuring research tools with LaTeX, see our comparison of Zotero vs. JabRef for LaTeX-based writing and our foundational guide to the LaTeX document structure.

FAQ

Can I write a cover letter in LaTeX without using the letter class?

Yes. Many researchers use the standard article class coupled with the geometry package (e.g., \usepackage[margin=1in]{geometry}) and parskip (\usepackage{parskip}). This approach avoids the built-in indentation quirks of the default letter class and allows you to format sender information, recipient addresses, and signature blocks using standard flushright, flushleft, or table environments.

How do I ensure my cover letter fits on exactly one page?

To restrict your letter to a single page:
1. Set document class font size to 11pt or 10pt (e.g., \documentclass[11pt]{letter}).
2. Set 1-inch or 0.85-inch margins using \usepackage[margin=1in]{geometry}.
3. Replace vertical spacer commands with compact definitions (e.g., \vspace{0.5em} instead of multiple blank lines).
4. Inspect your terminal output to verify Output written on ... (1 page).

What is the difference between standard letter and KOMA-Script scrlttr2?

The standard letter class provides a basic, traditional American letter layout with minimal configuration options. In contrast, KOMA-Script’s scrlttr2 is a modern, modular typesetting engine that supports international envelope standards (such as DIN 5008), customizable fold marks, configurable address window positioning, and structured variables managed via \setkomavar.

How do I format co-author endorsements in a journal submission cover letter?

In academic manuscript submission letters, state explicitly that all co-authors have approved the final manuscript and consented to submission. If the journal requires signatures from all authors, list each co-author’s name, institutional affiliation, and signature block either sequentially at the foot of the letter or in an attached endorsement table referenced in the \encl{...} command.

How can I add an institutional logo to my letterhead?

To add an institutional logo, load \usepackage{graphicx} in your preamble. If using article, place \includegraphics[height=1.5cm]{university_logo.pdf} inside a top header or flushleft block. If using scrlttr2, assign the image directly to the sender logo variable using \setkomavar{fromlogo}{\includegraphics[height=1.5cm]{logo.pdf}}.

Sources

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · free to try

Ask about Cover Letter Template LaTeX: Full Guide & Code

2 free questions a day, no account.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →