LaTeX-Tutorial.com

Your guide to documentclass latex: types and options, what is documentclass latex.

Every LaTeX document starts with a \begin{document} command and ends with an \end{document} command. LaTeX ignores anything that follows the \end{document}. The part of the source code file that precedes the \begin{document} declaration is called the preamble .

The first command of the preamble has to be \docummentclass (although technically it can be preceded with prepended files). This command takes a single mandatory argument that is one of the predefined classes of document that LaTeX has built-in. In this tutorial, we are going to explain and see the differences and similarities of these document classes , and what should each one be used for. We will also talk about the multiple optional arguments that the \documentclass command takes, and that can be used to customize the appearance of our document .

There are also third-party document classes that are written and distributed as external packages. Some of these classes, like beamer to make presentations and memoir to extend the functionalities of the book class , are very popular and useful, but we won’t cover them here, since they are much more sophisticated and complex than the predefined classes.

LaTeX document classes and their use

The document classes available in plain LaTeX are reported in the following table:

  • The first two document classes are the basic ones; if you don’t know what document class you should use, always start with article .
  • The report class is very similar, the main difference with the article being that you can insert chapters with \chapter, while in the article class the highest element in the hierarchy of titles is the \section command .

LaTeX book class

In typographical standards, books differ from reports mainly in their front and back matter. The front matter of a book usually includes:

  • a half-title page,
  • a main title page,
  • a copyright page,
  • a preface or foreword, and a table of contents.

It may also contain:

  • acknowledgments,
  • a dedication,
  • a list of figures,
  • a list of tables,
  • a list of other books in the same series, and other editorial or promotional content.

The back matter usually includes an index and may contain an afterword, also acknowledgments, a bibliography, a colophon, and so on.

The book document class provides some commands to produce the logical structures previously discussed, that the report class isn’t able to deal with by default . However, it does not try to yield tools to all of them. Individual publishers usually have their own packages with additional commands to typeset the structures according to their manual of style.

Front matter, main matter and back matter commands

The front matter, main matter (which contains the main body of the book, starting at the first chapter or part and ending at the appendices), and back matter are begun with the three commands \frontmatter, \mainmatter, and \backmatter, respectively.

In the standard book class, front matter pages are numbered with roman numerals; main and back matter pages are numbered with arabic numerals.
In the front and back matter, the \chapter command does not produce a chapter number, but it does make a table of contents entry; this can be used, for example, to produce a preface or acknowledgments section. Inside these kind of chapters, only the starred versions of other sectioning commands (mainly \section* and \subsection*) should be used.

Illustrative example of Book class

For example, this could be a standard book structure:

You can see the table of contents produced by the previous book in Figure 1. Observe how the numbering of the pages and the sectioning commands change according to the part of the book we are in.

book document class in LaTeX

Odd and even pages in Book class

When printing books, odd and even pages are not structured in the same way. Margins, and usually also headers and footers, change to provide better readability when the book is bound. This is taken into account in the book document class, where you will see that:

  • left pages have a larger left margin, the page number at the top left of the page, and the title of the current chapter at the right, while
  • right pages have a larger right margin and only the page number at the top right of the page. Also, new chapters start always at the right page and the page head is emptied, leaving only the page numb er at the center on the foot of the page.

No built-in abstract

There is one more difference between the book class and the article and report classes : it doesn’t have a built-in abstract environment .

This environment is used in academic articles, and also reports, to give a brief description of the contents that will be treated along with the document. It is customary for this introduction to have special typesetting, with “Abstract” written in bold over it, and also it is common to find it printed just after the title and before the table of contents. As said, this environment is not implemented in the book document class.

Memoir class

It is worth mentioning here that there is a popular extension of the book document class, called memoir, written by Peter Wilson.

This package aims to integrate multiple design-related packages with the LaTeX book class. It provides:

  • a larger range of permissible font sizes,
  • a large number of page styles, and well
  • over a dozen chapter styles to choose from, as well as
  • methods for specifying your own layouts and designs.
  • It also integrates the functionality of over thirty popular packages.

Opens in a new tab.

LaTeX letter class

As with the slide document class, the letter is slightly old-fashioned. This class is used to make traditional letters, the ones that are put in an envelope and mailed, a somewhat obsolete way of communication (since the email was invented and generalized) but still used in certain official matters. Although the class was designed for traditional letters, still today there are certain documents that have the structure of a letter such as:

  • a letter of recommendation, or
  • a letter of presentation

and for which this document class may be useful. So let’s briefly discuss the details that characterize this particular document class!

With it, you can make any number of letters with a single input file:

  • Your name and address, which are likely to be the same for all letters, are specified by special declarations.
  • The return address is declared by an \address command, with multiple output lines separated by \\ commands (which is the common line-breaking command in LaTeX).
  • The \signature command declares your name, as it appears at the end of the letter, with the usual \\ separating multiple lines.

These declarations are usually put in the preamble because they are common to all letters, but they are normal declarations with the customary scoping rules and can appear anywhere in the document. In particular, this means that you can change the return address and signature at any point.

Each letter is produced by a separate letter environment, having the name and address of the recipient as its mandatory argument.

  • The letter itself begins with an \opening command that is used to generate the salutation.
  • The main body of the lecture is ordinary LaTeX input.
  • The letter closes with a \closing command that is passed the closing sentence and automatically generates the signature.

These may seem a lot of commands, but they are all very easy to use, and also very powerful since LaTeX automatically will take care of the formatting of the letter, without you having to worry about it at all.

In case you are not convinced yet, let me show you a clarifying example where all the commands are put into practice so that you can use it as a template for your letters:

You can see the letter generated in Figure 2. Note how LaTeX automatically formates everything, and even inserts the current date without you asking for it. I find generating letters with LaTeX easier than doing it by hand!

letter document class in LaTeX

We said that the date on the letters is automatically inserted by LaTeX and that it uses today’s date. We can, however, change this behavior by redefining the \today command, which is where LaTeX saves the name of the day. For example:

\renewcommand{\today}{12th of October of 1492}

will make \today print the content “12th of October of 1492”. This declaration can either be used on the preamble, to affect all letters or inside a certain letter environment, to only affect that letter.

documentclass latex options

As was stated in the introduction, there are some optional arguments that can be passed to the \documentclass command. Here we are going to explain these options:

The options 10pt, 11pt, and 12pt choose the normal type size of the document. The default value is 10pt. This option is not recognized by the slides class.

The paper size can be selected between the following options:

  • letterpaper (8.5in × 11in)
  • legalpaper (8.5in × 14in)
  • executivepaper (7.25in × 10.5in)
  • A4 (210mm × 297mm)
  • A5 (148mm × 210mm)
  • B5 (176mm × 250mm)

By default, the paper size is letterpaper.

The landscape option causes the output to be formatted for landscape printing on the selected paper size. Effectively, this option interchanges the width and the height dimensions of the paper size.

If TeX has trouble finding good places to break lines, it can produce lines that extend past the right margin (which produce the output warnings called “overfull hboxes”). The draft option causes such lines to be marked by black boxes in the output. The final option, which does not mark these lines, is the default.

Two sides printing

The oneside and twoside options format the output to be printed on one side or both sides of a page, respectively. The default is oneside, except for the book class, for which it is twoside. However, the twoside option is not available with the slides document class.

Opening page of chapters

If the openright option is used, then all chapters will begin on a right-hand page. Instead, with the openany option you can make them start on any page. These options apply only to the report class (whose default is openany) and the book class (whose default is openright).

Two column pages

The option twocolumn specifies two-column pages. The default is onecolumn, for one-column pages. The twocolumn option cannot be used with the letter or slides classes.

Page for the title

The titlepage option causes the \maketitle command to make a separate title page and the abstract environment to put the abstract on a separate page. The default is titlepage for all classes except article, for which it is notitlepage. hese options, however, are not recognized by the letter class.

Open bibliography style

openbib causes the bibliography to be formatted in an open style. This option is not recognized by the letter and slides classes.

Numbered formulas

The option leqno puts formula numbers on the left side, instead of the right, which is the default.

Formulas alignment

The option fleqn left-aligns formulas, which by default are centered.

Recent Posts

Typesetting Multiple Choice Questions in LaTeX

n this tutorial, we will see how to write a multiple-choice exam in LaTeX, using the exam document class. This document class provides multiple tools to easily typeset exams in LaTeX, and we have...

How to Write a Minimalistic CV in LaTeX: Step-by-step Guide

In this step by step tutorial, we will learn how to typeset a professional CV, and gain some more insight into how LaTeX works with a practical example.

University of Rhode Island

  • Future Students
  • Parents and Families

College of Engineering

  • Research and Facilities
  • Departments

Guide to Writing Your Thesis in LaTeX

Step 4: configure the options specific to your thesis.

At this point, it is assumed that you have a working LaTeX distribution, an editor, have downloaded and installed the necessary template files, and confirmed that you can build this sample thesis . If not, do that first. Now we will explain how to set things like the title, the author name, and whether it is a masters thesis or a doctoral dissertation.

Start by opening the file thesis.tex in your editor.

Setting the Class Options

The first line of the file will be:

This tells LaTeX to use the urithesis document class with all default options. There are many options that that can be given, but for now we will only concern ourselves with one.

If this is a Ph.D. dissertation, change the first line to be:

Setting the Title and Author

To set the title, you use the command:

Make sure to use proper capitalization.

Since you will be the author, set your name using the command:

The tilde between the middle initial and the last name tells LaTeX that the period does not indicate the end of a sentence, and to use a normal interword space.

The Bibliography Source File

The references will come from one or more .bib files that you create. This is the only type of file without a .tex extension that you will need to edit. The line:

tells BibTeX to look in the file references.bib for references cited in the thesis. The argument to the \reffile command can be a comma separated list of files (without the .bib extension), and it will look in all of those files.

The Preliminary Material

The pages that come before the first chapter are called the preliminary material. See the page Guidelines for the Format of Theses and Dissertations , on the Graduate School’s web site, for more information about the preliminary material. The preliminary material includes, in this order:

The automatic sections will be generated automatically, and you need not worry about them. The List of Tables and List of Figures sections will only be generated if the thesis contains any tables or figures, respectively. The argument to the command to include the four manual sections, is the name of the .tex file that contains the content for that section, without the .tex extension. For example the abstract is included with the command:

which means it will us the contents of the file abstract.tex as the abstract. The file abstract.tex should contain only the text of the abstract, as the title will be generated automatically.

The Chapters

Chapters are included with the command:

which will include the file chapterN.tex in the thesis. There should be one \newchapter{} command for each chapter of the thesis.

The chapter source files should each begin with the command

followed by the contents of the chapter.

The Appendices

Appendices are optional, but if present, they are included with the command:

which will include the file appendixN.tex in the thesis. There should be a \newappendix{} command for each appendix of the thesis.

The main difference between appendices and chapters, are that chapters are numbered starting with 1, while appendices start with the letter A. The contents of an appendix is identical to that of a chapter. Each appendix source file should begin with the command:

command, just like with chapters.

Additional Considerations

By default, the department named on the title page is Electrical Engineering, but that can be changed by using the command:

before any of the chapters are included.

The year that the thesis is generated is displayed on the title page and approval page, but the Graduate School requires that year must be the year of your official graduation. To set that date to a specific year, other than the current year, use the command:

before the \begin{document} command.

because LaTeX matters

Latex documentclass options illustrated.

The three most commonly used standard document-classes in LaTeX include: article , report and book . A number of global options allows customization of certain elements of the document by the author. Different document-classes might have different default settings. The following post illustrates available options with figures, provides alternatives and highlights the default option for each document-class.

To change the default behavior, the option is provided as an optional parameter to the documentclass command.

  • Font size (10pt, 11pt, 12pt)
  • Paper size and format (a4paper, letterpaper, etc.)
  • Draft mode (draft)
  • Multiple columns (onecolumn, twocolumn)
  • Formula-specific options (fleqn and leqno)
  • Landscape print mode (landscape)
  • Single- and double-sided documents (oneside, twoside)
  • Titlepage behavior (notitlepage, titlepage)
  • Chapter opening page (openright, openany)

LaTeX knows three standard font sizes:

  • 10pt (default)

Other global and local font sizes are available through various packages.

The following example sets the global document font size to 12pt. The picture below compares the three LaTeX standard font sizes.

font-size

Paper size and format

Different regions of the world use different standard physical paper sizes. Available are:

  • a4paper (default)
  • letterpaper (default in some distributions)
  • executivepaper

The following example compares (from left to right): legal, A4, Letter and A5.

paper-sizes

The geometry package provides similar options and additional flexibility for paper size and margins.

Setting the draft option will speed up typesetting, because figures are not loaded, just indicated by a frame. LaTeX will also display hyphenation ( Overfull hbox warning) and justification problems with a small black square. Delete the draft option or replace it with final in the final document version.

draft

Multiple columns

  • onecolumn (default)

By default, text is typeset in a single column ( onecolumn ). LaTeX provides an easy way to switch to two columns through the document-class option twocolumn .

twocolumn1

The multicol package allows creating more than two columns globally as well as locally.

Formula-specific options

  • fleqn : left-alignment of formulas
  • leqno : labels formulas on the left-hand side instead of right

These are two independent options manipulating the alignment and label position of formulas.

The top figure illustrates the default case with neither option set. The bottom figure shows how formulas are typeset when both options, fleqn and leqno , are set.

leqno-fleqn

Landscape print mode

The landscape option changes the page layout to landscape mode. This, however, does not change the page margins accordingly (first page in figure), which is why for landscape documents with landscape content the pdflscape or geometry packages (second page in figure and code) are more suitable.

landscape-vs-geometry

Single- and double-sided documents

  • oneside (default for article and report)
  • twoside (default for book)

In single-sided documents ( oneside ), the left and right margins are symmetric and headers are exactly the same on every page. In other words, the document does not distinguish between inner and outer margin. Twoside, on the other hand, generates double-sided content. The outer margin (even page: left; odd page: right) is wider by default (see figure below). It might appear that the header “switches” sides, but that because they are placed with respect to the margins. The twoside option is usually set for bound texts such as theses or books.

twoside

Titlepage behavior

  • notitlepage (default for article)
  • titlepage (default for report and book)

The option titlepage ends the page after \maketitle and restarts on the next page. In article , the content starts right after \maketitle . The titlepage option is quivalent to:

The example below illustrates the default behavior of article .

notitlepage

Chapter opening page

  • openany (default for report)
  • openright (default for book)

Finally, the option openright always starts a chapter on the right (odd pages), leaving one page blank in case the last paragraph of the previous chapter ended on an odd page. It only works and makes sense with the twoside option set. The openany option starts the chapter on the next page (even or odd).

The openany , openright options are not available in article as it does not support \chapter !

openright

Share this:

22 comments.

' src=

13. February 2013 at 9:06

Very interesting post! I use LaTeX for almost everything, and I discovered new things thanks to your post!

' src=

13. February 2013 at 13:37

I’m glad parts of the post were new to you. Thanks for the comment!

' src=

15. October 2021 at 7:56

Thanks Tom, you are a gem. You helped me a lot today.

' src=

13. February 2013 at 13:34

Great post!

13. February 2013 at 13:36

' src=

18. February 2014 at 13:44

How to code many authors and one address without repeating the address in the text of article?

I code this:

Is there another way to code latex and get only one address shared by many authors???

20. February 2014 at 3:42

Thanks for your question. I gave it a try, take a look at the result and let me know what you think. Btw. I removed all special characters and email addresses.

' src=

3. March 2014 at 21:23

thank’s

' src=

23. June 2014 at 18:53

Could u pls help me, i used \documentclass[chap, 12pt, nocenter]{thesis} for my thesis but chapter not printing thanks

24. June 2014 at 5:29

I assume this is the document class you are referring to. Please provide a minimal working example. The code below prints chapter headings correctly. Note, the option chap doesn’t exist. Did you mean chapterbib instead?

' src=

30. July 2014 at 16:02

I believe it is [oneside|twoside] not [onepage|twopage].

5. August 2014 at 11:20

Fixed, thanks!

' src=

2. October 2014 at 14:50

Thanks for the illustration of the documentclass options!

‘openright’ always starts a chapter on the right (odd page). Why is this default for scrbook, why does it make sense? I’m interested in the advantages of ‘openright’ (disadvantages would be the waste of an even page and the waste of paper). Is there any? Or is ‘openright’ only a matter of taste?

12. October 2014 at 12:08

I’d say it’s a matter of style. Most decent books start new chapters on an odd page and therefore it makes sense that openright is the default. If you prefer a document without blank pages between chapters, either use the document class scr­reprt or change it through the openany option.

Cheers, Tom.

' src=

5. December 2014 at 0:37

Very good help.

Thank you very much

Cheers, Volker

' src=

21. August 2015 at 8:27

Hi, I have a question as well. I am using \documentclass[nopreprint,times,3p,final]{elsarticle} , but still is appearing in footnote the preprint. What would be the solution?

25. August 2015 at 9:41

I assume you use the elsarticle class for something other that submitting an article. According to the documentation, there is no option nopreprint . My suggestion is to download the class file and manually remove the line that says “Preprint submitted to …” (on line 451). Then, place the class file in your project directory.

3. September 2015 at 8:55

Thanks, I give a try now.

' src=

27. August 2015 at 4:07

First off the post was very helpful.

Second, I like to double space after every period. I know normally LaTex formats everything so it always shows up as one space no matter how many you type in. I heard there was an option you could put in brackets after the document class (ie \documentclass [in here] {article} ) but I don’t know what could be.

Is this true or is there some other way I could add a double space after each period?

Thanks so much!

27. August 2015 at 16:22

That’s an interesting question, which I can’t remember having seen before. Apparently, single spacing is referred to as ‘french spacing’. So, by adding the following command to your preamble, you’ll get double spacing between sentences:

See here for more details .

' src=

24. August 2019 at 12:26

what is meant by \document class{ws-dmaa}.is there any required software to run this?

18. September 2019 at 21:27

Hi Shakthi,

It’s the name of the class file. Look for a ws-dmaa.cls file and place it in the project folder.

Leave a Reply Cancel reply

Navigation Menu

Search code, repositories, users, issues, pull requests..., provide feedback.

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly.

To see all available qualifiers, see our documentation .

  • Notifications

A LaTeX document class that conforms to the Computer Laboratory's PhD thesis formatting guidelines.

cambridge/thesis

Folders and files, repository files navigation.

a LaTeX thesis template for Cambridge PhD students

Quick start

Clone this repository.

Start adding contents of your thesis into thesis.tex .

Build the PDF by running the following in the command line:

Open thesis.pdf .

Pro tip: you can use one of the samples in the Samples directory.

How will the thesis look like?

Your thesis document will look something like this:

Plain (PDF)

If you use the clean sample, which can be found in ./Samples/clean , it will look like this:

Sample Clean (PDF)

The template also supports DVI and PS formats. All three formats can be generated with the provided Makefile .

Producing PDF , DVI and PS documents

Build your thesis.

To build the PDF version of your thesis, run:

This build procedure uses pdflatex and will produce thesis.pdf .

To produce DVI and PS versions of your document, you should run:

This will use the latex and dvips commands to build the document and will produce thesis.dvi and thesis.ps documents.

Clean unwanted files

To clean unwanted clutter (all LaTeX auto-generated files), run:

Usage details

Class options.

cam-thesis supports all the options of the standard report class (on which it is based).

It also supports some custom options.

techreport : formats the document as a technical report (here's a sample ). Here is a list of formatting points in which the technical report differs from a normal thesis (see guidelines for more information):

  • different margins (left and right margins are 25mm, top and bottom margins are 20mm),
  • normal line spacing (instead of one-half spacing),
  • no custom title page,
  • no declaration,
  • page count starts with 3,
  • if the hyperref package is used, the option pdfpagelabels=false will be passed to it.

firstyr : formats the document as a first-year report (here's a sample ). This option removes some unneeded elements and modifies the submission note. Here is a list of formatting points in which the first year report differs from a normal thesis:

  • an appropraite subtitle is added,
  • the submission note is changed appropriately,
  • no standalone abstract,
  • no acknowledgements.

secondyr : formats the document as a second-year report (here's a sample ). Similarly to firstyr , this style modifies the submission note and removes unneeded elements. Specially, an abstract is retained (as for this report, research is often in a more "stable" state). Here is a list of formatting points in which the second year report differs from a normal thesis:

times : tells the class to use the times font.

glossary : puts the glossary after the TOC. The glossary contains a list of abbreviations, their explanations etc. Describe your abbreviations and add them to the glossary immediately after you introduce them in the body of your thesis. You can use the following command for this:

After that, you can reference particular glossary entries like this:

You can also change the glossary style. For example, try putting this on the very top of the preamble (even before you define the document class with \documentclass[glossary]{cam-thesis} ):

Further instructions can be found on LaTeX Wikibooks or the user manual at CTAN .

Note : glossaries is the package used to create the glossary.

withindex : build the index, which you can put at the and of the thesis with the following command (it will create a new unnumbered chapter):

Instructions on how to use the index can be found here .

Note : the package makeidx is used to create the index.

backrefs : Add back references in the References section (here's a sample ). In other words, for each reference, it adds the page(s) where it is cited.

Note : the package backref is used to create the back references.

Troubleshooting

Q1 : i found a bug in the template. where do i report bugs.

You can report issues through our GitHub repository .

You can also mail the maintainers directly.

Q2 : Where can I find the thesis formatting guidelines this class is based on?

The University of Cambridge submission guidelines:

https://www.cambridgestudents.cam.ac.uk/your-course/examinations/graduate-exam-information/submitting-and-examination/phd-msc-mlitt/submit

The University of Cambridge final submission guidelines:

https://www.cambridgestudents.cam.ac.uk/your-course/examinations/graduate-exam-information/after-examination/degree-approval-and-1

The Computer Laboratory guidelines:

https://www.cl.cam.ac.uk/local/typography/phd/

The Computer Laboratory guidelines for technical reports:

https://www.cl.cam.ac.uk/techreports/submission.html

Q3 : Can I use my own Makefile?

By all means. Previously we used the horrendously complex Makefile at

http://code.google.com/p/latex-makefile/

Q4 : But what if I don't want the template files in my thesis directory?

Put the files and folders listed below into a directory where LaTeX can find them (for more info see [1] ):

[1] You can put these files either into the standard LaTeX directory for classes [2] , or a directory listed in your TEXINPUTS environment variable. [2] The location of the standard LaTeX class directory depends on which LaTeX installation and operating system you use. For example, for TeX Live on Fedora 14 it is /usr/share/texmf/tex/latex/base . In any case, after this, LaTeX will still not be able find your class. You will have to rebuild the package index. This procedure also depends on your installation specifics, but for TeX Live you have to run the texhash command. For more comprehensive information refer to LaTeX Wikibooks .

Q5 : Where can I find newer versions of the University of Cambridge logo?

The university updates its logo every now and then. You can find up-to-date logos on this page (subject to change without notice).

Download and exchange the new logos with CUni.eps and/or CUni.pdf .

Q6 : My college's shield/coat of arms/crest is not a vector-based image. Why u no include it?

If you find a distributable vector-based image of your college's shield you can report it as an issue or mail it to contributors directly (refer to question Q1 above).

Q7 : Where can I find extra fonts (like Adobe Sabon, Adobe Utopia etc.)?

The Computer Laboratory provides some .

After you've installed the fonts, add somewhere in the preamble (before \begin{document} ) the following command:

Q8 : How should I count the number of words in my thesis?

There is a page on the Computer Lab's web site. They recommend using this command:

Q9 : How can I change the College Shield?

In thesis.tex use \collegeshield{CollegeShields/<college>} with <college> as your your desired college name, as found in CollegeShields .

Alternatively, \collegeshield{CollegeShields/CUniNoText} can be used to display the University of Cambridge shield design.

Contributors 14

  • Python 4.0%
  • Makefile 2.4%

Electricalvoice

LaTeX Document Classes: A Comprehensive Guide

LaTeX document class is an essential aspect of LaTeX, a typesetting system commonly used to produce scientific and mathematical documents due to its excellent support for complex equations and formatting. In LaTeX, the document class defines your document’s overall layout and structure . Here’s a guide on how to use LaTeX document classes:

What is Document Class in LaTeX?

LaTeX provides several document classes, each designed for specific types of documents, such as letter , article , report , book , amsart , thesis , slide , slides , and seminar .

Each of these document classes serves a specific purpose and is equipped with features tailored to the unique requirements of different types of documents.

The document class is declared at the beginning of your LaTeX document using the \documentclass{doctype} command. The argument doctype within the {} is obligatory, representing the class or type of the document.

Basic Document Structure

A minimal LaTeX document typically consists of the following structure:

Replace with the desired document class (e.g., letter , article , report , book , amsart , thesis , slide , slides , seminar ).

Document Classes

The basic syntax for different document classes is as follows.

Default Setting

By default, when using \documentclass{} , the document is formatted to be printed on letter-size paper with 10-point fonts . It is noted that 1 point ≈ 0.0138 inch ≈ 0.3515 mm.

Options for Document Classes

Various user-defined formats for a document can be achieved by specifying different options with \documentclass{} . This is done using the syntax \documentclass[x1, x2, …]{doctype} , where x1 , x2 , etc., within the square brackets [] represent the options. Multiple options can be included in any order, separated by commas . For example, \documentclass[a4paper,12pt]{article} configures the document class to print an article on A4 paper with 12-point fonts.

Following is a table of standard options for the \documentclass[]{} command:

LaTeX document classes provide a powerful and flexible way to structure and format documents. By choosing the appropriate class and utilizing packages, you can create professional-looking documents for various purposes.

Follow

  • How to write in LaTeX? Create first Document
  • LaTeX vs HTML: A Comprehensive Guide
  • Mastering Font Size in LaTeX: A Comprehensive Guide
  • Document Sectioning in LaTeX
  • LaTeX vs. BibTeX vs. BibLaTeX: A Comprehensive Guide
  • A comprehensive guide on ‘textcomp’ package in LaTeX
  • A Comprehensive Guide to the ‘booktabs’ Package in LaTeX
  • What are LaTeX Commands?
  • LaTeX Tutorial – Beginner’s Guide to LaTeX
  • LaTeX Symbols – Comprehensive Guide

1 thought on “LaTeX Document Classes: A Comprehensive Guide”

  • Pingback: How to Highlight Text in LaTeX? | Electricalvoice

Leave a Comment Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed .

web analytics

An academic thesis, also known as a dissertation, is a substantial work produced by a graduate student to communicate their research and earn a degree. A thesis will typically include a review of the current state of research in the field of study followed by a central hypothesis to be investigated. The bulk of the thesis will then focus on the methods and results of the research performed, followed by a discussion on how the results add to the field in general. Theses are long, highly structured and include a lot of advanced document elements.

which latex document class for thesis

This template is designed for writing books and graduate-level theses and provides numerous examples and documentation to enable complex requirements. The design features a relatively narrow main text column with an adjacent wide margin to house notes, figures, tables, citations and captions.

  • View Template Information

Masters/Doctoral Thesis

This template provides a full framework for writing a graduate level thesis. It is carefully structured and separated into multiple parts for easy editing. Included are the following pages/sections: a cover page, declaration of authorship, quotation, abstract, acknowledgements, contents page(s), list of figures, list of tables, abbreviations, physical constants, symbols, dedication, example chapter, example appendix and bibliography.

Classicthesis Typographic Thesis

This template has been designed as a homage to the Elements of Typographic Style. As such, it has an air of efficiency and optimal design. It is suitable for any high-level degree thesis such as for a PhD, Masters or Honors. Sections within the thesis are clearly separated in a consistent way, as are sections within each chapter. The default structure of the thesis proceeds in the following order: title page, dedication, abstract, publications, acknowledgements, contents, list of tables/figures/listings, acronyms, content chapters, appendices, bibliography, colophon and declaration.

Maggi Memoir Thesis

This template uses the memoir document class to beautifully typeset a thesis. It is suitable for any high-level degree thesis such as for a PhD, Masters or Honors. The layout of the content is in a thin format to promote easy reading and the template features advanced specification of margins and trimming. The thesis boasts a professional look which is immediately obvious from the title page itself and carries through the design of the rest of the document. Three custom fonts are used in the template to match the design and beautifully display your content.

which latex document class for thesis

LaTeX Templates Information

General enquiries [email protected]

Most templates licensed under CC BY-NC-SA 4.0

LaTeX Templates is developed in New Zealand

© Creodocs Limited. All Rights Reserved.

LWDA 2024 Template

LWDA 2024 Template

Have you checked our knowledge base ?

Message sent! Our team will review it and reply by email.

IMAGES

  1. How to write a thesis using LaTeX **full tutorial**

    which latex document class for thesis

  2. How to write a thesis using LateX

    which latex document class for thesis

  3. Using the Document Class phdsymp.cls

    which latex document class for thesis

  4. 10 Easy Steps: How to Write an Article in LaTeX 2024

    which latex document class for thesis

  5. LaTeX Document Classes, Sections, and Outlining

    which latex document class for thesis

  6. Make a Document in LaTeX

    which latex document class for thesis

VIDEO

  1. Re-Typesetting Books in LaTeX

  2. Insert PDF document into Latex document

  3. Introduction for writing a Thesis documents using LaTeX *Full Tutorial*

  4. How to write a beautiful PhD thesis using latex, Part-I

  5. Document Class colorbook

  6. LaTeX: the professional tool for scientific writing

COMMENTS

  1. How to Write a Thesis in LaTeX (Part 1): Basic Structure

    The preamble. In this example, the main.tex file is the root document and is the .tex file that will draw the whole document together. The first thing we need to choose is a document class. The article class isn't designed for writing long documents (such as a thesis) so we'll choose the report class, but we could also choose the book class.. We can also change the font size by adding square ...

  2. Class for my thesis (I am a beginner, just installed LaTeX)… which

    When your thesis will be finished, you could use beamer documentclass to create the presentation for its defense. For any problem, we are here to help. If you have no time to learn and you are full of doubt, just use Word (even if LaTeX is MUCH better). \begin{wackynote}

  3. What are the available "documentclass" types and their uses?

    The standalone class actually simply loads a real class but uses the preview package to reduce the page size to the content. It is supposed to be used for subfiles holding only picture or similar code which are then included into a main document. The standalone class and package allow this files to be compiled standalone or as part of the main document without adjusting the file.

  4. Writing a thesis in LaTeX

    Writing a thesis is a time-intensive endeavor. Fortunately, using LaTeX, you can focus on the content rather than the formatting of your thesis. The following article summarizes the most important aspects of writing a thesis in LaTeX, providing you with a document skeleton (at the end) and lots of additional tips and tricks. Document class.

  5. Your Guide to documentclass LaTeX: Types and options

    Table 1: LaTeX document types The first two document classes are the basic ones; if you don't know what document class you should use, always start with article.; The report class is very similar, the main difference with the article being that you can insert chapters with \chapter, while in the article class the highest element in the hierarchy of titles is the \section command.

  6. PDF LATEX Thesis Class for University of Colorado

    The overall structure of a thesis main *.tex file, using the thesis class, should be like this: \documentclass[ options ]{thesis} prologue commands \begin{document} main text in chapters, then bibliography, then appendix \end{document} Thesis Class is a variation of the basic report class of LaTeX 2ε, so it takes many of the same options. The ...

  7. LaTeX templates for writing a thesis

    The thesis template site mostly just links to available external sites with templates. It provides links to ready-to-go thesis templates of various universities worldwide. There's even a google map for viewing the templates origins on the world map. Besides LaTeX templates there are also LyX thesis templates.

  8. Guide to Writing Your Thesis in LaTeX

    Now we will explain how to set things like the title, the author name, and whether it is a masters thesis or a doctoral dissertation. Start by opening the file thesis.tex in your editor. Setting the Class Options. The first line of the file will be: \documentclass{urithesis} This tells LaTeX to use the urithesis document class with all default ...

  9. LaTeX documentclass options illustrated

    The three most commonly used standard document-classes in LaTeX include: article, report and book. A number of global options allows customization of certain elements of the document by the author. Different document-classes might have different default settings. The following post illustrates available options with figures, provides ...

  10. PDF Standard Document Classes for LaTeX version 2e

    The LATEX format only defines a number of tools with which floating objects can be defined. This is done in the document class. It needs to define the following macros for each floating object of type TYPE (e.g., TYPE = figure). \fps@TYPE The default placement specifier for floats of type TYPE.

  11. LaTeX for E-Thesis and large documents

    What is LaTeX? LaTeX is a document-formatting system based on the TeX language. The LaTeX language is a tag-based markup language for typeset documents, just as HTML is a markup language for Web documents. It provides a powerful, relatively easy-to-use, method for preparing large documents which might include tables of contents and figures ...

  12. GitHub

    cam-thesis supports all the options of the standard report class (on which it is based).. It also supports some custom options. techreport: formats the document as a technical report (here's a sample).Here is a list of formatting points in which the technical report differs from a normal thesis (see guidelines for more information):. different margins (left and right margins are 25mm, top and ...

  13. What are your favorite document classes and what ...

    The "do-it-all" classes like Koma-script and memoir are great when you actually need all those features, but I'm more of a Unix-philosophy person myself: a piece of software should do one thing and do it well. A document class should only be a document class, A package for doing X should only be a package for doing X. That way, things are modular.

  14. LaTeX Document Classes: A Comprehensive Guide

    LaTeX provides several document classes, each designed for specific types of documents, such as letter, article, report, book, amsart, thesis, slide, slides, and seminar. The "letter" document class is designed for creating formal letters. It provides a structure suitable for writing letters with options for specifying the sender's ...

  15. Creating a thesis : r/LaTeX

    Please help if you're able. So, if you want to pull separate TeX files into a single document from a root file, you only need 1 preamble and \begin{document}\end{document} environment. You would have the preamble and \begin{document}\end{document} in this root file. Inside this root file you would then pull all other documents in.

  16. PHD/Master/Bachelor Thesis: Which Document Class to Choose

    As I already mentioned in my previous question, I intend to give a LaTeX introduction to phd students. Most of them will already be using LaTeX somehow but their knowledge will be random. I want to give them a systematic approach. In addition I want to show them the best practice for common problems/tasks. The (German) slides I use were created ...

  17. LaTeX Templates

    This template uses the memoir document class to beautifully typeset a thesis. It is suitable for any high-level degree thesis such as for a PhD, Masters or Honors. The layout of the content is in a thin format to promote easy reading and the template features advanced specification of margins and trimming. The thesis boasts a professional look ...

  18. Which document class should I use for a thesis proposal?

    According to @cfr, article class is an obviously good starting point. However, if you are in control of the document layout (that is, you should not adhere to a template) and want something more fancy, I'd suggest you the tufte-latex document class ( available on ctan ). I recently wrote a proposal with the same purpose as yours, and --besides ...

  19. document classes

    23. The first question you need to answer before you embark on such an endeavour is the raison d'être for writing a new class. In many cases a small package might be a better idea. I would start from using and understanding an existing class such as classicthesis, make a list of the changes that you want and then fork it into something new.

  20. LWDA 2024 Template

    Separate the keywords with commas. \begin{keywords} \LaTeX{} class \sep paper template \sep paper formatting \sep CEUR-WS \end{keywords} %% %% This command processes the author and affiliation and title %% information and builds the first part of the formatted document. \maketitle \section{Introduction} CEUR-WS's article template provides a ...