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.

This would produce a document formatted as an article (essentially, you can think of this as 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 of the more common classes. These include the following:

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 customisation 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?

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...

26th April 2024

How to Ace Slack Messaging for Contractors and Freelancers

Effective professional communication is an important skill for contractors and freelancers navigating remote work environments....

24th April 2024

How to Insert a Text Box in a Google Doc

Google Docs is a powerful collaborative tool, and mastering its features can significantly enhance your...

Exit mobile version