{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
0answers
58 views

How can I make a professional looking article layout?

Elsevier and Springer and other publishers provide latex classes for authors, similar to the standard article class. But those classes don't have the full published formatting, it's just for ...
1
vote
1answer
57 views

Fixing a class file

This may be a problem with too narrow an audience for this forum, but I'm rather stuck at the moment. I'm attempting to build my dissertation document. My school's style guide is decidedly ...
3
votes
1answer
45 views

Splitting a class file

I am writing a class file and I use a lot of constants (length, colours, strings…) that I would like to take out of the cls file for cleanliness. I have tried ...
2
votes
1answer
39 views

\empheqlbrace autoscaling problem with dukedissertation document class

I am using the empheq package to group equations organized using the align command. If used in an article document class the left brace automatically scales wonderfully to group equations organized ...
0
votes
0answers
21 views

Text is too closely spaced preceding empheq environment [duplicate]

This is a follow-up question regarding a previous question: Previous Question In the dukedissertation document class the solution given in the link provided above leads to improper line spacing ...
2
votes
1answer
105 views

Interdependencies between subfig, subfigure and subcaption for journal papers

I am using informs3.cls template to write a paper. I have run into serious difficulty when making a figure with subfigures. The problem is that: subfigure package is obsolete. subfig is not ...
1
vote
1answer
25 views

How to pass title (or other parameter) to class file

I know LaTeX just to the point of making simple documents and modifying simple characteristics of a document's layout. Now I'm creating a class for a kind of document in order not to have to copy a ...
3
votes
1answer
222 views

Modular LaTeX document preambles and class files

I have been debating whether or not to ask this question as I don't intend to create an overly broad unanswerable, or solely opinion based question, but I have decided that there are probably some ...
2
votes
1answer
80 views

Conflict between TikZ and university dissertation *.cls file

When compiling a document using my university's dissertation class file and the TikZ package I receive 3 error messages: 1) Missing number, treated as zero [\xdef], 2) Undefined control sequence. ...
0
votes
0answers
30 views

Starting chapters on a right-hand page not working

As document class I'm using itsas_pfc, with the content I pasted below. I know it's big but, as I'm not very familar with LaTeX, I dont want to touch a lot the code so better if I post the entire ...
10
votes
3answers
103k 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 ...
3
votes
0answers
81 views

What software can be used to publish an internal technical journal for my company?

I'm in the engineering department of a young company, and we're playing with the idea of starting an internal technical journal. I've found LyX to be extremely powerful for writing papers, and have ...
1
vote
1answer
27 views

Generic title command used to insert a pdf or text specified as key value

I'm trying to get my own generic title command I can use either to include a pdf file as a title page, is that file exists, or include a text subdivided in keys using the xkeyval package. My question ...
0
votes
1answer
57 views

What's a convenient/appropriate way to override my document class' \paragraph style?

The document class I'm using (ieeetran) typesets paragraphs as in the following: ------- [space here] a) The Paragraph Title In Italics:[space here]The quick brown fox jumped over the lazy dog. The ...
1
vote
1answer
120 views

LaTeX for writing a fiction book [duplicate]

I am wondering if one can use TeX/LaTeX to write a full-fledged fiction book i.e. a prose, literature (not poetry) e.g. if Conan Doyle wished to write his Sherlock using TeX, what would you have in ...
7
votes
3answers
2k 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.
1
vote
0answers
246 views

Difference between oneside and twoside options of documentclass [closed]

I have edited the question for the question to be of general value. \documentclass[12pt,a4paper,twoside]{book} \documentclass[12pt,a4paper,oneside]{book} what is the difference between the options ...
2
votes
0answers
63 views

LaTeX document class for conference talk notes?

I want to typeset some notes I'm taking at talks within a conference. These are not lecture notes, and are taken online without being filled in later with information from textbooks or interaction ...
8
votes
2answers
5k views

Install custom .cls using TeX Live in local directory

Background There is a .cls file that pdflatex should use. I have read the following How to make LaTeX see local texmf tree Per-project texmf directory Create a local texmf tree in MiKTeX How to ...
1
vote
0answers
41 views

How do I make the landscape option of documentclass work?

When i use landscape option of documentclass, It only rotates the paper and leaves the text as portrait, so the text almost touches the right margin. How do i use the landscape mode properly by ...
2
votes
1answer
33 views

Mysterious horizontal rule in custom class file

I am working on a customized class file for a journal project, and the output PDF is not what it should be. Here is a link to the customized class file I have been modifying: ...
3
votes
2answers
43 views

formating lines in the paragraphs

I'm writing report in latex .But my document appear with not good style all lines in paragraphs not in same length >How to get that ? edit: \documentclass{book} \begin{document} \pagestyle{empty} ...
189
votes
27answers
169k views

What are the available “documentclass” types and their uses?

Some of the available classes of documents in LaTeX are well known and widely used, such as the article and beamer classes, while others are not so well known, such as the standalone class. I found ...
3
votes
1answer
60 views

Unused global option in KOMAscript wrapper class

I want to write several classes, most of them will use KOMA classes as base class. However I stumbled upon the problem that some options (mainly concerned with layout) are not processed if given in ...
1
vote
1answer
44 views

Installing packages in my private tree from a .ins file

I've recently created a document class and have not long finished wrapping it up into a DTX file. I have an installation file the looks like this: %% %% Licence info %% \input docstrip.tex ...
0
votes
1answer
81 views

How to prevent badly cut words in latex?

Here is the thought. I wish if there is any package or syntax in Latex that makes any arbitrary document class to cut words as less as possible? I mean for the sake of sentences at the end in a ...
0
votes
2answers
57 views

Adjust margin: Chapter title extends in left margin

I am using a custom document class and template for my thesis. Both can be found here (they are really long, otherwise I'd copy and paste): ...
0
votes
0answers
29 views

Font Identification [duplicate]

Can anyone identify the font that is used in this article? Furthermore, is this font compatible with the 'article' class? Note: Using CTRL+D within Adobe Acrobat presents a number of fonts the ...
2
votes
1answer
2k views

How to Install SVMult

I'm struggling actually with an article to send to Springer. They ask me to use SVMult class. In my case I use \documentclass{SVMult} unsuccesfully. It is impossible to send or even continue writing ...
0
votes
0answers
80 views

How to unify fonts in references in a thesis class?

I would like to know what to do in order to unify the fonts in my document, especially in the references. As you can see, there is a problem at least with the arXiv part, which is with a bigger font ...
2
votes
1answer
64 views

PNAS two column not displaying

I'm trying to use the PNAS two column class (pnastwo.cls). I include it by writing \documentclass{pnastwo} in my tex file. However, it still shows the text as one column. Why is that happening and ...
4
votes
2answers
51 views

Table ref not displaying in PNAS format

I'm using the PNAS two column style (pnastwo.cls). As per the answer here, I need to wrap my text in the article environment to have it actually display in two columns. However, this makes it so that ...
2
votes
1answer
93 views

how to create book with multiple exam question papers in chapters?

I want to bundle together multiple exam question papers in the form of a bound book to be handed out as practice problems. The exam question papers are mainly objective MCQs. Each chapter will have ...
5
votes
1answer
76 views

Using cls file - “the document class provides `book'.”

I am co-writing a book and I've been sent the publishers LaTeX template which contains their style files. At first I was getting the error ietbook.cls file not found - the following seemed to be the ...
4
votes
1answer
243 views

Comprehensive overview of the existing latex classes. Or how to choose the right class? [duplicate]

Latex classes are really useful as they provide ready and easy to use implementation of complex formatting, styling and rendering methods. In fact, it is one of the most interesting feature of the ...
2
votes
1answer
24 views

Positioning of toc, chapters, bibliography in book class

In \documentclass{mwbk or book} chapters, table of contents, bibliography default are located at some distance from the top of the page/header. Does anyone have an idea how to move their location on ...
0
votes
0answers
23 views

Extra vertical space after frame in document class {book} when a image not fit on the page

I create a two side document for a book. When I insert a image after some text and frame that not fit on the page, the text between frame and image starts in bottom of the page and created extra ...
3
votes
1answer
51 views

documentclass{book}: Page content aligned on bottom of page

I'm still a beginner on LaTeX, but at the moment I'm working on a book. I'm working with Gummi and for some reason I started my work with \documentclass{article}. As I changed the \documentclass to ...
0
votes
0answers
24 views

Change spacing of the matching environment in examdesign?

I'm using the matching environment in the examdesign class. My problem is that the left column contains longish sentences that makes the layout look a bit wonky: Is there a simple way to extend the ...
4
votes
1answer
68 views

mathcal and mathdesign with svjour class

I'd like to use mathdesign but I still want regular old mathcal. In this question it was suggested to use \let\mathcal\undefined \DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n} which works fine ...
1
vote
1answer
43 views

documentclass using amsmath, without sections

It's probably true that, thousands of times every day, someone somewhere writes a short explanation of some mathematical phenomenon, using equations, including alignment possibilities, lemmas and ...
0
votes
0answers
37 views

Create an template [duplicate]

I've been using the same format and setup of a front page in my homework's e.t.c and I've always wanted to just create an template file. (*.cls) I think? I.e. I don't want to see all my packages in ...
5
votes
2answers
221 views

How would I mix German and Icelandic diacritic characters in a single English document?

I'm trying to use the letter-classic class of the following version: \ProvidesClass{letter-classic}[2003/03/04 v1.1] The goal is to mix UTF-8 characters from German and Icelandic in an English ...
2
votes
2answers
1k views

Custom LaTeX Report Class

This is my first question and I'm new to LaTeX. I've probably jumped into the deep end here, but I found an interesting class that I want to learn how to use. First of all, I have Tex Live 2011 ...
38
votes
7answers
30k views

How to APA 6th in LaTeX?

I have previously been writing psychology manuscripts according to the standards of the American Psychological Association (APA, version 5) using the excellent apa class, with apacite managing my ...
1
vote
1answer
60 views

How can I force an abstract to fit on the title page (if there is space) using the AASTeX package?

I am trying to format a paper using the AASTeX package. When I typeset the paper with the title, authors, authors' information, and the abstract, the abstract is automatically forced to the second ...
1
vote
1answer
54 views

Best documentclass for formulary (cheat sheet)

We are allowed to bring a formulary of 2 pages to our math exam. Obviously I need to put as much content on it as possible, using the tiniest font size available. Unfortunately I haven't found a ...
0
votes
1answer
49 views

wrong placement of figure in document

I want to insert the logo of my company at the beginning of the page(document). Here is the code for the same. Unfortunately, it spills over to the next page. \documentclass[paper=a4, ...
1
vote
1answer
64 views

Getting started with cls file

I am a newbie with LaTex, and today I need to start with CPE journal. I downloaded their document guidelines, which included a CLS, a TEX, a PDF and readme file. (you can get it from: ...
0
votes
0answers
74 views

How to use autoref or cleveref when the theorem environments are in the class file?

The journal LMCS provides a style, lmcs.cls, that contains definition of theorems environments : %%% Theorem environments % the following environments switch to a slanted font: \theoremstyle{plain} ...