{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

1
vote
1answer
221 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
326 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] ...
14
votes
1answer
3k 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
133 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?
2
votes
2answers
2k views

documentclass not being recognized

My tex document has the following as the first two lines: \documentclass[letterpaper,draft,12pt]{article} \begin{document} When I run: latex civil.tex I get the following output: This is ...
2
votes
1answer
1k views

Document class downloads for LyX

I'm looking for document class downloads for LyX, i.e. .cls and .layout files for multiple purposes, mostly life sciences article writing. Anyone familiar with a source for a collection of those?
30
votes
2answers
2k 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.
15
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?
20
votes
3answers
3k 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 ...
1
vote
1answer
492 views

Short documents

I need to write a short informal note-type document with a description of my new idea and a few equations - 2 pages max. I use the article document class, but it seems to be an overkill - the title ...
0
votes
0answers
145 views

Export Latex to an png/pdf file [duplicate]

Possible Duplicate: Compile a latex document into a png image that's as short as possible. I once found a class on the Internet which allowed to export an latex image to an ...
49
votes
5answers
10k 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 ...
5
votes
1answer
598 views

CurVe document class: alignment issue with subrubrics

I have the following issue with the alignment of subrubric titles in a résumé written with the CurVe class by Didier Verna. When the rubric & subrubric titles are aligned left via options in the ...
6
votes
1answer
1k views

Looking for LaTeX templates.

where can I find a 'professional' document templates in LaTeX. I need two different one to the other user documentation and second for developer documentation. I know that I can safely create it ...
5
votes
2answers
2k views

Setting font size AFTER \documentclass

I've seen a few related questions, but can't find one that actually answers this question. What I want to do is to specify the font size AFTER \documentclass. I don't want to change the command line, ...
18
votes
5answers
5k 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
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 ...
6
votes
2answers
353 views

How do you determine what class to use?

So I am creating documents that have a mixture of paragraphs of text intermingled with numbered questions. I have been creating these using the 'exam' class. However, I decided to set the default ...
7
votes
3answers
5k views

Templates for NSF grant applications

Are there any good LaTeX templates or classes available which comply to NSF formatting requirements? In particular, I'm looking for a template for the "biographical sketch."
2
votes
1answer
205 views

Documentclass user macros

I wanted to create a documentclass for a complex template. I ran into the following problem: I want to have user macros to store content in boxes which are then displayed by the template in the ...
8
votes
3answers
1k views

Creating a complex template

I would like to create a complex template for documentation as a document class. I should be able to define my text fields (for instance, \documentNumber, \projectTitle). My class should be flexible ...
5
votes
3answers
3k views

How to remove blank page without modifying book, chapter, or other package specifications

I am creating a TeX document to be distributed to a class and it must use a style file, es150.sty, provided by the professor. For reasons too verbose to get into here, let's assume that es150.sty is a ...
3
votes
4answers
13k views

Installing a class

I created a new class file to use. I have put the .cls file in the same directory as the original cls files (report, book etc) and im 100% sure the names match. The directory for me is: C:\Program ...
11
votes
3answers
5k views

Difference between \LoadClass and \LoadClassWithOptions

Can anyone tell me the difference between those two commands? Edit: Thanks for the answers, but I didn't get the clue yet. Here's an example: test.tex \documentclass[a4paper,oneside]{mytestclass} ...
4
votes
2answers
491 views

Packages for writing feedback forms

I'd like to make a document that would leave ample room for the reader to fill in answers on the sheet. (nothing fancy and interactive, just whitespace for writing on the printed version) What ...
30
votes
3answers
13k 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?
9
votes
1answer
892 views

Can Lyx syntax files override document class defaults?

I'm editing a client's Latex file in Lyx, where the client has used a document class not supported by Lyx. In these cases, I use tex2lyx with either -c article or -c report to ensure Lyx can import ...
1
vote
2answers
655 views

Japanese flashcards

I wanted to make some flashcards for learning japanese. I've found the flashcard class and some japanese output package (ucs, CJK). But they don't seem to work together. I've coded the following as an ...
6
votes
2answers
6k views

article vs. report

\section{Section title here}} \subsection*{The subsection without numbers, but want it to appear in TOC} \addcontentsline{toc}{subsection}{The subsection without numbers, but want it to appear in TOC} ...
6
votes
4answers
8k views

LaTeX Errors: “\RequirePackage or \LoadClass in Options Section.” AND “File 'article.cls' not found.”

Would you be so kind to help me in resolving the following issue? I tried to convert the text using Latex 2 as it was requested by the publisher, but the document generation failed with the following ...
4
votes
2answers
1k views

Abstract page problems

I am using a report document classe. I have an abstract and an acknowledgement sections before the toc. This is my definition for Acknowledgements. I took it from someplace in the web, so there might ...
2
votes
1answer
2k views

Hyperref package and ACM class.

I am using a Modified acmtrans document class. It was modified to add a custom journal. I am having problems using the hyperref package. My file has the following in the preamble: ...
3
votes
1answer
429 views

Split Journal Paper into Multiple Parts [duplicate]

Possible Duplicate: How can I reference a table/figure/section in another document? I am writing a journal paper that has grown to 30 pages long, so I would like to split it into two 15 ...
7
votes
2answers
3k views

Setting up a LaTeX document using the Uggedall or tufte-latex templates

I’ve used LaTex before for a while, but (1) it’s been ages, and (2) I’ve only really had to import minor packages for a basic template. Having come across templates/classes like Uggedal’s and ...
12
votes
2answers
507 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 ...
70
votes
3answers
110k 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} ...
13
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 ...
6
votes
1answer
661 views

Temporarily changing document class in LaTeX/resetting pdfLaTeX

How can I temporarily cause pdfLaTeX to forget everything that I've told it and start with a new document class? I've modified the example environment from the lshort document: ...
10
votes
3answers
4k views

Survey or questionnaire document class or package?

I like to create surveys and questionnaires, what would be a good \documentclass or package to use?
9
votes
2answers
15k views

Table of contents using article and report classes

When I make a table of contents with the article and report classes the results are different. I have two questions. Why does this happen? How can I make the report ToC look like the article one? ...
0
votes
1answer
1k views

\subparagraph{name} not recognized in IEEEtrans document.

The information I have found on the web indicates that the \subparagraph level should be available in an IEEEtrans article. I'm using TeXLive 2009, pdflatex. The relevant preamble line: ...
5
votes
2answers
582 views

What LaTeX packages are available for ISO quality system documentation?

I wonder if there are any use cases of TeX/LaTeX for ISO quality system documentation. I understand that the basic classes would suffice for logical document structuring, but I'm just wondering if ...
16
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 ...
9
votes
3answers
2k views

Combining Document Classes

I have a complicated document containing files with a letter as the first document followed by several article type documents. I have done this by setting up a master tex file with all the frontpeice ...
3
votes
1answer
116 views

How do I read the texdoc for the letter document class?

I am reading the texdoc for the letter document class. But it doesn't say anything about getting started. I think this is a commented source code document. Yes, it lists all the features of the letter ...
8
votes
1answer
222 views

Where are the texdocs for the built-in LaTeX document classes?

I can texdoc for the following classes: letter slides proc But, where are the texdocs for the following built-in document classes? article report book
8
votes
1answer
962 views

Natbib author-year citation style in the tufte-book class

I'm using the tufte-book class and I like it so much! However, I'd like to have the references in the natbib-way, so that I can use both textual (\citep) and parenthetical (\citep) citations. I ...
4
votes
1answer
1k views

I get an error when using `\ExecuteOptions` together with `\usepackage{geometry}`

I'm writing a custom document class. It's kinda simple, but it will use the geometry package to set page size, orientation and margins. However... Whenever I use that package, the \ExecuteOptions ...