{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

12
votes
2answers
2k views

How to convert LaTeX 2.09 to LaTeX2e

I'm trying to convert a LaTeX 2.09 template to LaTeX2e (pdflatex): http://www.yisongyue.com/resume/ How should I convert this line ? \documentstyle[hyperref, margin, line]{res_yy} I don't know ...
1
vote
2answers
55 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 ...
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
45 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
1answer
191 views

LyX 2.1.4 does't load Document Classes after using Reconfigure

I tried to add on the LyX (Windows 10) Layouts folder some .layouts, and after I run "Tools -> Reconfigure" and restarting LyX it doesn't neither the default classes. How can I solve this problem? I ...
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} ...
6
votes
1answer
163 views

Algorithms and amsart

Basically, I have copied the code from an answer to this quesiton, for I have to translate some words. I have only changed documentclass from article to amsart. \documentclass[11pt]{amsart} \...
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} {\...
1
vote
1answer
121 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 ...
12
votes
1answer
12k views

Using a new document class/template with LyX?

I tried googling this elsewhere but I'm new to LaTeX and extremely confused about certain things. Basically I downloaded MikteX and I'm using the latest version of Lyx with it. Now all I basically ...
7
votes
1answer
101 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 ...
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 \...
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? ...
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 ...
65
votes
6answers
3k views

Which document class is being used?

Is there a way to programmatically determine which document class is in effect? I'd like to be able to write conditional macros that behave differently depending on which document class is currently ...
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 ...
268
votes
12answers
103k views

How to create posters using LaTeX

I want to create posters for my poster presentation on a conference. What tools or LaTeX classes are available for preparing posters ?
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
43 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 ~/...
0
votes
1answer
59 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 ...
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 ...
4
votes
1answer
459 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 ...
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
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 ...
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} % ---...
0
votes
5answers
146 views

No available SBL style?

Where can I find a link that actually works for the document class/stye/package Society of Biblical Literature (SBL)? AFAIK all related threads in this forum and elsewhere are either broken or the ...
3
votes
0answers
146 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 ...
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
388 views

Undefined control sequence \bbl@nonfrenchlistspacing

I am trying to run the sample file hsp-monograph.ltx that comes with ouvrage-hermes downloaded from http://www.iste.co.uk/ \documentclass[english,allpages]{ouvrage-hermes}[2005/11/14] % Preamble: ...
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
111 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
53 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: ...
12
votes
2answers
627 views

How to use showexpl with an external class?

The showexpl package defines LTXexample environment which allows to define a latex code and shows its result side by side. The problem is that it uses the same document class where the LaTeX code is ...
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 ...
2
votes
2answers
1k views

Document Class for Briefing Notes

I was wondering whether there was a document class for briefing notes/memos in LaTeX. If there is not any what is the easiest way of making my own? PS: Sorry, I should have given an example. Here are ...
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 ...