{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

30
votes
7answers
1k views

What is a template?

Regarding LaTeX I understand terms such as class, package, and so on but I don't understand the meaning of template as used by many questioners. Is it what is traditionally called a package or class ...
1
vote
2answers
36 views

Problems using QT.cls

I am attempting to use the class file qt.cls, available at the journal's website, but when I try to compile, even just using their example document in TexShop v3.61, I get the error: and when I go ...
1
vote
0answers
47 views

Editing .cls file [closed]

I am using a .cls file for my thesis but the document format is not perfect. I need to guarantee that the pages which are generated with the following commands are in the odd pages: \maketitle, ...
1
vote
0answers
19 views

In bioinfo.cls, how can I get a full width equation?

How can I get a full width equation while using the bioinfo class? I tried doing \usepackage{widetext} and throwing a \begin{widetext} and \end{widetext} at appropriate places, but it throws an ...
1
vote
1answer
19 views

Turn off book style margins for amsart document class

Is there some way to turn off the alternation of larger left/right margins ("book style margins") when using a document class that turns this on by default? I'm looking to do this in particular with ...
4
votes
1answer
62 views

moderncv - why so many files?

As a very hands-on type of person, I said to myself why not learn LaTex trying to build something out of it, in order to learn all the intricacies of LaTex. So I'm creating my cv, using LaTex and ...
1
vote
0answers
34 views

Remove Blank Pages

MWE: \documentclass[a4paper,12pt,leqno,footinclude=true]{memoir} \setcounter{tocdepth}{3} \setcounter{secnumdepth}{3} \usepackage{tocloft}% \newcommand{\cftchapaftersnum}{.} \begin{document} % ...
2
votes
1answer
66 views

Help installing document class for LyX on Mac, unsure on where to start

I'm trying to download a document class from a university, and would like to use this for my thesis. However I'm very new to all of this, and so really have little clue on where to start. The ...
0
votes
0answers
38 views

res – A resumé class - Examples

I'm working on my resume (CV) and I would like to use the res documentclass. However, I can not find any document about this class and how to use it even on the CTAN website. Could you please help me ...
3
votes
1answer
41 views

Check what kind of document class is used with MWE

I try to autodefine the preamble using this and that approach but do get Undefined control sequence. \@ifundefined{\KOMAClassName } in case I write report for scrreprt. for both options. ...
0
votes
1answer
31 views

Changing the width of second page and so on in friggeri cv, keeping first intact?

Lots of people are interested in this at different places, but I couldn't find a direct solution. One can use the template from here. A part of it is answered here and a simple tweak would be to ...
1
vote
1answer
62 views

How to change spaces before and after sections and chapters

I am using this documentclass with option [twoside,12pt] and this MWE: \documentclass[twoside,12pt]{Classes/aesm_edspia1} \usepackage[latin1]{inputenc} \usepackage[english,french]{babel} ...
1
vote
0answers
93 views

Cannot find .cls file [closed]

I have a macbook pro and installed MacTeX a few days ago. Our teacher wants us to do a report using a model of it in cls format. The format is the same folder as the file that I created, however ...
0
votes
0answers
36 views

Class for arXiv preprints

I wondered whether there was a class designed specifically for arxiv preprints? Take a look at e.g. this list of arxiv preprints. There isn't really a canonical choice at the moment. Many authors: ...
1
vote
1answer
36 views

Generate oneside and twoside version at the same time

Is there a possibility that with compiling my latex document all the time two PDFs are created (a oneside and twoside version). So in my case only the first line would be different for the two ...
0
votes
0answers
20 views

Squeezing inter-paragraph space with the ACM proceedings document class

I'm using the ACM proceedings SP document class for a conference submission. I'm noticing that the inter-paragraphs vertical space is quite large (I don't mean \paragraph's, just paragraphs). Now, in ...
0
votes
0answers
25 views

Listings package does not break with my own class

I have created a class based on the article class so: \NeedsTeXFormat{LaTeX2e} \LoadClass{article} \RequirePackage{../../mypackage.sty} According to that, I have done following example document: ...
3
votes
0answers
123 views

Getting the error: “! Argument of \MT@res@a has an extra }.” [closed]

I'm writing a submission for an ACM conference, using the ACM's acm_proc_article-sp document class. Now, this is a document I transitioned from another document class, so the LaTeX in the body of ...
0
votes
1answer
68 views

how to remove duplicated sections in the generated pdf using MikTex and how to use \keyword command

For the following .tex I got an error on \keyword tag and after commented it I got another problem at the generated pdf file which is a dublication for the abstract at the end of the document as in ...
1
vote
0answers
48 views

Difference “exam class” and “eqexam package”?

What's the difference? It looks like "eqexam package" is more advanced. The "exam class" just uses the identical commands from "eqexam package". Is one of the two outdated? Recent posts talk only ...
4
votes
1answer
77 views

How to load class with options, e.g. headsepline

I'm trying to write my own class file for subsequent documents based on my template. What I did is simply copy everthing from \documentclass to (but not including) \begin{document} and paste it into ...
1
vote
1answer
77 views

\documentclass - {paper} vs. {memoir}

Let me profess that I know that I have made some bad choices. Hopefully I can get some help here, to clear things up. I have been told and read that writing an article/paper should in most cases be ...
1
vote
0answers
36 views

argdef-error with A&A template (renewcommand) [closed]

I have two issues with the aa.cls, which can be downloaded from this site. It produces the error ! File ended while scanning use of \@argdef. <insert text> \par 1.267 ...
1
vote
1answer
35 views

How do I get the font sizes I need when they are in between the defaults? SAE Class progress

I don't really know much about hacking together a class file, but as I have mentioned elsewhere on the forum, I am trying to do one for SAE. My current class file only supports a 10pt font size as the ...
6
votes
0answers
259 views

PHD/Master/Bachelor Thesis: Which Document Class to Choose [closed]

As I already mentioned in my previous question, I intend to give a LaTeX introduction to phd students. Most of them will already be using LaTeX somehow but their knowledge will be random. I want to ...
1
vote
1answer
77 views

“Page intentionally left blank” with twoside openright

I'm using twoside,openright in my document class, and I'm wondering how to have "Page intentionally left blank" text on the pages that openright makes blank. I've seen people redefining ...
5
votes
1answer
41 views

Allow user to specify multiple values with one command

I am attempting to define a macro that can be used to specify the names of committee members for a thesis/dissertation. I would like to allow the user to specify this command multiple times to add ...
2
votes
1answer
34 views

Problems with creating abstract in custom class

I am working on creating a thesis template for myself and others in my lab to use. I have gotten stuck on creating a specialized abstract environment however. As a MWE (well minimum broken example) ...
0
votes
0answers
28 views

question mark instead of citation number when use singlecol-new [duplicate]

I have been struggling to fix this issue since 3 days. When i use the document class llncs it works fine. However, when i use the document class "singlecol-new", question mark comes instead of ...
0
votes
1answer
53 views

Error in using svjour3.cls [duplicate]

I need to add the svjour3.cls to TexStudio. For running the \documentclass[smallextended]{svjour3}. I tried to find a location to copy it. I put it in several directories as well as my local .TEX ...
1
vote
1answer
31 views

Warning message (about Document class)

I got the warning message... you have requested document class styles/wissdoc-kw-english. I dont know how I can solve this. My thesis.tex includes \documentclass{styles/wissdoc-kw-eng} Please help ...
0
votes
0answers
68 views

Error at \begin {document}

My file does not compile. Can someone help me? \documentclass[xcolor=dvipsnames]{beamer} \usepackage[latin1]{inputenc} \usetheme{profmat1} \setbeamerfont{structure}{series=\bfseries} ...
1
vote
0answers
30 views

Downsides of switching from default LaTeX document classes to KOMA-Script variants? [duplicate]

I'm considering switching from the article class to KOMA-Script's scrartcl, due to the availability of a \subtitle environment - a rather weak reason. I've read the list of useful features / benefits ...
4
votes
1answer
41 views

xkeyval and hyperref in document class

I have problem compiling a document with a custom document class. I am trying to process key-value parameters passed to my document class with xkeyval. I also need to use hyperref package. And that is ...
3
votes
3answers
33 views

Error with ifacconf.cls and subequations with more than twelve equations

I'm working on a paper for an IFAC conference for which you're supposed to use their ifacconf.cls, resulting in a fairly standard layout. However, you get an error when you use subequations (amsmath) ...
5
votes
1answer
33 views

Passing arguments to class in a key=boolean value manner

Assume I have a bunch of flags which I want to pass to my class, how do I do this? If you see the example below, I am looking for passing flags in the form: key=<boolean value from flag> to ...
0
votes
1answer
85 views

Can't install webomints package

I'm trying to replicate the answer by Gonzalo Medina here: document class for a restaurant menu However, I am unable to get the decorative corners. My results: In attempting to remedy this, I ...
1
vote
1answer
48 views

Remove header from class file

I'm a TeX newbie, and I try to edit a template tex class file, but I can't find where the header section is defined. It looks like this: but I want to remove it completely and edit the header from ...
1
vote
1answer
104 views

Need urgently assistance in LaTeX - unable to change the document class without totally blowing my thesis

First of all I'm a beginner in LaTeX, of course I used it for writing short articles but never for a thesis... For This reason (now I think it was stupid) I looked for a sample of a thesis and I was ...
0
votes
0answers
43 views

In a custom documentclass, maintain chapter title headings but move page numbers to bottom

I am using a custom documentclass provided by my school for writing my thesis, which is a modification of the documentclass book. They also give a template, which includes the line ...
0
votes
1answer
33 views

Override a custom documentclass to put all page numbers at the bottom

I am using a documentclass provided by my school to write my thesis. I realize this question may not have an answer without my being able to understand what is written in that file but let me try ...
1
vote
0answers
15 views

How to install \documentclass{ar-1col} in TexMaker

How can I install \documentclass{ar-1col} in my LaTeX document with texmaker? I need this specific layout for a scientific journal, but the standard document class is \documentclass{article}. When I ...
0
votes
1answer
40 views

How can I change the width of page in latex [duplicate]

I am wring the paper that is formatted by elsarticle. However, the margin between text and left. right page look big. Hence, the text length is very narrow. Could I change it in the file ...
0
votes
0answers
24 views

Setting the margin for chapters/sections/etc. in a class file

I would like to be able to configure chapters, sections, etc. to include a margin indent, while headers and footers for the page should use the standard margins. So for example something that looks ...
0
votes
1answer
56 views

Use variables/properties in class file

I have a class resume which I use in a .tex file as \documentclass{resume} \begin{document} \end{document} but I also want to define some variables in my .tex document to be used in my class. How ...
1
vote
0answers
60 views

Combining two document classes

I'm finalising a thesis using the Classicthesis template. Also, I need to replace the Abstract included in that template with an abstract my University uses. The problem is that just as ...
2
votes
2answers
66 views

How to remove the date under the draftmode in AEA document class?

When using the AEA document class in draftmode, there is a date command that appears with the \maketitle. Does anyone know how to eliminate it? When using \date{} as would usually work, the date is ...
2
votes
0answers
42 views

Is a document compiled with pdfLaTeX which includes a Form environment (hyperref) likely to compatible with the standard Linux pdf viewer?

I'll offer the disclaimer that, in my question, I may have been stretching the truth when I said `a' Form environment. The Form environment is implemented in a .cls file to which there are multiple ...
4
votes
2answers
147 views

Two abstracts in two languages in Elsevier class

I have a problem with putting two abstracts under the title of my article in elsevier class. I am using this code: \documentclass[preprint,10pt,3p]{elsarticle} %% ...
1
vote
0answers
55 views

Second page skipped [on hold]

I have a document \documentclass[a4paper,12pt,openany,leqno,footinclude=true]{memoir} It skips the page after the title page i.e. after the titling page \end{titlingpage} The first page starts at ...