{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
1answer
33 views

Why “mmadoc.tex” is not executing?

I have downloaded mmaaut.cls file from here and I saved it in folder where I use to place all my other Latex work file, but when I tried to run file mmadoc.tex in my WinEdt compiler, an error message ...
1
vote
1answer
46 views

Latex won class and macros

I'm writing my own simple template, what I have so far is a new, redefined make title command: \NeedsTeXFormat{LaTeX2e} \ProvidesClass{myclass}[2016/06/22 My custom class] \LoadClass{article} \...
0
votes
0answers
8 views

Reducing the width between the section space [duplicate]

I came up with a minimum MWE to explain my predicament. I wish to reduce the space in between the sections as demarcated below: \documentstyle[12pt]{article} \setlength{\oddsidemargin}{0in} \...
1
vote
0answers
44 views

Translation from Memoir class to Book class of pretty tables

Gonzalo Medina pretty TOC/LOF/LOT (memoir class) can be found at Pretty List of Figures and List of Tables. If the class is switched to the book class, there are 187 error messages produced. Is there ...
1
vote
1answer
27 views

Undefined control sequence error

it might be a stupid question but I cannot see where the mistake is in this code: \documentclass[12pt]{article} \usepackage{amssymb} \renewcommand{\baselinestretch}{1.5} \setlength{\topmargin}{0cm} ...
2
votes
1answer
34 views

Producing just a tight picture, is there a replacement for \documentclass{minimal}?

I want to produce a picture in PDF format using pdflatex, with nothing else in the page but the picture, so I decided to use the document class minimal \documentclass{minimal} \begin{document} \input{...
0
votes
0answers
21 views

Get translated LaTeX captions like \pagename with babel

I'm currently adding a feature to my own class file: automatic translation of the footer according the main language that has been defined in my document. \DeclareTranslationFallback{pageOfPages} {\...
7
votes
1answer
102 views

How include a document with a documentclass in an another document

I write my thesis with the \documentclass{yathesis} and I must include my CV at the end of my thesis but my CV is in the \documentclass{CV}. How can I include this CV in my thesis without problems ...
1
vote
0answers
28 views

Files required for Custom Document Class Style? [closed]

I am confused by errors in Trial 2 of this that *.STY file missing while only Document Class file *.CLS file given. Aspiring chat here. So Which files are required to use Custom Document Class Style? ...
1
vote
1answer
123 views

Aalto custom CLS file in Lyx?

Oxford has instructions to set up CLS file for Lyx here so this thread for Aalto uni. So How can you use Aalto custom CLS file in Lyx? Aalto files CLS file (copy here) Aalto Thesis LaTex ...
0
votes
0answers
35 views

File 'exam.cls' not found [on hold]

I am trying to create an exam document using \documentclass{exam} but getting the following error: "File exam.cls not found." I am able to compile other document classes find but for some reason it's ...
2
votes
0answers
18 views

How to branch based on the documentclass? [duplicate]

I have a macros.tex file where I keep my macros and I use them with different document classes. I want to skip including some of my macros based on the document class (e.g. if it is beamer). How ...
0
votes
0answers
61 views

Mystery of finding a class file stored remotely

I store all my work files on a remote system, so when I log on to any computer at my institution I can see my files. Previously, when I ran the following .tex file there was no issue. (I am using ...
2
votes
0answers
23 views

Overthinking it: document class report vs book for a thesis [duplicate]

I apologize in advance for the long wall of text; there is probably some way to condense this question to half the size without losing anything important, but I'm not sure which half to remove. I ...
1
vote
1answer
49 views

Texmaker cannot find class file. “LaTeX Error: File `revtex4-1.cls' not found.”

I am using Ubuntu 16.04 with Texlive, and more specifically with the Texmaker graphical editor. I am attempting to use a class file from a third party, .cls, which is located in a subdirectory of ~/...
31
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
38 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
48 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
21 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
26 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
65 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
39 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
67 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
42 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
42 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
42 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
64 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} \usepackage[...
1
vote
0answers
114 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 ...
1
vote
0answers
54 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
42 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
22 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
149 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
72 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
50 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
91 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
90 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
45 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
43 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
292 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 ...
2
votes
1answer
87 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
49 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
37 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
82 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 file....
1
vote
1answer
34 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
71 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} \usecolortheme[...
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
45 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
36 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) ...