{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
28 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
100 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 ...
2
votes
0answers
20 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
48 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
54 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
112 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
139 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
34 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
64 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
43 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
36 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
46 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
45 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
76 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
58 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
64 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
78 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
28 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
61 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
58 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
44 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
39 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
47 views

How do I get TeX to recognize my class?

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
89 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 ...
5
votes
3answers
488 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 ...
4
votes
3answers
154 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 ...
0
votes
0answers
43 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. ...
1
vote
1answer
45 views

Compiling a file with two document classes [duplicate]

Just out of curiosity: Is there a way to compile latex document with two document classes at once? Suppose that I have a paper which start with line: ...
1
vote
0answers
19 views

Conditional for documentclass [duplicate]

I was wondering whether it is possible to execute a command depending on the used documentclass. \documentclass{dinbrief} %\documentclass[a4paper]{letter} \usepackage{ifthen} \begin{document} ...
1
vote
1answer
43 views

\rule Margin Spacing Issue for Horizontal Line

How can I get the horizontal line to not enter the right margin. It doesn't look symmetrical the way I have it. Ideally I would like the horizontal line to be the same distance from the side of the ...
0
votes
1answer
76 views

Inserting eps file into Quantitiave Finance's document class

I'm putting together a paper for submission to the journal of quantitative finance, they provide a latex template: ...
2
votes
1answer
75 views

Is there a document class as described in this question? [duplicate]

I am writing notes for self-lecture on a computer screen on a daily basis (attending math courses). I never intend to print these notes on paper, so the concept of "pages" is quite annoying ; I am ...
3
votes
1answer
2k views

Lyx 2.x: Document Class Not Available - Mac OS X 10.10 Yosemite PB 3

I'm running the latest Mac OS X 10.10 Yosemite beta, and I ran into a problem installing MacTeX (2014) and LyX (2.1.2). Upon successful installation of both, LyX would launch with an error: "Document ...
1
vote
0answers
95 views

add elsarticle class to texstudio

My question is generally about adding elsarticle document class to TeXStudio. In the installation documents it says that I should download .ins and .dtx files and compile them with latex. I don't know ...
2
votes
0answers
21 views

LaTeX; Refer in one document-class to chapters in another document-class [duplicate]

I want to include an article (with documentclass: IEEEtran) into a report (with another, company specific, documentclass). I want to refer in the article (myarticle.pdf) to the ten appendices of the ...
1
vote
1answer
215 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 ...
1
vote
1answer
124 views

Redefined maketitle gives error

I'm currently using a template I found online, it included a .cls file that modified the usual \maketitle. Every time I compile with this class I get an error after the \maketitlesaying There's no ...
3
votes
1answer
126 views

listings using tcolorbox for beamer documentclass

I'm trying to get listings using tcolorbox for beamer documentclass. My MWE is given below but could not get it working. Any help will be highly appreciated. Thanks MWE \documentclass{article} ...
4
votes
2answers
84 views

Change \part counter to text: from I to ONE

I have included the \part command into my dissertation in \documentclass{report} which automatically uses Roman numerals: I, II, etc. as its counter. Is it possible to change these to text/string ...
2
votes
0answers
54 views

Interdependencies between subfig, subfigure and subcaption for journal papers

I am using informs3.cls template to write a paper. I have run into serious difficulty when making a figure with subfigures. The problem is that: subfigure package is obsolete. subfig is not ...
5
votes
1answer
84 views

Need help indexing subfigures: reference bugs using `subfigure` and `subcaption` not compatible with specialized document class

I'm a PhD student currently coding my dissertation into Latex. My school developed a customized document class that they strongly recommend using for compliance with layout and formatting standards. ...
0
votes
0answers
98 views

Making a homework template

Let's say I wanted to make a homework template (for math classes). Should I make a .cls file and use that as my document class, or use the standard article class and just make a .sty file to define ...
1
vote
0answers
113 views

Using refman document class within a different document class

I want to include a reference manual for my code within a document that uses the report class, in the appendices. Is that possible?
3
votes
1answer
37 views

How to change the behavior of a package via the class options?

I'm writing a document class based on the book class. In this class I have some code as below: \RequirePackage[total={10cm,18cm},paperwidth=16cm, paperheight=23cm]{geometry} ...
0
votes
0answers
39 views

Unifying article and report

I'm formating my thesis. When writing drafts I used documentclass article and now I'm migrating to a template which uses documentclass report. I don't like to manualy change \section to \chapter and ...
2
votes
0answers
836 views

.cls file not found

I'm running Windows 7 and have to run a special class file for my thesis. I've tried holding the file 'tutthesis.cls' in the same directory as the .tex file itself, but that didn't work. I also tried ...
0
votes
1answer
78 views

Creating static numbered sections in a document

I am thinking of writing a class file for this, but a basic problem is stumping me. I have a document with numbered sections in which a particular section (say section 23) always contains a certain ...
3
votes
1answer
32 views

documentclass{book}: Page content aligned on bottom of page

I'm still a beginner on LaTeX, but at the moment I'm working on a book. I'm working with Gummi and for some reason I started my work with \documentclass{article}. As I changed the \documentclass to ...
0
votes
0answers
12 views

Document class breaking references [duplicate]

I am using this document class for a resume, however when I include the class, I cannot reference labels. I get the error: LaTeX Warning: Reference `LastPage' on page 1 undefined As you can see I ...
7
votes
1answer
732 views

How can I make my LaTeX paper look like this?

I've seen MANY papers created with LaTeX that have the following format: In particular, I like the font sizes and the way that section titles are centered and in all caps. Does anyone know if ...