{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
13 views

Why don't book, report and article provide the same commands?

The popular question Regarding the `book`, `report`, and `article` document classes: what are the main differences? collects many differences between the book, report and article classes. In ...
0
votes
1answer
14 views

LyX 2.1.4 does't load Document Classes after using Reconfigure

I tried to add on the LyX (Windows 10) Layouts folder some .layouts, and after I run "Tools -> Reconfigure" and restarting LyX it doesn't neither the default classes. How can I solve this problem? I ...
0
votes
0answers
17 views

elsarticle.cls keywords not printing while using prletters.sty

I am formatting a manuscript in a template provided by Elsevier PR Letters. However \begin{keywords}......\end{keywords} is not working when i am using prletters.sty provided by Elsevier specific to ...
0
votes
1answer
35 views

Name of the author vanishes on titlepage

I cannot figure out why everything but the author's name appear on my title page. I use \documentclass[12pt]{uvamath} from my university and \title{Title} \what{Blabla paper} \author{Person} ...
1
vote
1answer
27 views

Classes or styles for a standalone index

I'd like to create a document which is a standalone index (of reviews: the data are the reviewer, the volume and page, and the name of the reviewed item). Organising the data is not a problem (it is ...
1
vote
0answers
10 views

Convert a two-column class into a one-column

I am using tccv document class in order to create my academic and my working cv. However, I believe that an one-column variance of this class could be more convenient for my academic purposes. For ...
1
vote
1answer
47 views

Passing details (commands) between two

I'm working on my CV and the covering letter and I would like to compile both documents (two different document classes) in one run (more or less). Either way, I followed the example as shown in this ...
2
votes
1answer
81 views

How do I reproduce this document theme?

It seems to me very similar to the default Beamer theme. I like it very much and wish to produce article with it too. What should I do to reproduce this?
1
vote
1answer
24 views

File `sdaps.cls' not found error

I'm new to SDAPS. So after I followed the tutorial I tried with my own simple .tex file: \documentclass[12pt]{article} \begin{document} \title{Operating System MCQ Paper} \date{\today} ...
3
votes
2answers
75 views

In what directory should I store my new LaTeX template?

I just downloaded the elsarticle document class. In the unzipped directory, there are .bst files, .tex files, a .sty file, a .pdf file, and a very unhelpful README. Where should I put these files in ...
0
votes
0answers
11 views

Paragraph ended before \@float@Hx was complete - problem inserting figure [duplicate]

I'm using a custom .cls (provided by my university) for thesis writing. I discovered that otherwise valid figure code (copied from other documents) doesn't work. Here is a full, simplified example: ...
2
votes
1answer
29 views

6x9 document class?

How do I explicitly define my documentclass to be 6x9 (i.e., typical book style)? \documentclass{article} %Russian-specific packages %-------------------------------------- \usepackage[T2A]{fontenc} ...
1
vote
0answers
43 views

Difficulty with the acronym package

Having a problem with the package acronym and the class file that my school provides. Not sure how to provide a MWE since I think the issue is tied up with the custom class file the university ...
19
votes
4answers
492 views

Creating a class file vs using packages

In my limited LaTeX experience, I've always found that I can accomplish what I want by just using the relevant set of packages, even for more complex formatting. If I were to try and create a ...
1
vote
0answers
29 views

TIKZ with the siamltex1213 class

pdflatex does not work with siamltex1213 class as mentioned in this question. Also TIKZ does not work with this class as mentioned in this comment. Are there any workarounds for using TIKZ with the ...
1
vote
1answer
20 views

Inherent issues in a resume template

I modified the resume template found here. I am facing the following issues: The bullet points are in the middle of the two lines, I am unable to place them directly before the beginning of a ...
0
votes
0answers
36 views

Titles not vertically aligned

I am writing a text using a class file designed by my university. This class file, however, does not allow for lists of symbols, so I am trying to modify it slightly in order to insert one. The class ...
5
votes
1answer
77 views

Algorithms and amsart

Basically, I have copied the code from answer to this quesiton, for I have to translate some words. I have only changed documentclass from article to amsart. \documentclass[11pt]{amsart} ...
4
votes
1answer
26 views

english-greek language in tccv document class

I am using tccv document class in order to create my cv in Greek. For this reason I mainly have two questions: (1) is it possible to print my name in Greek but leave "curriculum vitae" in English; (2) ...
1
vote
1answer
92 views

How can I make a professional looking article layout?

Elsevier and Springer and other publishers provide latex classes for authors, similar to the standard article class. But those classes don't have the full published formatting, it's just for ...
3
votes
1answer
47 views

Splitting a class file

I am writing a class file and I use a lot of constants (length, colours, strings…) that I would like to take out of the cls file for cleanliness. I have tried ...
0
votes
0answers
21 views

Text is too closely spaced preceding empheq environment [duplicate]

This is a follow-up question regarding a previous question: Previous Question In the dukedissertation document class the solution given in the link provided above leads to improper line spacing ...
1
vote
1answer
50 views

How to pass title (or other parameter) to class file

I know LaTeX just to the point of making simple documents and modifying simple characteristics of a document's layout. Now I'm creating a class for a kind of document in order not to have to copy a ...
2
votes
1answer
81 views

Conflict between TikZ and university dissertation *.cls file

When compiling a document using my university's dissertation class file and the TikZ package I receive 3 error messages: 1) Missing number, treated as zero [\xdef], 2) Undefined control sequence. ...
0
votes
0answers
44 views

Starting chapters on a right-hand page not working

As document class I'm using itsas_pfc, with the content I pasted below. I know it's big but, as I'm not very familar with LaTeX, I dont want to touch a lot the code so better if I post the entire ...
3
votes
0answers
88 views

What software can be used to publish an internal technical journal for my company?

I'm in the engineering department of a young company, and we're playing with the idea of starting an internal technical journal. I've found LyX to be extremely powerful for writing papers, and have ...
1
vote
1answer
30 views

Generic title command used to insert a pdf or text specified as key value

I'm trying to get my own generic title command I can use either to include a pdf file as a title page, is that file exists, or include a text subdivided in keys using the xkeyval package. My question ...
1
vote
1answer
75 views

Fixing a class file

This may be a problem with too narrow an audience for this forum, but I'm rather stuck at the moment. I'm attempting to build my dissertation document. My school's style guide is decidedly ...
1
vote
1answer
175 views

LaTeX for writing a fiction book [duplicate]

I am wondering if one can use TeX/LaTeX to write a full-fledged fiction book i.e. a prose, literature (not poetry) e.g. if Conan Doyle wished to write his Sherlock using TeX, what would you have in ...
2
votes
1answer
49 views

\empheqlbrace autoscaling problem with dukedissertation document class

I am using the empheq package to group equations organized using the align command. If used in an article document class the left brace automatically scales wonderfully to group equations organized ...
2
votes
0answers
69 views

LaTeX document class for conference talk notes?

I want to typeset some notes I'm taking at talks within a conference. These are not lecture notes, and are taken online without being filled in later with information from textbooks or interaction ...
1
vote
0answers
41 views

How do I make the landscape option of documentclass work?

When i use landscape option of documentclass, It only rotates the paper and leaves the text as portrait, so the text almost touches the right margin. How do i use the landscape mode properly by ...
2
votes
1answer
37 views

Mysterious horizontal rule in custom class file

I am working on a customized class file for a journal project, and the output PDF is not what it should be. Here is a link to the customized class file I have been modifying: ...
3
votes
2answers
48 views

formating lines in the paragraphs

I'm writing report in latex .But my document appear with not good style all lines in paragraphs not in same length >How to get that ? edit: \documentclass{book} \begin{document} \pagestyle{empty} ...
3
votes
1answer
75 views

Unused global option in KOMAscript wrapper class

I want to write several classes, most of them will use KOMA classes as base class. However I stumbled upon the problem that some options (mainly concerned with layout) are not processed if given in ...
2
votes
1answer
55 views

Installing packages in my private tree from a .ins file

I've recently created a document class and have not long finished wrapping it up into a DTX file. I have an installation file the looks like this: %% %% Licence info %% \input docstrip.tex ...
0
votes
1answer
88 views

How to prevent badly cut words in latex?

Here is the thought. I wish if there is any package or syntax in Latex that makes any arbitrary document class to cut words as less as possible? I mean for the sake of sentences at the end in a ...
0
votes
2answers
66 views

Adjust margin: Chapter title extends in left margin

I am using a custom document class and template for my thesis. Both can be found here (they are really long, otherwise I'd copy and paste): ...
0
votes
0answers
29 views

Font Identification [duplicate]

Can anyone identify the font that is used in this article? Furthermore, is this font compatible with the 'article' class? Note: Using CTRL+D within Adobe Acrobat presents a number of fonts the ...
0
votes
0answers
84 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
132 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
120 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 ...
5
votes
1answer
330 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
83 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
30 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
26 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
84 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
33 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
84 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
47 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 ...