A Guide to LaTeX Document Classes

A Guide to LaTeX Document Classes

LaTeX is a powerful editing tool for preparing documents in the sciences, computing, and engineering. You can use it to create a variety of document types, from short letters to entire books. But to make sure your work turns out as intended, you’ll need to understand LaTeX document classes.

Setting a Document Type

All LaTeX documents must include the documentclass markup tag. This controls the overall layout of the document, with different classes offering different default settings.

The documentclass markup always appears at the beginning of the document and allows you to pick the overall document type. For instance, we could set a document up as follows:

The documentclass markup tag.
The documentclass markup tag.

This would produce a document formatted as an article (essentially, this covers any short document without chapter breaks). We will run through some common document classes below.

LaTeX Document Classes

There are actually dozens of LaTeX document classes from which to choose. But most of these are specific to particular journals or universities, so you won’t need to use them.

However, it is useful to know some widely used classes. These include:

Document Class

Standard Usage

article

Used for journal articles, short reports, and any other short documents that do not require a cover page and that are not divided into chapters.

beamer

A popular document class for presentations. Uses a landscape page format and uses slides (or “frames”) rather than standard pages.

book

Used for typesetting books. The book class allows you to use the frontmatter, mainmatter and backmatter commands, which control section and page numbering.

IEEEtran

For articles published in an IEEE journal format.

letter

Used to create a formal letter.

memoir

A version of the book class with additional typesetting options.

proc

Used for typing up the proceedings of a conference or event.

report

Ideal for longer articles or shorter books where chapter divides are necessary but where the full book formatting is not required.

slides

Used to create slides for a presentation. Simpler to use than the beamer class, but with fewer customization options for complicated presentations.

Most of these classes also offer a range of options so you can change the general layout and font size. However, if you pick the right class for your document, the default settings will usually suffice.

Find this useful?

Subscribe to our newsletter and get writing tips from our editors straight to your inbox.

Upload a document

More Writing Tips?

6th August 2024

Free Email Newsletter Template

Promoting a brand means sharing valuable insights to connect more deeply with your audience, and...

24th July 2024

How to Write a Nonprofit Grant Proposal

If you’re seeking funding to support your charitable endeavors as a nonprofit organization, you’ll need...

14th May 2024

How to Use Infographics to Boost Your Presentation

Is your content getting noticed? Capturing and maintaining an audience’s attention is a challenge when...

10th May 2024

Why Interactive PDFs Are Better for Engagement

Are you looking to enhance engagement and captivate your audience through your professional documents? Interactive...

7th May 2024

Seven Key Strategies for Voice Search Optimization

Voice search optimization is rapidly shaping the digital landscape, requiring content professionals to adapt their...

Exit mobile version