{document-classes} is for questions relating to the document class of the TeX file. This sets up various document-wide formatting elements.

learn more… | top users | synonyms

191
votes
11answers
42k views

How to create posters using LaTeX

I want to create posters for my poster presentation on a conference. What tools or LaTeX classes are available for preparing posters ?
134
votes
23answers
96k views

What are the available “documentclass” types and their uses?

Some of the available classes of documents in LaTeX are well known and widely used, such as the article and beamer classes, while others are not so well known, such as the standalone class. I found ...
74
votes
1answer
23k views

Regarding the `book`, `report`, and `article` document classes: what are the main differences?

What are the main differences between the book, report, and article document classes? I am interested in the following: visual differences in the final document; differences in the way the ...
64
votes
1answer
4k views

Cute (child-friendly) document in LaTeX

My girlfriend is teacher at primary school, she's new using LaTeX and she needs to make a "cute document" for kids, but I don't know how change the following items to make them look nice for the kids: ...
57
votes
3answers
88k views

\subtitle doesn't work in article document class

I'm relatively new to TeX but until now I used mostly the beamer class. There I did this: \documentclass{beamer} \title{title} \subtitle{subtitle} \author{name} \date{\today} \begin{document} ...
49
votes
4answers
5k views

document class for a restaurant menu

I'd like to typeset a restaurant menu. What would be a good document class or package to use? I'm hoping for an answer similar to this thread: Survey Document Class or Package?
49
votes
6answers
2k views

Which document class is being used?

Is there a way to programmatically determine which document class is in effect? I'd like to be able to write conditional macros that behave differently depending on which document class is currently ...
43
votes
5answers
8k views

A cookbook in LaTeX?

I am interested in making a cookbook in LaTeX. Each page will contain a recipe, including ingredients, instructions, and a photo of the finished food. Has this been done previously? Where do I ...
42
votes
15answers
9k views

What does the draft mode change?

I wonder which changes are made by the draft option? That means what will be changed by calling it as global class option (\documentclass[draft]{<class>}) or locally for a single package if it ...
42
votes
2answers
3k views

Why should the minimal class be avoided?

In a comment to my answer to Drawing a rectangle along the border of a circle, Peter Grill said that he read that the minimal class should not be used for a Minimal Working Example. I wonder why, and ...
36
votes
3answers
10k views

Most useful additions in KOMA-Script?

(Background: I'm a beginner who will mostly use LaTeX for university articles and reports, but no math. Also, as I reside in Canada, the German typography conventions, which I understand KOMA-Script ...
35
votes
3answers
42k views

Where to put the institute information in the article document class?

I've seen in other document classes that one can input the authors' institutes via special commands, for example in revtex4 I can put \title{Aggregation According to Classical Kinetics---From ...
34
votes
6answers
21k views

How to APA 6th in LaTeX?

I have previously been writing psychology manuscripts according to the standards of the American Psychological Association (APA, version 5) using the excellent apa class, with apacite managing my ...
28
votes
2answers
1k views

Classes and packages – what's the difference?

Could someone explain the difference between classes and packages? We call prosper a class and amsmath a package. I couldn't find out the difference.
23
votes
3answers
9k views

Preparing cheat sheets

Are there any templates, document classes for preparing cheat sheets? If not, what would make it easy to produce such documents?
22
votes
5answers
6k views

How to write a LaTeX class file for my thesis

I want to design a new LaTeX for my college thesis, so that all students could use it. I have decent understanding of how LaTeX works. I am looking for some nice article explaining how to write a ...
22
votes
3answers
1k views

Classes for LaTeX documentation

I wonder which classes are available to typeset LaTeX manuals. Until now I have used ltxdoc. I’m satisfied with its functions but not with its layout/design and it’s not really flexible when writing ...
20
votes
5answers
3k views

Wrong A4 measurements?

I noticed that the paper size invoked by a4paper is not working right in my examples: \documentclass[a4paper,11pt,oneside]{article} \begin{document} Test \end{document} I checked with Preview.app ...
20
votes
3answers
2k views

Is there a documentclass that produces 'endless' pages?

Does anybody know of a documentclass that produces a page that has a fixed width and a variable length, depending on the actual content that needs to fit on the sheet? I'm trying to get something like ...
18
votes
3answers
1k views

Customizing LaTeX - create a document class or a package?

Are there general rules for when to create a document class vs. creating a package to customize LaTeX? Does one have benefits over the other? My specific need is to create a customized page layout, ...
18
votes
2answers
548 views

typesetting in the style of Turing's famous “ON COMPUTABLE NUMBERS”

Maybe an unusual question but I love the typographical style of this text. http://classes.soe.ucsc.edu/cmps210/Winter11/Papers/turing-1936.pdf I am an art student writing a research paper. I would ...
17
votes
3answers
2k views

What is the advantage of using minimal over article when creating a standalone graphic?

What is the advantage of using minimal document class over article document class when creating a standalone graphic? Bonus question: Before I have time to make a test by myself, is there anybody ...
16
votes
5answers
4k views

Are there alternatives to Beamer for slides ?

I like Beamer and I use it but I wanted to check if there other classes for slides or presentation purposes to consider seriously when starting to write a presentation.
15
votes
8answers
5k views

What are your favorite document classes and what do you use them for?

I'm using the TeX Live distribution and I've noticed that there are a lot of document class files (291 actually) for different things (books, math, thesis, presentations, etc). What are your ...
15
votes
3answers
420 views

What's the use of the @compatibility condition?

All of the standard LaTeX document classes (article, book and report) declare some basic functionality and parameters based on the condition @compatibility. Here's an extract from from article.cls ...
15
votes
1answer
703 views

What document class should I use for a variable size image generator

Currently, whenever I want to make a math image, I head over to my Wikipedia Sandbox and use the WP math tag(which uses TeX). I then copy the image from the preview. I have TeXmaker (from USBTeX), ...
14
votes
4answers
3k views

Setting class options after \documentclass

Context: I'm working on my thesis, and the formatting requirements are pretty godawful. In addition to the version I submit to the grad school, I would like to also create a properly formatted version ...
14
votes
3answers
559 views

LaTeX document without \documentclass

I need to create a really simple document template for other people to fill in and compile (e.g., they need to provide a name and email address). I could distribute it as a .cls file and a template ...
14
votes
1answer
245 views

Why do AMS document classes incorporate amsthm rather than loading it?

Why do AMS document classes incorporate the amsthm package, rather than loading it using the usual \RequirePackage mechanism the way they load amsmath and amsfonts? The document classes even ...
14
votes
2answers
1k views

Is there a document class optimized for small screens (i.e. phone screens)

I happen to read more documents on my (android) phone, including scientific papers from the arXiv (where the TeX source is available). Obviously, such a narrow screen is not well suited to read papers ...
14
votes
1answer
341 views

Leveraging a dynamic preamble to generate multiple output formats

Background The diagram below shows an architecture for generating books using a dynamic preamble. The top part of the image shows the database relations between a book theme and its preamble. The top ...
13
votes
1answer
2k views

Chapter on the right side - How to turn it off?

As a documentclass I use book. Chapters always start on the right hand side. How can I turn it off? I don't want to have empty pages. I don't care on which side starts new chapter.
13
votes
3answers
583 views

How to make LaTeX not “Look like Lab Notes” [closed]

I often use LaTeX for general writings, as well as for my Lab and lecture notes. (Often, but not always via LyX). A large portion of this is RPG homebrew. One of my friends (who wouldn't know what ...
13
votes
1answer
1k views

Change document class per page

Let's say I have a document that has many pages and some pages have different formats. For example, most of the pages are fine with \documentclass{article} but there may be pages in the middle that I ...
13
votes
2answers
1k views

What's the difference between a class and a style?

What are the actual differences between the two? I am new to LaTeX and I need to create a custom "look & feel" -- should I be looking into making a class or a style?
13
votes
2answers
4k views

Best documentclass for class notes

Is there a documentclass specificaly for taking notes in a class? If not, what does the community see as things which should be included in such a class (which I'd be happy to write)? Edit: This was ...
13
votes
0answers
308 views

What are the LaTeX book classes? [closed]

From time to time there are requests for a list of "all" LaTex book classes. Is there a comprehensive list of all of them? Here is a list of book classes: book bookest extbook memoir scrbook ...
12
votes
3answers
562 views

Conflict between TikZ and university thesis class file

When compiling a document using my university's thesis class file and the TikZ package I receive an error message (missing number, treated as zero). Would someone know how I can solve this problem? ...
12
votes
2answers
1k views

Doing something only when the draft option is on?

I would like to do some stuff that is only enabled when the draft option is given in \documentclass[draft]{article}. How would I go about doing this?
12
votes
2answers
2k views

Placing items before \documentclass

When looking in books or at sample code, I always see \documentclass appearing first. Is that absolutely necessary? I have created some test code which seems to compile fine: \def\SetClass{article} ...
12
votes
2answers
442 views

How to use showexpl with an external class?

The showexpl package defines LTXexample environment which allows to define a latex code and shows its result side by side. The problem is that it uses the same document class where the LaTeX code is ...
11
votes
2answers
7k views

\flushbottom vs \raggedbottom

I use \documentclass{book}. If I use \flushbottom, I get messages of the sort Underfull \vbox (badness 10000) has occurred while \output is active []. See question. These messages disappear when I ...
11
votes
3answers
6k views

Is there really something wrong with using the caption package for \ContinuedFloat?

In my question How to create an unnumbered algorithm with a caption?, a nice solution was suggested using \ContinuedFloat, from the caption package. However, when I use it, I get: Package caption ...
11
votes
1answer
1k views

Which one is it: a4paper or paper=a4?

I'm using XeLaTeX mostly, and I never know what to put into \documentclass[]{}. Usually I use something like \documentclass[a4paper, 11pt]{scrartcl}. But I never know whether it's a4paper or paper=a4. ...
11
votes
3answers
3k views

Is there a way to use a document class/package from another folder?

I am building a document class and a set of packages to be used as templates for various documents. I'd like to aviod having to copy those over to another folder every time I use them, but I'd also ...
11
votes
2answers
272 views

How to store the document's style file in a subdirectory?

I have a journal specific document style as two files svglov3.clo and svjour3.cls. I don't want to install them, so I keep them in the article's current directory. But I like to keep only the files ...
11
votes
4answers
535 views

Where can I find some rich book classes?

I find the standard book class, and others like tufte or memoir, a little "sad" in the end. I mean, look at technical books at a library: they have fancy headers, colors, graphics at page borders, ...
11
votes
1answer
2k views

Roman Page Numbering for TOC in Article

I'm writing something with the article class, and I'd like to have the table of contents pages numbered with roman numerals, and in addition and most importantly: to have the arabic numbers reset ...
10
votes
4answers
2k views

How can I generate just pgf/TikZ images, not placed a whole page or slide?

I'd like to generate only a pgf/TikZ image with LaTeX, but so far I just managed to insert it into a document. The problem is that so far I can only get a page/a beamer slide rather than just the ...
10
votes
2answers
150 views

fleqn.clo vs fleqn.sty

Please have a look at this MWE: \documentclass{JHEP} \usepackage{fleqn} \author{me} \abstract{a} \title{t} \begin{document} \begin{equation} a = b+1 \end{equation} \end{document} however it ...