{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
2answers
806 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
253 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
523 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
11k 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
495 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
424 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
354 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
1k 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 ...
11
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
4k 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
199 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
887 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
541 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
493 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
453 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
229 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
233 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
327 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] ...
15
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
2k 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?
21
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
525 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 ...
50
votes
5answers
11k 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
617 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, ...
19
votes
5answers
6k 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
355 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
209 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
15k 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 ...
12
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} ...