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

Is there a LaTeX class specifically for generating License Agreements?

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
39 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
38 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
74 views

fontspec setmainfont working

Here is a minimal problem example \ProvidesClass{cvMinimal}[2012/04/30 CV class] \NeedsTeXFormat{LaTeX2e} \LoadClass{article} %%%%%%%%%% % Colors % %%%%%%%%%% \RequirePackage{xcolor} ...
4
votes
0answers
38 views

How can showexpl be used with multiple document classes?

The showexpl package is used for typesetting (La)TeX code and its output, for demonstration purposes. What is the most effective workflow for using showexpl with different document classes? More ...
1
vote
0answers
99 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
81 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
39 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
106 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 ...
7
votes
2answers
82 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
121 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 ...
4
votes
2answers
121 views

\and command in \author tag

I have a problem with the \and command in an \author tag. My documentclass is \documentclass[11pt,twoside]{eitExjobb} and the .cls file can be found here: http://cl.ly/code/28202Q2P3I3g My code: ...
0
votes
1answer
72 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
104 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. ...
2
votes
0answers
48 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 ...
2
votes
0answers
242 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
69 views

LyX template for legislation?

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
77 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 ...
1
vote
1answer
358 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
46 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 ...
0
votes
0answers
62 views

How to transfer .cls from a flashdrive to my computers My Documents using .bat in UBUNTU? [closed]

i am planning to transfer my myclass.cls from my flashdrive to my computers My Documents in a more decent way so i want to create a .bat file where when clicked, myclass will be transfered to my ...
0
votes
0answers
56 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
133 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
121 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
53 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
68 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
51 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 ...
2
votes
1answer
176 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
49 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} ...
3
votes
1answer
81 views

Create command not using adjustbox package for inserting image

I am creating a test question using exam.cls and I think it would be different if i will include image in the question. But i dont really know how should I insert it. i found a solution code that ...
0
votes
0answers
100 views

What's the best option for creating a LaTeX poster? [duplicate]

I'm currently looking for a way to produce a poster using LaTeX. I found enough answers here on what are the possible ways to do it. Though, there is no way to compare them and find the best option ...
0
votes
0answers
72 views

Using two latex classes simultaneously [duplicate]

I have two latex classes and I would like to use them simultaneously. Let's say put title and cover pages from one class and rest of the context from the other one.
3
votes
1answer
413 views

Install custom .cls using TeX Live in local directory

Background I have a .cls file that I would like pdflatex to use. I have read the following How to make LaTeX see local texmf tree Per-project texmf directory Create a local texmf tree in MiKTeX How ...
0
votes
1answer
121 views

\titleformat does not seem to work when used within a class file

The following block of code doesn't seem to do anything when I define it in a custom class. But when I use the class but put this block in my preamble, it works as expected. \titleformat{\chapter} ...
3
votes
1answer
82 views

Why are my variables getting erased?

I'm making a custom document class and I've noticed that after my custom variables get typeset on the title page, they somehow get reset to nothing. They show up on the title page, but then my header ...
8
votes
2answers
137 views

Where should 1em be defined - when to use lengths in “em”

The table in the document below looks as expected when using the article document class. With other document classes, the rules dissapear. The reason seems to be that booktabs defines the with of ...
11
votes
3answers
314 views

LaTeX document without \documentclass

I need to create a really simple document template for other people to fill in and compile (e.g., they need to provide a name and email address). I could distribute it as a .cls file and a template ...
10
votes
2answers
119 views

How to set class options that can have multiple values?

Title says it all, but here's an example: the KOMA-Script classes provide the option toc which can have multiple values that don't interfere with each other, like values that enable the Bibliography ...
12
votes
3answers
313 views

Conflict between TikZ and university thesis class file

When compiling a document using my university's thesis class file and the TikZ package I receive an error message (missing number, treated as zero). Would someone know how I can solve this problem? ...
5
votes
1answer
91 views

Where should I define new command globally?

I'd like to define a command \alert{} by \newcommand{\alert}[1]{\textcolor{red}{#1}} in a way that I could use it on every new file. I was thinking to define it on some cls file (amsart for ...
11
votes
1answer
273 views

Change document class per page

Let's say I have a document that has many pages and some pages have different formats. For example, most of the pages are fine with \documentclass{article} but there may be pages in the middle that I ...
3
votes
3answers
183 views

How to find the .cls file of the document that you are typesetting?

I can't find the .cls file of the document that I want to typeset. The source code of the document is: \documentclass[11pt,stdletter,sigleft]{newlfm} \usepackage{charter} \widowpenalty=1000 ...
2
votes
1answer
281 views

Is there a good class/package for a lab notebook or journal?

I would really love to get rid of my dead tree laboratory notebook and replace it with a LaTeX version. I don't want to simply use the standard sectioning commands to differentiate what I've been ...
7
votes
1answer
269 views

Creating document like this [closed]

I am trying to create a handout like the one in the following link. Image: But I can't get it. Can someone help me create such a document.
2
votes
1answer
289 views

Disable two column mode for separate part

I am writing a document using the report class in two column mode, but I need a \section to spread across both columns, but how can I set that? Something like ...
5
votes
1answer
89 views

description environment missing in bioinfo class

Usually in my articles for the \documentclass[journal]{IEEEtran}, I use the description environment without getting any error, i.e. \begin{description} … \end{description}. However, when I used the ...
2
votes
0answers
120 views

What is the template for this paper? [closed]

I find those latex document really nice and would like to know if anyone knows how to obtain a similar look and feel ? http://zll22.user.srcf.net/EtaleCohomology.pdf ...
5
votes
1answer
131 views

Setup for producing multiple documents based on the same source file [duplicate]

Possible Duplicate: Guide to managing multiple resume with one LaTeX? I would like to make a combined résumé & CV document class that can be used to generate two documents with some ...
1
vote
0answers
607 views

Option clash for package inputenc when using Lyx with LaTeX class that already uses inputenc

I use Lyx to edit document whose class declares \usepackage[latin2]{inputenc} in its .cls file. While I only use languages for which Lyx uses the same encoding it only adds the same command ...
14
votes
1answer
197 views

Why do AMS document classes incorporate amsthm rather than loading it?

Why do AMS document classes incorporate the amsthm package, rather than loading it using the usual \RequirePackage mechanism the way they load amsmath and amsfonts? The document classes even ...

1 2 3 4 5