{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

2
votes
0answers
21 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 ...
5
votes
1answer
41 views

Need help indexing subfigures: reference bugs using `subfigure` and `subcaption` not compatible with specialized document class

I'm a PhD student currently coding my dissertation into Latex. My school developed a customized document class that they strongly recommend using for compliance with layout and formatting standards. ...
0
votes
0answers
46 views

Making a homework template

Let's say I wanted to make a homework template (for math classes). Should I make a .cls file and use that as my document class, or use the standard article class and just make a .sty file to define ...
1
vote
0answers
21 views

Using refman document class within a different document class

I want to include a reference manual for my code within a document that uses the report class, in the appendices. Is that possible?
3
votes
1answer
23 views

How to change the behavior of a package via the class options?

I'm writing a document class based on the book class. In this class I have some code as below: \RequirePackage[total={10cm,18cm},paperwidth=16cm, paperheight=23cm]{geometry} ...
0
votes
0answers
33 views

Unifying article and report

I'm formating my thesis. When writing drafts I used documentclass article and now I'm migrating to a template which uses documentclass report. I don't like to manualy change \section to \chapter and ...
1
vote
0answers
79 views

.cls file not found

I'm running Windows 7 and have to run a special class file for my thesis. I've tried holding the file 'tutthesis.cls' in the same directory as the .tex file itself, but that didn't work. I also tried ...
0
votes
1answer
69 views

Creating static numbered sections in a document

I am thinking of writing a class file for this, but a basic problem is stumping me. I have a document with numbered sections in which a particular section (say section 23) always contains a certain ...
3
votes
1answer
19 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
12 views

Document class breaking references [duplicate]

I am using this document class for a resume, however when I include the class, I cannot reference labels. I get the error: LaTeX Warning: Reference `LastPage' on page 1 undefined As you can see I ...
7
votes
1answer
646 views

How can I make my LaTeX paper look like this?

I've seen MANY papers created with LaTeX that have the following format: In particular, I like the font sizes and the way that section titles are centered and in all caps. Does anyone know if ...
3
votes
0answers
51 views

Single format, free (e.g. LPPL licenced), journal article documentclass with existing corresponding MS Word templates

We are planning a new open access scientific journal. I need to write Author's Guide, and hence prepare journal template - format. I want to have MS Word and Latex templates. Even though I wrote ...
1
vote
0answers
45 views

Create a document cover using style class

I'm wanting to create a latex class called projeto.cls that should create this report cover image below, which has the following headers and footer for all reports generated. The fields defined entrie ...
7
votes
2answers
128 views

Where can I find definition of starred version of \chapter command to redefine it

General question I need to redefine how starred version of \chapter command (that is \chapter*) works in book class. I found definition of not-starred version of \chapter command in book class: ...
1
vote
0answers
64 views

Warning about writing .cls files in texpad

I'm using texpad to typeset my documents. Everytime texpad compiles a document, a popup warning about denied writing permissions on the .cls file appears. Since I'm new to LaTeX, I do not know how ...
3
votes
1answer
51 views

Why does \maketitle break my document?

I have a paper to submit in an hour, and have an issue with the \maketitle command. The template provided to me does not work, and the instructor has told me to figure it out on my own. Here is a ...
4
votes
1answer
73 views

How to print without the image

I want to print a document without print the images too: just the position of them so the printer make the process faster (I have some big image and i don't want to spend ink and time to print them). ...
3
votes
1answer
53 views

Issue with custom styles

I am in the middle of writing a much needed report template and have hit more than a wall and cannot seem to figure out why some of the macros aren't loading. The two main files are massive and I ...
0
votes
1answer
44 views

Trying to compile lecture notes on just an iphone

Here's the source code of the tex file: http://pastebin.com/g6TfhMVi Here's the source of the notes.cls file: http://pastebin.com/FLLLS36F Right now I only have an iPhone and no other computers. I ...
0
votes
0answers
52 views

Writing up notes and tutorial

I am using article documentclass for writing up notes and tutorial. Is their any other class more suitable for writing the notes and tutorials? Moreover, I want to include MATLAB and R code in boxes ...
1
vote
0answers
92 views

how to add a document class to texstudio

I want to add a new document class to TexStudio. the document class is named "AEA" and is available in this link(the first .zip file below "Please note:") The code will look like this ...
1
vote
0answers
19 views

Document length iopart.cls no more than 12 pages?

I am using iopart.cls to write an article, the problem is when I compile the document the dvi is cut to the twelfth page, how can I do? Please help me!!!
4
votes
0answers
51 views

What documentclass/template should I use for non sectioned essays?

I have looked for different templates but most of them are concerned with papers, theses, books etc. But I am wondering if there is a specific one for simple essays, because (as an example) using the ...
10
votes
2answers
145 views

fleqn.clo vs fleqn.sty

Please have a look at this MWE: \documentclass{JHEP} \usepackage{fleqn} \author{me} \abstract{a} \title{t} \begin{document} \begin{equation} a = b+1 \end{equation} \end{document} however it ...
1
vote
0answers
48 views

When do variables in classes get evaluated? [closed]

I am developing a non-trivial class that is fairly large and complex. So far, everything has worked the way I designed it to be. I apologize ahead of time as I cannot provide a MWE as my question is ...
7
votes
1answer
87 views

How can I set up my custom class to load a different class depending on the class option(s) passed?

I have written class files in the past. One of them is even up on CTAN. But that was ages ago, and I am rusty today. I am trying to roll a new class file for my University. I am being a little ...
0
votes
1answer
56 views

Is there any way to use moderncv inside another document class? [duplicate]

In my thesis I need to have a cv. It would be awesome, if I could use moderncv. The only way I so far know is, to make seperate PDF, and include this afterwards within my thesis. Do you know any ...
6
votes
1answer
142 views

„German“ quotation marks in .cls file

I have a class file which, among other things, generates a title page for my paper. The name of of my school, which appears at the top of the title page, is hard-coded into the class file. I would ...
2
votes
1answer
73 views

The scale option of \includegraphics does not work after changing the document class [duplicate]

After .cls file changes, \includegraphics[scale=0.5]{img/GoalHierarchyMetaModel.png} command gives the following error. ! Package keyval Error: scale=0.5 undefined. See the keyval package ...
3
votes
1answer
115 views

Can not compile TeXStudio’s Letter template

I have just created a new file from a template in TeXStudio. I have chosen the letter template. So I have this code generated: \documentclass[]{letter} \begin{document} % If you want headings on ...
2
votes
1answer
78 views

Use article reference style with book documentclass

I have to use a journal's Latex template, which specifies \documentclass{book}. The template assumes I will enter my references manually in the format that they want. However, I would like to use ...
1
vote
2answers
105 views

Understand .cls files and working with sig-alternate.cls

I'm a day-one LaTex user so bear with me. I need to format a paper I'm writting with the sig-alternate.cls template in LaTex. I've got LaTex installed with TexStudio and MixTeX along with the ...
2
votes
1answer
25 views

Specifying a letter class \address from an external file using catchfile package

I'm working with the letter class, and have created a custom .cls file in which most formatting of a letter is taken care off. From a .tex file used to produce the letter (or call, as I may have ...
1
vote
0answers
26 views

Classes for profiles

I'd like to create some handouts and documents with keywords for my daily presentations in school. As opposed to the tufte layouts theses documents are only one or two pages long. The handout should ...
3
votes
0answers
46 views

Problems with right text margin in user-defined beamer class

I started to rebuild the cooperate design of my research group (designed in powerpoint) with an own document class based on the beamer package itself. Basically, I managed to get everything ...
2
votes
1answer
64 views

How can I change the layout of my page so that it doesn't block everything on one page?

I've been writing my CV in LaTeX and used a template. The issue is that where I've put all my entries into this specific section it's grouped all of my entries together in one block and put them on ...
4
votes
1answer
103 views

Review command in paper document class

By chance I saw that the paper document class has a \review command. After Googling a bit I was unable to find any useful reference to it. Can you tell me what is it for?
5
votes
1answer
107 views

Empty pages in the preface section of my thesis

I am writing a thesis and I'd like to use the openright option: \documentclass[letterpaper,12pt,twoside,openright]{report} The problem is that when I use this option, empty pages are placed between ...
2
votes
2answers
152 views

Is there a LaTeX style that mirrors Practical Typography's suggestions for research paper layout?

Matthew Butterick of Practical Typography says that his preferred format (and, co-incidentally, the one I have to use for my technical writing class final paper) is one where Page mar­gins ...
2
votes
0answers
60 views

Using class and specific font in XeLaTeX throws error

I am trying to use xelatex with its own class and a font I found on another stackexchange site. Here's a minimum working example, the Roboto font is in the same folder in a subdirectory called ...
1
vote
1answer
63 views

Style of Section Headings in LNCS

I am using the LNCS-Style, documentsclass llncs and there is no possibilty to use chapters. Actually when adding a section it looks some kind of this: What i want to do is to change just the style ...
4
votes
0answers
94 views

Changing layout is difficult or easy in LaTeX?

I am new to LaTeX. I am writing an article in LaTeX but at the moment I am not sure what should be the final layout of my article; so, I am writing it in IEEEtran format. I thought that it would be ...
0
votes
1answer
99 views

Change to two columns

I have a paper written in LNCS style. Is there any easy way to convert it to a two-column style? Simply using /two-column doesn't work as the columns are narrow, lines overflow, and it looks terrible ...
3
votes
1answer
27 views

export from lyx the right LaTeX class declaration

I am using svjour3 class from Springer, but for convenience I decided to use the Lyx templates. Everything went smoothly and I managed to get all the layouts and formatting as required. However, I ...
5
votes
1answer
50 views

Custom class creating compilation problems

I tried adding my preamble to a new class file called labs.cls, in the same directory as my lab1.tex file. I then changed the preamble of my tex file to \documentclass{labs}. When I try to compile the ...
4
votes
1answer
48 views

new page created when using the \begin{abstract} command

I am using emulateapj and am trying to put an abstract in like so: \documentclass{emulateapj} \setcitestyle{authoryear,round,comma} \begin{document} \begin{abstract} hello world! ...
6
votes
2answers
72 views

Documentclass `book': How to prevent numbered examples to start over each chapter

So, I am writing my thesis (topic is to do with linguistics) and am using the documentclass book to do this. For my numbered examples I am using the `linguex' package. \documentclass[12pt, ...
3
votes
1answer
133 views

Template that follows this book layout

Is there a template out there with a format such as:
2
votes
2answers
174 views

An Introduction to LaTeX in beamer documentclass in TeX format

Sorry if this is a off topic or duplicate question. I'm looking for An Introduction to LaTeX in beamer documetclass in tex format. Any help will be highly appreciated. Thanks Edited I'm looking ...
0
votes
0answers
965 views

Beamer.cls Error - How to install beamer

I installed TeXnicCenter Version 2.02 Stable (64 bit). I wanted to make beamer file for my thesis proposal. I already have my sample beamer, but when I run it, 3 errors occurred. It says "Latex ...