{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

4
votes
4answers
196 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
533 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
105k 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.
5
votes
2answers
2k 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
224 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).
53
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
454 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
34k 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
7k 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
622 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
890 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
256 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
540 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
529 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
453 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
369 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 ...
3
votes
2answers
2k views

How to make a portfolio with LaTeX

I've been surfing the CTAN website but I haven't been lucky. Does anybody known an appropriate document class in LaTeX to produce a Graphic Designer portfolio? I wouldn't like to reinvent the wheel. ...
4
votes
1answer
221 views

converting documentclasses into environments: is it possible?

Rewritten question. For my phd-project i need to quote screenplays. I would like to keep the screenplay layout in my thesis. I know there is the document class called screenplay. Now i am wandering ...
1
vote
1answer
899 views

How to configure fancyhdr depending on the document class [duplicate]

Possible Duplicate: How to configure theorems depending on the document class? I would like to have if the book class is loaded but if the article class is loaded. Can I do this with some ...
9
votes
1answer
1k views

Combining tufte handout with classicthesis article

I am a sucker for the large margins in Tufte-inspired classes, and in classicthesis. However, I want to write an article with a Tufte layout (example), but with the classicthesis ...
4
votes
2answers
575 views

How to configure theorems depending on the document class?

I would like to have \newtheorem{teo}{Teorema}[chapter] if the book class is loaded but \newtheorem{teo}{Teorema}[section] if the article class is loaded. Can I do this with some sort of ...
2
votes
0answers
496 views

fonts (class, styles) for new academic journal [closed]

I am involved with starting a new academic economics and finance journal. Thus, the world is our oyster---we can choose whatever looks we want to choose. Since I have a role, LaTeX is going to be our ...
0
votes
1answer
474 views

Which documentclass provides typesetting a very large poster? [duplicate]

Possible Duplicates: Really large poster in a0poster or other package How to create posters using LaTeX I want to create a poster (.PDF file) with these dimensions: Width: 3 meters ...
8
votes
1answer
5k views

LaTeX template for Lecture notes

Looking for some good templates for creating lecture notes to be given to students. Mainly for computer science subjects. More frequently need short lecture notes.
0
votes
1answer
234 views

How do I set document options at compile time? [duplicate]

Possible Duplicates: Conditional Compiling and \documentclass Passing parameters to a document Changing LaTeX headers via a makefile I'm setting up a Rakefile for a LaTeX document and I'd ...
1
vote
1answer
244 views

Current document class name [duplicate]

Possible Duplicate: Which documentclass is being used? Is it possible to get the name of the current document class name from a package being used by that document? An example of what I ...
5
votes
3answers
330 views

Is it OK to define a macro before document class?

\def\A{E=mc^2} \def\B{% I can find a tool to convert PDF to EPS in my neither bathroom nor kitchen.} \documentclass{article} \begin{document} $\A$ is my favourite equation and the following is my ...
1
vote
1answer
102 views

How to configure a custom class such that consumer settings must be loaded before the class settings?

My custom class The purpose of this class is to create a single PSTricks diagram in a tight paper size. \ProvidesClass{pst-xport}[2011/07/23 v 0.01 class for creating a single PStricks diagram] ...
17
votes
1answer
4k 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.
2
votes
2answers
77 views

Is there a simple way to know a list of article settings that are different from minimal settings?

I want to know the differences in settings between article and minimal document classes. I don't want to do this task by comparing their source codes manually. Is there a simple way to know a list of ...
8
votes
2answers
134 views

If you know errors occurred in article & minimal, which one will you use for the subsequent attempts in troubleshooting?

Assume that For the first and second investigation you know errors occurred when using article and minimal. Which one will you use for the subsequent investigation, article or minimal?