{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

3
votes
2answers
66 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
32 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
23 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
36 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
23 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
35 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
28 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 ...
3
votes
1answer
161 views

Row spacing of multi-line paragraph cell in `tabular` in the `res` document class

I was trying to compose my CV (as a mathematician) in LaTeX, and found the document class res on CTAN that appealed to me aesthetically. The cls file for this document class can be found here: ...
2
votes
1answer
22 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
20 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 ...
3
votes
1answer
110 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 ...
2
votes
1answer
46 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 ...
0
votes
0answers
32 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 ...
198
votes
12answers
119k views

Where do I place my own .sty or .cls files, to make them available to all my .tex files?

I know how to define a package or a class, but how do I make it available (to myself) at all times? Say I have the package file commonstuff.sty (or myprettyclass.cls), that I want to be able to ...
0
votes
1answer
183 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
39 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 ...
165
votes
26answers
139k views

What are the available “documentclass” types and their uses?

Some of the available classes of documents in LaTeX are well known and widely used, such as the article and beamer classes, while others are not so well known, such as the standalone class. I found ...
4
votes
1answer
49 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 ...
6
votes
1answer
9k views

Can I disable italics in the body text of a theorem without amsthm/ntheorem?

I'm submitting a paper and am required to use a provided document class which defines its own theorem environments, so I can't use packages like amsthm or ntheorem. The class doesn't define a ...
7
votes
1answer
62 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} ...
0
votes
1answer
302 views

Changing document format regardless of the document class!

Is there any way to change the format of a document such as single/double column, margins, etc regardless of the documentclass used? I am using iopart.cls and it does not have a twocolumn option. ...
2
votes
1answer
40 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 ...
6
votes
2answers
128 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
168 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
52 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
67 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
47 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?
3
votes
2answers
72 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. ...
1
vote
1answer
160 views

Change to two columns

I have a paper written in LNCS style. Is there any easy way to convert it to a two-column style? Simply using /two-column doesn't work as the columns are narrow, lines overflow, and it looks terrible ...
2
votes
2answers
806 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 ...
5
votes
1answer
49 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 ...
5
votes
3answers
762 views

How to make such a CV in LaTeX?

I am not good to LaTeX. I think I need TikZ? It should look like this: Can anyone help me? How to do that? Which document class should be used, how to make the sectioning look like that on the ...
2
votes
1answer
91 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 ...
5
votes
0answers
136 views

Changing layout is difficult or easy in LaTeX?

I am new to LaTeX. I am writing an article in LaTeX but at the moment I am not sure what should be the final layout of my article; so, I am writing it in IEEEtran format. I thought that it would be ...
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
75 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
82 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
29 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) ...
26
votes
5answers
7k views

How to write a LaTeX class file for my thesis

I want to design a new LaTeX for my college thesis, so that all students could use it. I have decent understanding of how LaTeX works. I am looking for some nice article explaining how to write a ...
1
vote
1answer
284 views

TeXMaker can't find my own class file

I've been using TeXMaker for a while now and it usually works fine. A couple of months ago i wrote my own class and style files, started to use them and it worked fine. I had placed the .cls and .sty ...
0
votes
1answer
64 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 ...
3
votes
0answers
63 views

Book-style page filling in article documentclass?

Simple question. I feel like it should have a simple answer but I can't find anything. The documentclass book (and default multicols) stretches content so that it fills the page. Now, I want to use ...
0
votes
0answers
53 views

How to instal document class type for use in R studio.

I found a template on writeLaTex.com for optica style articles. I downloaded the optica.cls from the optical website so i could follow that format. Just fooling around to learn more and unfortunately ...
0
votes
0answers
53 views

Babel error using Wiley book class: “Language not defined yet”

I am using a rather complex and custom template made by Wiley and try to translate it for a journal project published in french. If I understand well, babel translates the value of common class ...
1
vote
0answers
55 views

How do I get TeX to recognize my class? [closed]

I have a file myclass.cls in a folder, and I made a new document that uses myclass. However, my class isn't being recognized as existing. I'm using TeXworks on a PC. How can I get the class working?
1
vote
1answer
91 views

Which package is needed to achieve this LaTeX output?

I've recently read a maths paper (outside of my area of study, economics) and it seems to use a font and/or style which I am unfamiliar with. I do not have access to the .tex or .cls file for this ...
4
votes
3answers
166 views

Is memoir class like an extended version of book class?

Hope this is not a stupid question but I'm a newbie to LaTeX. I am using LaTeX to write my Humanities thesis and while I am concentrating on the content at the moment I am just using a template I ...
2
votes
1answer
1k views

How to Install SVMult

I'm struggling actually with an article to send to Springer. They ask me to use SVMult class. In my case I use \documentclass{SVMult} unsuccesfully. It is impossible to send or even continue writing ...
0
votes
0answers
44 views

Overview of page geometry, font sizes etc. of common document classes

Has someone precompiled a tabular or annotated graphical overview of the default lengths etc. of common LaTeX classes (standard, Koma/scr, memoir, beamer …) and put it on the net? I didn’t find any. ...