{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

6
votes
1answer
311 views

Setup for producing multiple documents based on the same source file [duplicate]

Possible Duplicate: Guide to managing multiple resume with one LaTeX? I would like to make a combined résumé & CV document class that can be used to generate two documents with some ...
4
votes
1answer
4k views

Option clash for package inputenc when using Lyx with LaTeX class that already uses inputenc

I use Lyx to edit document whose class declares \usepackage[latin2]{inputenc} in its .cls file. While I only use languages for which Lyx uses the same encoding it only adds the same command ...
14
votes
1answer
282 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 ...
3
votes
1answer
303 views

How to include exam class features in book class

I am currently writing up notes using the book class with three parts, one for lecturers notes, one for mine, and one for practice questions. I love the exam class for formatting questions, but I want ...
2
votes
1answer
240 views

Very simple left align document class

Is this document class an article? I can't get it left aligned. Haldane.pdf How can I achieve this simple style?
2
votes
1answer
109 views

How to change PI name and footnote in NIH documentclass?

I am writing a proposal for a class and I am using \documentclass{nih} (http://www.ctan.org/tex-archive/macros/latex/contrib/nih/). However, for the name of the PI, it shows "Donald, Bruce R." by ...
3
votes
1answer
100 views

Custom document classes with embedable external macros?

I'm fairly new to LaTeX so I don't really know much yet. Is there a way I can make a custom document class that embeds an external document containing custom macros? For example, I have right now a ...
11
votes
2answers
18k views

How to install an unavailable document class for LyX on Mac

I am new to LyX so I'm sorry if this question is really naive. I'm using LyX on a MacBook and I'm hoping to use the AEA document class on it. Since it is not available automatically, seems that I ...
0
votes
1answer
3k views

How to install the documentclass standalone in Ubuntu? [duplicate]

Possible Duplicate: How do I install an individual package on a Linux system? Is there an easy way to install the documentclass standalone in Ubuntu using apt-get? In other words, is there ...
0
votes
0answers
37 views

Updating a .cls file with MiKTeX [duplicate]

Possible Duplicate: How can I manually install a package on MiKTeX (Windows) I recently installed MiKTeX 2.9 and also installed a .cls-file. I did this by copying the .cls-file to the ...
2
votes
1answer
750 views

Which document class / package was used to typset this CV? [closed]

Could somebody point me to the appropriate LaTeX document class / package which was used to create this CV file? I know that this is border line acceptable question but I really like to reproduce the ...
9
votes
3answers
2k views

Class for my thesis (amsbook currently)… should I use memoir or KOMA-Script?

I am in the process of writing up a PhD thesis (on an Engineering topic) in the LyX environment, and I'm trying to decide what class/layout to use. I'm new to LyX & LaTeX. My supervisor seems to ...
6
votes
2answers
3k views

Keyval Error with \includegraphics: options undefined

I'm trying to make a class file to help me draft bylaws for clubs, but I'm running into a problem with \includegraphics. I want to be able to define a club logo using a \logo command (see class ...
4
votes
1answer
204 views

How to write the documentclass into a file

Suppose I have received a selfcontained LaTeX source file, main.tex. It includes a file of macro definitions, my_macros.tex, that the author included in the preamble. This macro file is under my ...
6
votes
2answers
622 views

Add option to class with command

Is it possible add at the loaded class some options? look at the example below: \documentclass{scrbook} \AddOptionsToClass{headinclude,footinclude}% something like this command \begin{document} ...
2
votes
2answers
1k views

Document Class for Briefing Notes

I was wondering whether there was a document class for briefing notes/memos in LaTeX. If there is not any what is the easiest way of making my own? PS: Sorry, I should have given an example. Here are ...
0
votes
0answers
32 views

conditional usepackage given documentclass [duplicate]

Possible Duplicate: Which document class is being used? How would I conditionally usepackage{enumitem} if the document class is memoir (but not beamer)? Could I use the etoolbox ...
7
votes
3answers
3k views

Is there a class for writing novels?

Is there a class for writing novels? I know it's trivial to you, but I really need one.
11
votes
3answers
280 views

How many LaTeX classes and packages are there (say, on CTAN)?

Well, the question is pretty self-explanatory. (I'm writing a short tutorial on LaTeX, and wanted some trivia;)).
2
votes
1answer
757 views

Change paper size in journal document class

I'm using this journal's style files and I can see that the .cls file defines paper size as a4paper in the following line: \ExecuteOptions{a4paper,twoside,final} However, compiling any document ...
0
votes
1answer
7k views

Which document class for writing resume? [duplicate]

Possible Duplicate: LaTeX template for resume/curriculum vitae I am trying to create a new resume in LaTeX previously I used Scribus but not happy with the formatting and pdf size. To ...
1
vote
1answer
973 views

What unit of measure is pt in the documentclass?

I would like to know what is the meaning of 13pt in here: \documentclass[a4paper,13pt]{article} My first guess was that it was the size of the characters, but changing the number does not seem to ...
4
votes
1answer
485 views

Creating static head title for a document class

I am making my own document class in LaTeX but I have a problem on how will I make this title appear automatically when my class is used. Should I code it this way? \AtBeginDocument{% ...
1
vote
1answer
453 views

How to redefine default macros of document class

When choosing a document class, I find they all generate some unwanted change to my document, but I'm having trouble changing the default macros to set the formatting right. In my preamble I'm ...
10
votes
1answer
7k views

Define abstract environment in book

I want to define an abstract environment for \documentclass{book}. Therefore, I copied the relevant definitions from report.cls from here into my preamble. But it doesn't work. Where's the problem? ...
22
votes
5answers
4k 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 ...
0
votes
1answer
520 views

modular title pages

How to achieve having modular title pages in latex (xelatex), to only have to change one word in the .tex file and have it changed? All the files must be defined in the project's directory, not ...
0
votes
1answer
522 views

Setting Space Between Paragraph in A Custom Class

I've been trying set space between paragraph to 3 spaces with 1.5 line spacing on text (based on my thesis requirement). Searching around, looks like everyone suggest either using the parskip package ...
17
votes
2answers
14k 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 ...
5
votes
1answer
449 views

badness messages when changing from report to book class

When I change the documentclass from report to book I suddenly get a lot of messages like this: Underfull \vbox (badness 10000) has occurred while \output is active [] Does anyone have an ...
4
votes
2answers
341 views

Can I use beamer without setting \documentclass to beamer?

I want to have a PDF that is the normal type: \documentclass[a4paper,11pt]{article} with normal TeX tables, graphs and words, but I want it such that there's beamer slides scattered throughout of the ...
23
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 ...
71
votes
1answer
5k 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: ...
0
votes
0answers
95 views

Best documentclass to use for a dissertation/thesis [duplicate]

Possible Duplicate: LaTeX templates for writing a thesis Is there a canonical documentclass for theses? I can see some Unis offer their own templates but they also include some advanced ...
8
votes
1answer
1k views

How can I get documentation for the LaTeX letter class?

I am trying out TeX and writing some correspondence in it just to learn the basic commands. For the "letter" document class, I have found this reference site: ...
2
votes
2answers
418 views

Not able to switch to any other document class than “article”

I'm using LyX with Hebrew and whenever I'm trying to change my document setting to something else than article (i.e. article(AMS)) I can't create a pdf. I'm getting these errors: Undefined control ...
7
votes
1answer
142 views

Detect number of pages in custom class

How can I make a conditional in my custom documentclass (based on article) for when the document is only one page long? I need this because when it is only one page, I don't want to put the page ...
14
votes
1answer
2k 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. ...
4
votes
1answer
555 views

Making a stand-alone image with gastex

I want to do the following: Make an image using gastex. Compile the image to a stand-alone pdf image. I.e., at the end of this stage I'll have a myImage.pdf file. Include my image in a large latex ...
12
votes
1answer
14k views

Can I disable italics in the body text of a theorem without amsthm/ntheorem?

I'm submitting a paper and am required to use a provided document class which defines its own theorem environments, so I can't use packages like amsthm or ntheorem. The class doesn't define a ...
1
vote
1answer
1k views

AIChE Journal: Format file for LaTeX

I want to submit my article in AIChE Journal and don't know how to format my manuscript with AIChE Journal format. Please help me and provide me a LaTeX sample file for AIChE Journal. I am a bit new ...
12
votes
1answer
3k 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 ...
7
votes
1answer
740 views

Is it possible to use \PassOptionsToClass into a package?

Context: I'm building a new package for my university. I need to set a lot of options for the document class, like twoside, a4paper, 12pt, or firstpagenum=chapter. I would like to set them by default ...
3
votes
1answer
3k views

Which TeX distribution? (Undefined control sequence)

(FYI I am new to LaTeX) I'm trying to compile a TeX document that someone else has given me. I had BasicTex installed, and it didn't seem to work. My friend said he uses TeX Live, so I tried ...
9
votes
1answer
2k views

Effect of the definition of a language for \documentclass

What exactly does \documentclass[american]{article} do with the definition of a language and in what case is it useful to define a language? What is the difference to ...
2
votes
2answers
303 views

Using \usebox inside a \newcommand

I have this code: %Abstracts \newcommand{\@spanishabstractname}{{\bfseries Resumen}} \newsavebox\@sabstract \newenvironment{spanishabstract}{% ...
3
votes
1answer
1k views

Using fleqn option in a new LaTeX class

I am creating a new LaTeX class, necessarily the equations must be aligned to the left so I use the file fleqn.clo in the class code. The problem is that when using the equation environment the result ...
9
votes
2answers
2k views

Changing the text size is not working

I am an eighth grader that needs some help. I am a noob at anything TeX or LaTeX, and am just starting out. I am using USBTeX, just in case that matters. I cannot seem to change the text size in ...
1
vote
1answer
2k views

acmsmall.cls not found [duplicate]

Possible Duplicate: How can I manually install a package on MiKTeX (Windows) I am writing this because I need a more efficient way to use the acmsmall class. The problem is when I add the ...
2
votes
1answer
234 views

Trouble with latex and dvips with an FSTTCS documentclass

Following from my other question Which DVI viewer on linux?, now that I can easily view DVI files I came to the conclusion that the unusual document class I used for my document defines some ...