{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

4
votes
1answer
93 views

Compilation of LaTeX style files?

I've just gone through every google search I can think of without success. Is there an archive, database, list, or other compilation of LaTeX style files? I've found plenty of style files specific to ...
5
votes
1answer
339 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 ...
5
votes
1answer
67 views

Make ltxdoc class use report as underlying class

The ltxdoc class, designed for documenting LaTeX source files, is based on the article class. Beyond a certain threshold, the documentation may need to be divided in chapters and another class, e.g. ...
4
votes
0answers
64 views

How to use more than one document class [duplicate]

I want to set a journal (using the book document class) that contains more than one article (using the article document class). The document classes available are only for separate articles, not for ...
2
votes
0answers
88 views

Very consistent latex - customized class or KOMA?

This is mostly a thought exercise, but in working on a large document, I've come across some annoying inconsistencies when working with latex. These are usually somewhat trivially fixed, but they add ...
7
votes
2answers
119 views

Where does the documentclass command look for class files?

The first line of my latex file is: \documentclass[english,draft]{ectaart} latex fails with the following error: LaTeX Error: File `ectaart.cls' not found. I copied that file to (on my Ubuntu ...
3
votes
1answer
62 views

Is there a class to print less pages? [duplicate]

I detect a lot of mistakes only when I read the paper printed. For some mysterious reason, I do not see these errors on my screen. So I used to print a lot, and only to type-check. I use double-sided ...
4
votes
2answers
56 views

Adding more than two address lines to a document of class res

I'm using the res9b template and I'm trying to figure out how to add one more address line. I tried using "\\" but the output is a comma separated list instead of a line break.
3
votes
2answers
108 views

How to handle \section* with asterisk in my custom class [closed]

I've redefined sections and subsections in my .cls file in such a way that \section* results in bad behavior. For example, \section*{Introduction} These analyses were performed in my .tex file ...
0
votes
3answers
66 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 ...
1
vote
1answer
1k views

How to install (automatically) a new document class in Texmaker through MiKTeX?

I am trying to install a new document class style in Texmaker for a scientific journal. There is any direct way to install on Texmaker? This post discusses How can I manually install a package on ...
3
votes
0answers
56 views

NIH class tweaks

I need to change a few settings from the NIH document-class to make my document more similar to NIH's most recent sample (ugly, I know). Having been told to leave the .cls file well alone, I'm going ...
13
votes
0answers
287 views

What are the LaTeX book classes? [closed]

From time to time there are requests for a list of "all" LaTex book classes. Is there a comprehensive list of all of them? Here is a list of book classes: book bookest extbook memoir scrbook ...
1
vote
0answers
143 views

Can I make documentclass{book} look more like a book? [closed]

I am fairly new to LaTeX and am trying to write a book. Being a newbie I plumped for \documentclass{book} because that seemed like the obvious choice but I can't get it to look like a book. I'm fairly ...
0
votes
1answer
89 views

Help me to determine a document class

Could you recognize the document class used here? It's quite common, but I didn't find it in document class galleries (maybe I don't know good ones).
2
votes
1answer
45 views

Using eqref with amspset document class

I'd like to use \label{eq:1} and eqref{eq:1}. But it doesn't seem to want to work with the document class I'm using. (The amspset document class can be found here.) \documentclass[reqno, 11pt, ...
2
votes
1answer
70 views

Sharing an “Unavailable” layout

I am writing a document, on which I work on several computers, and also with a colleague. The document uses a certain article layout that by default is unavailable on LyX. The LyX wiki page says ...
3
votes
0answers
87 views

Class available for law Reports?

Has anyone used LaTeX for writing Expert Witness reports or similar for UK Courts? These have to follow a particular format which would be ideal in Latex but I am a relative newcomer to Latex and ...
3
votes
1answer
228 views

Cannot use a custom document class with LyX

I am trying to use the ACM SIG Proceedings document class for a LyX document. Basically following these instructions: Using custom LaTeX document classes in LyX Step by step, here is what I do: put ...
1
vote
2answers
1k views

Undefined Control Sequence occurs at: \begin{document}

I wasn't having any problem with my .tex file, but after compiling a separate document - which used a different document class - my current file no longer loads. Specifically, I was using the imsart ...
2
votes
0answers
90 views

How to typeset an exhibition catalogue

Perhaps this is too vague, but I have been so impressed with the results I was able to achieve based on a previous question, that I thought I would ask. Has anyone used TeX to typeset an exhibition ...
3
votes
1answer
103 views

Mathtools package won't work with my document class

I'd like to put in mathtools, specifically so that I can use the multilined environment. But it doesn't seem to want to work with the document class I'm using. (The amspset document class can be found ...
5
votes
1answer
145 views

Decreasing space between subsubsections

I use the LNCS document style for a paper. However, I find the spacing between subsubsections (ca 2 lines) very generous and would like to decrease it. How can I do this? (Note: I am not required to ...
0
votes
0answers
149 views

Making boxed “problem” environment and a solution environment

I'm trying to make a template for my homework. I've been using a modification of the Harvey Mudd homework class, but there are some things I don't really like about it (functional and aesthetic). ...
2
votes
1answer
77 views

document class for l'IHÉS Journal

Let me just mention that I don't know much about Latex, so please be patient with me. I noticed that the .cls file uses for the journal "Publications Mathématiques de l'IHÉS" is svjour.cls. So I ...
3
votes
1answer
113 views

Overriding the paragraph style in the LNCS document class

I am using the LNCS document class to typeset a paper. I would like to keep most of this document style, but I do not like how paragraphs are typeset. The heading of the paragraph is in italics, which ...
11
votes
4answers
459 views

Where can I find some rich book classes?

I find the standard book class, and others like tufte or memoir, a little "sad" in the end. I mean, look at technical books at a library: they have fancy headers, colors, graphics at page borders, ...
1
vote
0answers
44 views

Use a footnote in the heading with amspset package

I am using the amspset package as follows \documentclass[10pt,letterpaper]{amspset} \usepackage{fullpage, amsthm, amssymb, amsfonts} % info for header block in upper right hand corner \name{Eric ...
6
votes
1answer
127 views

How to make unavailable document classes available for LyX on Macbook?

I have a problem with making unavailable document classes available for LyX on Mac OS X. I have installed LyX and MacTeX (latest versions). I can see the nature class in TeX information of LyX, but ...
3
votes
0answers
77 views

KOMA-Script article in LyX [duplicate]

I would like to set the document class of my LyX document to KOMA-Script article. When I try this via Document > Settings > Document Class, the document does not compile any more. Last part of ...
5
votes
1answer
112 views

Access \@email in a custom LaTeX class

I am trying to customize an article class for my needs. I want to access \email{} in my class but without any success. This is my \maketitlepage section in cls file, \newcommand{\maketitlepage}{% ...
1
vote
1answer
81 views

Preview problems in AUCTeX when using certain document classes

I just changed document class to lipics (class files here) which is used for various conference proceedings, i.e. \documentclass[a4paper,UKenglish]{lipics} I now have problems rendering previews in ...
2
votes
0answers
133 views

Document class with table in the header

I'm trying to write a document class in which the header of the first page has a table. The header of the following pages should have another table. Well, I solved this problem in the .tex file (user ...
18
votes
2answers
523 views

typesetting in the style of Turing's famous “ON COMPUTABLE NUMBERS”

Maybe an unusual question but I love the typographical style of this text. http://classes.soe.ucsc.edu/cmps210/Winter11/Papers/turing-1936.pdf I am an art student writing a research paper. I would ...
4
votes
1answer
52 views

pstricks and caa.cls

I have a TeX file that my prof gave me and I can't get it to work. First, I don't know what package allows me to use \documentclass[12pt,reqno]{caa}. Next, I have a bunch of pscurves, pslines, and ...
1
vote
0answers
153 views

Caption package incompatibility with \@makecaption in custom report class

My university has a recommended thesis class based on the report class. Unfortunately, it is incompatible with the caption package; for example, when I include the subcaption package, I get the ...
3
votes
0answers
60 views

Is there an implementation of WEB/NOWEB for LaTeX?

The WEB system is great, but it's a little cumbersome sometimes and very much rigid in its design. Is there a LaTeX document class for WEB-style documents? I'd like to program in other languages than ...
1
vote
1answer
114 views

! LaTeX Error: Option clash for package color in MiKTeX

I'm so new to LaTeX. Using MiKTeX I have following problem with its portable version. I write down here the code and the final error: \documentclass[cover]{isas-seminar} \usepackage{subfigure} ...
1
vote
0answers
170 views

How to remove blank pages with random numbers coming between two chapters? [closed]

I am writing my thesis using \documentclass[12pt,a4paper,twoside]{book} but at the end of some chapters I am getting a blank page with a random number on the top of the blank page.Can anyone ...
13
votes
1answer
317 views

Leveraging a dynamic preamble to generate multiple output formats

Background The diagram below shows an architecture for generating books using a dynamic preamble. The top part of the image shows the database relations between a book theme and its preamble. The top ...
3
votes
1answer
41 views

Certain text always included in new document

Is there a way to make \documentclass and all that to always appear in a new document? It's annoying to have to copy from other documents.
1
vote
1answer
121 views

Using class file located in non-root directory with LyX

I would like to use the template elsarticle.lyx, but apparently I'm missing elsarticle.cls. Unfortunately I don't have root rights, so I can't follow most instructions on the web on installing new ...
4
votes
1answer
1k views

Document class for writing class note

I would like to know the document class to write my lecture notes and assignments questions which I will be using for a course I am teaching. I want your valuable suggestions in this regard.
5
votes
1answer
65 views

Is there any other margin I must set to reduce margin to zero?

I have basic class file and I would like to set margins of an a4paper to 0mm. Here is the markup of some-class.cls: \NeedsTeXFormat{LaTeX2e} \ProvidesClass{some-class}[2013/07/29] ...
1
vote
1answer
146 views

Text flowing out in two column format due to section title

This is the code: \documentclass[sttt]{svjour} \usepackage{graphics} \begin{document} % \title{Title} \author{Author} % % \institute{Institute} % \date{Received: date / Revised version: date} ...
4
votes
0answers
90 views

Loading a class within a class [duplicate]

I'm trying to develop a set of custom classes. They are all very similar, but each do slightly different things (a custom letter, article and report for example. Since they share things in common, I ...
1
vote
2answers
1k views

How can I add a document class to Texmaker on Mac?

I am about to write my thesis on Texmaker but frankly I am a quite clueless tex-virgin. I would like to use the document class of our university but I couldn't figure out how I can import the files ...
1
vote
1answer
1k views

Undefined control sequence error when trying to add \frontmatter and \mainmatter commands

I am writing a book, and dividing the book's chapters into separate .tex files. I would like to do the same for my appendices, but when I try to do so I get an error message. First, here is my ...
0
votes
0answers
33 views

Features of popular class files [duplicate]

Is there any resource available which compares/lists/highlights the features of most popular class files available. I searched TeX.SX, but could not find a similar question here. I agree that, this ...
3
votes
1answer
53 views

Creating an option clash between custom class options

In my custom LaTeX class, I've created some different options, such as different font sizes, 11pt, 12pt and 13pt, and paper sizes, such as a4paper and letterpaper. However, only one option from each ...