{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

52
votes
15answers
17k 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 ...
9
votes
1answer
354 views

Which document class/package produced this document? [closed]

I'm very curious as to what document class could produce a document like this. I'd like to use it myself but I don't have access to the TeX source. Has anyone seen something similar (or the same)? And ...
3
votes
1answer
298 views

create a self-contained source?

Is there a simple way to export a self-contained source for a large LaTeX document? I would like it to export all of the class files, etc as well as the sources that I have written in order to create ...
1
vote
1answer
736 views

use beamercolorbox in book

How can i use beamer commands and environments like beamercolorbox in other document classes like article or book? Is there an alternative to beamercolorbox in another package or document class?
4
votes
3answers
387 views

What is the easiest way to mix document classes in the same PDF?

I would like a letter at the start of my report, but it would be a different document class. Could I use the same .tex file, with \begin{document}\end{document}\begin{document}\end{document}?
10
votes
1answer
4k views

Can \documentclass{minimal} create documents with nonstandard page sizes?

I need to create a document for a square piece of paper. I've been trying to use \documentclass{minimal}, but it doesn't work. This is my code: \documentclass{minimal} \special{papersize=14in,14in} ...
6
votes
2answers
890 views

If document class is equal to something then do not use package

I am trying to create a file which includes common packages and macros I use. It is something like this. commonDefinitions.tex \interdisplaylinepenalty=2500 \usepackage{algorithmic} ...
1
vote
0answers
100 views

.cls vs .sty files [duplicate]

Possible Duplicate: Classes and packages – what's the difference? Here is a simple question with a little background. My company just started using LaTeX for our documents, and there ...
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 ...
9
votes
1answer
583 views

How do I configure fonts and package options for different engines?

I would like to be able to rely on the code in my document class to respond correctly to whether it is being rendered using pdfLaTeX or XeTeX engines. The editor I'm using (LyX) does this using ...
4
votes
1answer
6k views

LaTeX Error: File 'baposter.cls' not found

It appears when I try to build file in MiKTeX 2.9 I get LaTeX Error: File 'baposter.cls' not found Type X to quit or <RETURN> to proceed, or enter new name.(Default extension:cls)) Enter file ...
0
votes
1answer
397 views

conditional commands in .sty file, conditional on \documentclass [duplicate]

Possible Duplicate: Which document class is being used? I'd like to include conditional formatting in a .sty file, conditional on the document class of the document that invokes it. For ...
4
votes
1answer
4k views

How to make the moderncv templates from CTAN work in Ubuntu 11.10

I am trying to use moderncv on Ubuntu 11.10. The class is in texlive-latex-extra but it seems to be an old version and it does not recognize some new commands. I would like to either upgrade the ...
8
votes
1answer
292 views

An indentation problem with TikZ nodes and foreign document classes (babel)

I'm new to LaTeX and i'm struggling with TikZ, especially flowcharts. I'm dutch and therefor I'm using the documentclass 'rapport1': \documentclass[11pt]{rapport1} \usepackage[dutch]{babel} This ...
3
votes
1answer
272 views

Class relationship between two given .cls file?

The larger context of my question is about installing a document class in Lyx. I've done all the usual 'texhash' and 'reconfigure' thing, but just realize that I need to create a layout in Lyx for ...
4
votes
4answers
197 views

Is there an easy way of ascertaining what packages are loaded by classes and other packages?

My question (or questions, strictly, because I have two) are prompted by an answer to one of the questions listed in this week's newsletter which indicated that there was no point in loading the ...
5
votes
2answers
546 views

Switching an existing document to memoir. How much trouble is it?

I'm really growing fond of the memoir package. I have a large document in which I use the report documentclass. How much trouble would it be to switch to memoir; i.e. what would I 'probably' need to ...
50
votes
2answers
4k 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 ...
10
votes
3answers
109k views

What is causing undefined control sequence?

I'm getting this error: ! Undefined control sequence. l.64 ...p(- \frac{E_j - E_i}{k_B T}) & \quad \text {: E_j > E_i}\\ ? ! Undefined ...
5
votes
1answer
1k views

How can I see why a file isn't compiling somewhere else, if it does in my machine?

I'm attempting to submit a paper using the Elsevier Editorial System in LaTeX, and in the final step before submission it builds a file with information, the cover letter, and hopefully the ...
2
votes
2answers
1k views

Settings options doesn't seem to work with the achemso document class

I'm submitting a paper to a non-ACS journal that nonetheless follows most of the ACS formatting guidelines. So I'm trying to use the achemso document class and setting a few options to meet the ...
8
votes
1answer
14k views

How do I put chapters into a LaTeX document?

I used the following LaTeX tag to make a chapter \chapter{title here} but it did not compile. The LaTeX compiler was talking about Undefined control sequence How can I get over this error?
1
vote
2answers
1k views

LaTeX Class / Package / Template for programming project report

I'm looking for any useful class or package or style (template) to help me write up a programming project report. I've found many LaTeX tutorials but I found it quite hard to start from scratch.
6
votes
2answers
3k views

scientific report two columns

While looking for something on this site I accidentally found a document class which is perfect for a scientific report with two columns layout. Unfortunately I forgot its name. Could someone point ...
4
votes
1answer
225 views

What is the document class / package of this pdf file? [closed]

Does anyone know the name of the package / documentstyle used here? I think the style must be public, because I saw another file by another author using it (but I can't publish this document here).
55
votes
4answers
7k 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?
1
vote
1answer
456 views

is it possible to fake the amsart class format?

I often use the amsart documentclass. I like it because it is very compact (it also seems to be an industry standard in my area). What I don't like about it is that I'm not able to use kpfonts or ...
94
votes
1answer
35k 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 ...
9
votes
2answers
4k views

Can I change documentclass in the middle of a document?

A school I'm applying to requires me to combine my research statement and my CV into a single document. However, my research statement is in the amsart document class while my CV is in the article ...
12
votes
2answers
3k 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} ...
9
votes
3answers
7k views

Modify footer used by elsarticle.cls

I would like to modify the footer used by Elsevier's elsarticle.cls without editing the class file directly. I would like to eliminate the footer on the first page that states "Preprint submitted to ...
6
votes
1answer
8k views

Making document classes in LyX available

I'm writing a letter in LyX, and I want to choose a document class for it. (I don't like the default letter.) Looking at Document -> Settings -> Document class, I see that most classes are ...
13
votes
2answers
2k 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?
4
votes
2answers
638 views

How was this TeX showcase ConTeXt book made?

I found a very interesting book design in the TeX showcase (pp.pdf/pp.tex): http://www.tug.org/texshowcase/ Does the source really have enough information inside to produce such nice formating? Can ...
11
votes
3answers
10k 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 ...
6
votes
2answers
924 views

What paper dimensions to use for printing with the octavo class?

I am working on a fiction novel. I want to print this in a comfortable size for carrying and reading. I will have the pages printed, cut to size, glued together, with heavy paper added to the outside ...
3
votes
1answer
258 views

Problematic interaction between ltxdoc and tikz matrices

I have been spending some time trying to solve a problem in the interaction between TikZ matrices and the ltxdoc document class. While using ltxdoc, I cannot use the |[options]| syntax at the ...
3
votes
1answer
545 views

Issue on changing style in LaTeX

Currently I have a TeX document, written using sig-alternate.cls class file. I need to change it and use llncs.cls. However, when I attempt to compile the document with the class changed, I get the ...
5
votes
3answers
12k views

Document class not available

I'm new to LyX, and using LyX 2.0 for Windows. When I select a template from "File"->"New from template" it shows a alert with title "document class not available" containing the text like ...
0
votes
0answers
79 views

If-then in a document style for specific document classes [duplicate]

Possible Duplicate: Which documentclass is being used? I want to make a style that would include some specific instructions if the document is using the memoir class, but I don't want those ...
16
votes
3answers
544 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 ...
1
vote
1answer
460 views

Where can I get siamltex document class from in Debian Linux?

I just got a latex document with siamltex document class from my collaborator. Is this document class packaged in Debian Linux?
6
votes
2answers
376 views

Selecting A8 Paper

As I frequently use \documentclass[a4paper,12pt]{article} I though a simple change could select the A8 paper: \documentclass[a8paper,12pt]{article} But I get a warning saying the a8paper option ...
11
votes
1answer
2k views

How to convert LaTeX 2.09 to LaTeX2e

I'm trying to convert a LaTeX 2.09 template to LaTeX2e (pdflatex): http://www.yisongyue.com/resume/ How should I convert this line ? \documentstyle[hyperref, margin, line]{res_yy} I don't know ...
12
votes
4answers
3k 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 ...
6
votes
1answer
3k views

Forcing new chapter not to start on an odd page [duplicate]

Possible Duplicate: Chapter on the right side - How to turn it off? I am using a document class amsbook which I like very much, except for one thing: each new chapter starts on an ...
9
votes
1answer
5k views

Document class for a simple one-page assignment

I'm looking for a LaTeX document class which would fit a simple one-page assignment with mostly text. I'd still want sections and subsections like those in article, but would like: more vertical ...
3
votes
1answer
2k views

Document Class for Recipes [duplicate]

Possible Duplicate: A cookbook in LaTeX? I'm trying to find a package I can use to typeset cooking recipes. I would especially like to find something that keeps the ingredients to the left ...
5
votes
1answer
2k views

Documentclass for Homework Problems

Are there any good documentclasses on CTAN (or built in to some distributions) that are designed for turning in homework problem sets? I've managed to find one, but it's a bit awkward. Are there any ...
1
vote
0answers
1k views

How can I install a .cls file with MikTeX? [duplicate]

Possible Duplicate: How can I manually install a package on MiKTeX (Windows) I am new to LaTeX, but need to write up a report pretty soon. Anyway, the instruction for authors state that I ...