{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
0answers
59 views

How to unify fonts in references in a thesis class?

I would like to know what to do in order to unify the fonts in my document, especially in the references. As you can see, there is a problem at least with the arXiv part, which is with a bigger font ...
2
votes
1answer
30 views

how to create book with multiple exam question papers in chapters?

I want to bundle together multiple exam question papers in the form of a bound book to be handed out as practice problems. The exam question papers are mainly objective MCQs. Each chapter will have ...
5
votes
1answer
35 views

Using cls file - “the document class provides `book'.”

I am co-writing a book and I've been sent the publishers LaTeX template which contains their style files. At first I was getting the error ietbook.cls file not found - the following seemed to be the ...
3
votes
1answer
93 views

Comprehensive overview of the existing latex classes. Or how to choose the right class? [duplicate]

Latex classes are really useful as they provide ready and easy to use implementation of complex formatting, styling and rendering methods. In fact, it is one of the most interesting feature of the ...
4
votes
2answers
36 views

Table ref not displaying in PNAS format

I'm using the PNAS two column style (pnastwo.cls). As per the answer here, I need to wrap my text in the article environment to have it actually display in two columns. However, this makes it so that ...
2
votes
1answer
19 views

Positioning of toc, chapters, bibliography in book class

In \documentclass{mwbk or book} chapters, table of contents, bibliography default are located at some distance from the top of the page/header. Does anyone have an idea how to move their location on ...
0
votes
0answers
21 views

Extra vertical space after frame in document class {book} when a image not fit on the page

I create a two side document for a book. When I insert a image after some text and frame that not fit on the page, the text between frame and image starts in bottom of the page and created extra ...
2
votes
1answer
43 views

PNAS two column not displaying

I'm trying to use the PNAS two column class (pnastwo.cls). I include it by writing \documentclass{pnastwo} in my tex file. However, it still shows the text as one column. Why is that happening and ...
0
votes
0answers
8 views

Change spacing of the matching environment in examdesign?

I'm using the matching environment in the examdesign class. My problem is that the left column contains longish sentences that makes the layout look a bit wonky: Is there a simple way to extend the ...
4
votes
1answer
41 views

mathcal and mathdesign with svjour class

I'd like to use mathdesign but I still want regular old mathcal. In this question it was suggested to use \let\mathcal\undefined \DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n} which works fine ...
1
vote
1answer
40 views

documentclass using amsmath, without sections

It's probably true that, thousands of times every day, someone somewhere writes a short explanation of some mathematical phenomenon, using equations, including alignment possibilities, lemmas and ...
0
votes
0answers
21 views

Create an template

I've been using the same format and setup of a front page in my homework's e.t.c and I've always wanted to just create an template file. (*.cls) I think? I.e. I don't want to see all my packages in ...
0
votes
1answer
35 views

What's a convenient/appropriate way to override my document class' \paragraph style?

The document class I'm using (ieeetran) typesets paragraphs as in the following: ------- [space here] a) The Paragraph Title In Italics:[space here]The quick brown fox jumped over the lazy dog. The ...
4
votes
2answers
190 views

How would I mix German and Icelandic diacritic characters in a single English document?

I'm trying to use the letter-classic class of the following version: \ProvidesClass{letter-classic}[2003/03/04 v1.1] The goal is to mix UTF-8 characters from German and Icelandic in an English ...
1
vote
1answer
38 views

Best documentclass for formulary (cheat sheet)

We are allowed to bring a formulary of 2 pages to our math exam. Obviously I need to put as much content on it as possible, using the tiniest font size available. Unfortunately I haven't found a ...
0
votes
1answer
43 views

wrong placement of figure in document

I want to insert the logo of my company at the beginning of the page(document). Here is the code for the same. Unfortunately, it spills over to the next page. \documentclass[paper=a4, ...
1
vote
1answer
34 views

How can I force an abstract to fit on the title page (if there is space) using the AASTeX package?

I am trying to format a paper using the AASTeX package. When I typeset the paper with the title, authors, authors' information, and the abstract, the abstract is automatically forced to the second ...
1
vote
1answer
57 views

Getting started with cls file

I am a newbie with LaTex, and today I need to start with CPE journal. I downloaded their document guidelines, which included a CLS, a TEX, a PDF and readme file. (you can get it from: ...
0
votes
0answers
48 views

How to use autoref or cleveref when the theorem environments are in the class file?

The journal LMCS provides a style, lmcs.cls, that contains definition of theorems environments : %%% Theorem environments % the following environments switch to a slanted font: \theoremstyle{plain} ...
3
votes
2answers
81 views

Different font; what are my options?

I'm trying to build a LaTeX document class, so that documents for my association can be easily produced using LaTeX. The problem is, the documents use a very specific branding that includes a logo and ...
3
votes
1answer
58 views

TikZ won't support HSB color model hsb in article document class

I'm trying to use the wave color model in a tikz picture using the document class article. When I do, I get the error message "Unsupported color model 'hsb'". Consider the code below. ...
1
vote
1answer
36 views

Fixing first paragraph indentation in custom class

I've downloaded a LaTeX dissertation template from my university that comes with its own custom .cls file. One of the first things I noticed is the paragraph indentation. Every single paragraph is ...
0
votes
0answers
52 views

Wrong A4 measurements that are not “pagesize” solvable

I would like my pdf document to have an a4 format. \documentclass[a4paper,12pt,oneside]{article} \begin{document} Text, text, text... \end{document} Unfortunately, when I print the pdf document ...
0
votes
0answers
29 views

change the options of documentclass for specific pages

I am using the following document class: \documentclass[11pt, twoside]{Thesis} As far as i understand the twoside option except from changing the margin in a book format style it also starts a ...
2
votes
1answer
37 views

What does runningheads do in the documentclass?

Although I'm a TeX/LaTeX neophyte, I've taken on a rather ambitious project of updating Differential Calculus with SAGE. As I go along I'm using the existing tex document to teach myself what each ...
1
vote
1answer
30 views

How to provide a picture for a 'global' class? [duplicate]

Is there a way to provide pictures for a 'global accessible' class file? To use my own class and style files from everywhere, I put them in ...
2
votes
1answer
27 views

standalone package -> Error Message: infeasable parameter

I try to convert tex2png with the following lines and use pdflatex -shell-escape test.tex The following lines are in the text.tex \documentclass[ preview, convert ]{standalone} ...
0
votes
0answers
28 views

Is there a unifying package for different editors styles

I'm regularly writing papers for different conferences and they all expect you to conform to a different cls, which I find to be a huge loss of time, since for every conference you have to relearn a ...
3
votes
1answer
24 views

How to find the parent of a class file

I am trying to use the ACM Small class in LyX. A LyX Wiki page says to create a LyX layout based on the parent of the class file: "Lets assume, the LaTeX class amcsiggraph.cls is a descendant of ...
2
votes
1answer
63 views

Remove blank page at end of \documentclass{letter}

When Trying to create a letter using the letter document class I get an unwanted blank page at the end of my document. It looks like it may be coming from the \begin{letter}{} macro as the first ...
3
votes
1answer
136 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 ...
0
votes
0answers
34 views

insert a pdf image(created in Tex) in a beamer slide [duplicate]

I am facing difficulty in sizing the pdf image being imported into the beamer slide presentation. This is because the original image generated in tex has a lot of unused space. Please advise me how I ...
0
votes
1answer
201 views

LyX say that no classes are available

I'm using LyX for some Maths coursework, I've installed LyX with MiKTeX twice now (re-installed after first encountering this problem) but I'm still getting the same problems. Basically none of the ...
1
vote
0answers
49 views

creating a class file : one column abstract in two column article

I am trying to create a latex class file, the thing i want to do is to span the abstract and keywords to two columns like the one in example below. I need help in modifying the code in class file to ...
4
votes
1answer
50 views

IEEE Class File 'ieee.cls' Error When Using PGF and Friends (root cause is the color package)

I have to use the IEEE class file which can be found here: http://mocha-java.uccs.edu/ieee/ There you can download the class file itself (ieee.cls) and a demo tex file called ieeecls.tex. When I ...
7
votes
1answer
69 views

Remember an class option with newcommand and CurrentOption

I'm trying to make a class but it needs to remember its arguments I'm using the file \documentclass[x]{test} \begin{document} \end{document} With the class \NeedsTeXFormat{LaTeX2e} ...
6
votes
2answers
159 views

b5paper option for book document class abnormal results

I'm using the b5paper option with book document class. \documentclass[b5paper]{book} \usepackage{fullpage} %%added to emphasize the difference \usepackage{lipsum} \begin{document} \chapter{Chapter} ...
5
votes
1answer
210 views

Tikz Graph without using a tikz document class

The following solution is absolutely perfect for my purposes, but I noticed that it requires \documentclass[tikz,border=5]{standalone}. Is there a way to get the same result with a standard ...
4
votes
1answer
78 views

Why doesn't nomenclature show up in TOC using this custom class?

Background: I'm trying to use a LaTeX class found HERE to create a thesis. The class has a scheme for enabling/disabling the creation of a "List of Symbols" using LaTeX's nomenclature package. When I ...
3
votes
1answer
69 views

User-Defined Document Templates

When writing homework sheets, I make use of a template whose preamble incorporates all of the LaTeX goodies that I typically require: packages, page parameters, user-defined commands and environments, ...
5
votes
1answer
50 views

How can I figure out the font used by a class file

I have a document class that isn't as thoroughly documented as I might like, and I'd like to figure out what font it uses. Is there an easy, universal way to do that?
2
votes
1answer
53 views

using IJNME Latex class file

I am trying to prepare a manuscript in Latex using IJNME class file. I have trouble compiling it. I cannot run their example tex file that is in their site under author's guideline. When I am trying ...
3
votes
2answers
115 views

Combining two files - document class error

I want to combine several latex files. I started with 'combine' package. I encounter a error of \newcounter{par}. Then I moved to using input or include, but then I faced unrecognized document class. ...
5
votes
1answer
53 views

Rendering issue with tikz-cd package and gtpart.cls document class

I need to make some fairly complicated commutative diagrams for a math paper, but for some reason, my installation of TeXShop is having trouble rendering even a simple diagram. Here is a minimal ...
2
votes
1answer
104 views

Tabular* environment in harvard-thesis template

I have one issue with tables in harvard-thesis template version 0.4. I cannot set column width with column types such as p, m, b or even custom column types. If I set width to any of the columns, the ...
3
votes
1answer
60 views

LaTeX OS recognition [duplicate]

Let's say I want to create a document class. Is there a way to make LaTex choose between packages (or package options) depending on the OS I'm working on? More precisely, I want LaTeX to switch ...
2
votes
0answers
80 views

CV / Resume class with good accompanying letter and document classes [closed]

I am refreshing my résumé and would like to use a class that works well stylistically with other classes for cover letters, research statements, and other documents. Quite often these documents have ...
3
votes
1answer
92 views

Automatic report generation from bibtex with Perl

I like to benefit from my existing myarticles.bib file to create a different report automatically something like in following picture (I prepared this template with tikz). What is it best way to do ...
2
votes
1answer
32 views

pspictures are gone when I change the class

The following code works fine and displays a square between two strings: \documentclass{article} \usepackage[pdf]{pstricks} \begin{document} aaaa \begin{pspicture}(25,25) ...
0
votes
1answer
69 views

Problem with making a custom class

I am trying to make a custom class file for a SOP. I think I am running into issues when using fancyhdr package but I'm not sure why. \NeedsTeXFormat{LaTeX2e} \ProvidesClass{sop}[10/10/2014 article ...