{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

0
votes
2answers
67 views

How to make such a CV in LaTeX?

I am not good to LaTeX. I think I need TikZ? It should look like this: Can anyone help me? How to do that? Which document class should be used, how to make the sectioning look like that on the ...
4
votes
3answers
116 views

Is memoir class like an extended version of book class?

Hope this is not a stupid question but I'm a newbie to LaTeX. I am using LaTeX to write my Humanities thesis and while I am concentrating on the content at the moment I am just using a template I ...
0
votes
0answers
28 views

Overview of page geometry, font sizes etc. of common document classes

Has someone precompiled a tabular or annotated graphical overview of the default lengths etc. of common LaTeX classes (standard, Koma/scr, memoir, beamer …) and put it on the net? I didn’t find any. ...
1
vote
1answer
35 views

Compiling a file with two document classes [duplicate]

Just out of curiosity: Is there a way to compile latex document with two document classes at once? Suppose that I have a paper which start with line: ...
1
vote
0answers
18 views

Conditional for documentclass [duplicate]

I was wondering whether it is possible to execute a command depending on the used documentclass. \documentclass{dinbrief} %\documentclass[a4paper]{letter} \usepackage{ifthen} \begin{document} ...
1
vote
1answer
22 views

\rule Margin Spacing Issue for Horizontal Line

How can I get the horizontal line to not enter the right margin. It doesn't look symmetrical the way I have it. Ideally I would like the horizontal line to be the same distance from the side of the ...
0
votes
1answer
55 views

Inserting eps file into Quantitiave Finance's document class

I'm putting together a paper for submission to the journal of quantitative finance, they provide a latex template: ...
2
votes
1answer
68 views

Is there a document class as described in this question? [duplicate]

I am writing notes for self-lecture on a computer screen on a daily basis (attending math courses). I never intend to print these notes on paper, so the concept of "pages" is quite annoying ; I am ...
3
votes
1answer
658 views

Lyx 2.x: Document Class Not Available - Mac OS X 10.10 Yosemite PB 3

I'm running the latest Mac OS X 10.10 Yosemite beta, and I ran into a problem installing MacTeX (2014) and LyX (2.1.2). Upon successful installation of both, LyX would launch with an error: "Document ...
1
vote
0answers
41 views

add elsarticle class to texstudio

My question is generally about adding elsarticle document class to TeXStudio. In the installation documents it says that I should download .ins and .dtx files and compile them with latex. I don't know ...
2
votes
0answers
21 views

LaTeX; Refer in one document-class to chapters in another document-class [duplicate]

I want to include an article (with documentclass: IEEEtran) into a report (with another, company specific, documentclass). I want to refer in the article (myarticle.pdf) to the ten appendices of the ...
1
vote
1answer
72 views

TeXMaker can't find my own class file

I've been using TeXMaker for a while now and it usually works fine. A couple of months ago i wrote my own class and style files, started to use them and it worked fine. I had placed the .cls and .sty ...
1
vote
1answer
55 views

Redefined maketitle gives error

I'm currently using a template I found online, it included a .cls file that modified the usual \maketitle. Every time I compile with this class I get an error after the \maketitlesaying There's no ...
3
votes
1answer
84 views

listings using tcolorbox for beamer documentclass

I'm trying to get listings using tcolorbox for beamer documentclass. My MWE is given below but could not get it working. Any help will be highly appreciated. Thanks MWE \documentclass{article} ...
4
votes
2answers
78 views

Change \part counter to text: from I to ONE

I have included the \part command into my dissertation in \documentclass{report} which automatically uses Roman numerals: I, II, etc. as its counter. Is it possible to change these to text/string ...
2
votes
0answers
39 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
61 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
77 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
61 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
30 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
35 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
337 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
74 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
26 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
693 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
67 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
59 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
158 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
97 views

Warning about writing .cls files in texpad [closed]

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
90 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
104 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
62 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
54 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 ...
1
vote
1answer
374 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
22 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
63 views

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

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
219 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
54 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
94 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
71 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
150 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
123 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 ...
4
votes
1answer
164 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
130 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
312 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
42 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
29 views

Classes for profiles [closed]

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
53 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
71 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 ...