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

Document class with table in the header [closed]

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
604 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
62 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
292 views

Caption package incompatibility with \@makecaption in custom report class [closed]

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
89 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
546 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
245 views

Difference between oneside and twoside options of documentclass [closed]

I have edited the question for the question to be of general value. \documentclass[12pt,a4paper,twoside]{book} \documentclass[12pt,a4paper,oneside]{book} what is the difference between the options ...
15
votes
1answer
444 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
46 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
375 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 ...
6
votes
1answer
4k 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
96 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
229 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
91 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 ...
2
votes
2answers
4k 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 ...
2
votes
1answer
3k 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
34 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
66 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 ...
0
votes
0answers
54 views

Text flowing out in two column format [duplicate]

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
1answer
344 views

How do I achieve this chapter optic?

I'd like to modify the chapter appearance to become similar to this draft: I use XeLaTeX and Minion Pro/Myriad Pro (from Adobe Reader) as main fonts (the sans font in the screenshot might be a ...
2
votes
1answer
366 views

Modifying a thesis class file

A friend of mine gave me a class file he had used for his dissertation, which he submitted this spring. This is a class file he wrote; it was not provided by the university. Between spring & ...
10
votes
0answers
488 views

Is there a document class or package specifically for drafting United States legal documents?

I recently drafted a non-disclosure agreement in TeX using the document class article. I liked doing this a lot and I intend to continue doing my legal paperwork in TeX. Do document classes or ...
14
votes
3answers
894 views

How to make LaTeX not “Look like Lab Notes” [closed]

I often use LaTeX for general writings, as well as for my Lab and lecture notes. (Often, but not always via LyX). A large portion of this is RPG homebrew. One of my friends (who wouldn't know what ...
2
votes
1answer
424 views

Technical documentation class

I just made a component that is going to be added to our platform in the next month. As such I need tu draw out some documentation for the guys that will do the integration. Is there any class that ...
6
votes
1answer
127 views

Is there a LaTeX class specifically for generating License Agreements? [closed]

Is there a LaTeX class designed, or adaptable, to generate License Agreements easily? For example, it should be easy to generate sections: Terms, Conditions, etc., with numbered/unnumbered ...
0
votes
1answer
2k views

Undefined control sequence \begin{abstract} but abstract appears

I'm using a customised (not by me) document class called geogthesis to produce my Geography PhD thesis. When I compile the file I get an error saying: Undefined control sequence. [\begin{abstract}] ...
0
votes
1answer
341 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. ...
5
votes
2answers
4k views

fontspec setmainfont working

Here is a minimal problem example \ProvidesClass{cvMinimal}[2012/04/30 CV class] \NeedsTeXFormat{LaTeX2e} \LoadClass{article} %%%%%%%%%% % Colors % %%%%%%%%%% \RequirePackage{xcolor} ...
2
votes
1answer
2k views

XeLaTeX problem? Undefined control sequence.

I'm new to LaTeX. I downloaded a template for making a CV. here It says to be compiled with biber and XeLaTeX Im trying with xelatex vc_10.tex but always getting errors, fixed them by searching ...
7
votes
2answers
165 views

How do I list the available classes in my installation?

I am using TeXLive in Linux and want to learn and experiment. How can I list available document classes in my installation?
2
votes
0answers
219 views

Custom class causing errors [closed]

I am using a custom class for my thesis. It is causing errors whenever I try to make a chapter (the class is based on report). I have tracked down that this piece is the one causing the error: ...
5
votes
2answers
1k views

Adding .cls to portable MiKTeX

I guess specifically it would help to know where the texmf path is. I make extensive use of a particular class and need to add it to MiKTeX portable. Can someone point me in the right direction? I saw ...
9
votes
2answers
394 views

New class base on book class with options

I created a class of my own that uses book as base class. \NeedsTeXFormat{LaTeX2e} \ProvidesClass{manuscript}[2013/03/23 Creative writing manuscripts class] \LoadClass[a4paper,12pt,oneside]{book} ...
1
vote
1answer
240 views

Example gallery of classes, macros, packages, etc.?

Is there an example gallery similar to http://texample.net/tikz/examples/ for mostly non-graphical classes, macros, CTAN contributions, etc.? E.g., a gallery of examples for the packages available ...
0
votes
1answer
475 views

Missing UTF8 as document class, conflicts with .sty-file. How can I add UTF8?

Sorry if this is a stupid question, I have tried several different solutions but none work. I have a custom class that I need to write a document in. This class automatically generate some pages with ...
5
votes
2answers
599 views

Error using Minted for syntax highlighting in custom document class

I am writing Master thesis in LaTeX and want to use minted package for source code syntax highlighting. I have installed it successfully and minimal example from minted documentation works just fine. ...
5
votes
2answers
2k views

how to deal with multiple titles and multiple documents?

I am compiling my dissertation which is composed with several separate papers (with independent LaTeX code). I have a title for my dissertation and want to insert my individual papers with their own ...
4
votes
0answers
572 views

Stylish Class to write a Book in LaTeX? [closed]

I want to write a book in LaTeX, but not in the conventional way. I want some good fonts and better page layout. The following link is an example of what I want: ...
3
votes
0answers
147 views

LyX template for legislation? [closed]

Anyone know of any simple template for legislation which is easy to modify and looks great so I don't have to spend several hours to figure out the syntax? Edit: By legislation, I mean something ...
1
vote
0answers
231 views

Lyx - Editing the document class [closed]

I am using LyX Beamer but want to the option [t]. Using Document -> Settings -> Document Class if I choose presentation (beamer) and put the [t] in custom it does not compile. Is there a way to define ...
3
votes
1answer
3k views

Undefined control sequence with Color Package in Custom LaTeX document class

I have the following class file shown here: % \NeedsTeXFormat{LaTeX2e} \ProvidesClass{puseniorthesis} [2008/05/02 v1.4.1 Princeton University Thesis class] \RequirePackage{setspace} ...
2
votes
1answer
272 views

How can I reduce the left margin in the documentclass hitec?

I am quite aware of the package geometry, but it does not seem to play nice with the hitec document class. I have looked at related questions How to reduce the margins and How can I change the margins ...
2
votes
1answer
148 views

Move address to the right and recipient to the left in a letter

I wanted to try to write letters in LaTeX but the problem about the layout of the letter is the fact that the sender's address is on the left and the recipient on the right but in French it is ...
1
vote
1answer
762 views

Sphinx: Overriding the document class

I am using Sphinx to generate multi-output documents (Epub, HTML, LaTeX). How can I change the use documentclass? The following snippet should (in my opinion) override the used class but results in ...
0
votes
1answer
144 views

Environment not defined

I am writing a thesis with the gatech-thesis class. This class defines an environment, preliminary. When I compile (in LyX or in TeXworks), I get an error that this environment is not defined. The ...
1
vote
1answer
135 views

Invoice class for variable pricing

One of my clients uses me for bug fixes and feature extensions on various websites. We agreed to a pricing structure that is some sum per hour for the first 50 hours of work in a month, and a lower ...
2
votes
0answers
171 views

Combine two .tex files [closed]

I'm making my phd dissertation in LaTeX. Although I am a noob, everything works like a charm, but now I have to make the titlepage. My university had a LaTeX .tex file (with .sty file,...) which ...
1
vote
1answer
106 views

How do I redefine a custom environment that I have previously defined elsewhere?

I made a custom class for homework assignments and I've defined a solution environment as follows: \def\qed{\ensuremath{\square}} % <-QED Symbol \newenvironment{solution}{% <-Solution ...
4
votes
1answer
842 views

Document Class for Reference Cards

I've seen a bunch of reference cards (either obviously or known-to-be TeX'd) that look exactly alike in format. Is there a documentclass or environment that's being done to enable this or, if not, ...
4
votes
1answer
105 views

Display text on begin document [duplicate]

I'm developing my own documentclass. How can I make some text appear on the beginning of each document with this class? For now I'm working with this in the class: \newcommand{\showAtBegin}{Text} ...