{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

1
vote
0answers
55 views

Second page skipped [on hold]

I have a document \documentclass[a4paper,12pt,openany,leqno,footinclude=true]{memoir} It skips the page after the title page i.e. after the titling page \end{titlingpage} The first page starts at ...
7
votes
1answer
91 views

Check what kind of document class is used

I have defined a .sty-file which I use in a report, which holds a lot of good information and styles for how my documents should look like. This have been working great, until when I tried making a ...
0
votes
0answers
48 views

About texhash as a user and not as a root

I use Texmaker 4.4.1. I use Mac OS X Yosemite 10.10.5. I've installed birkjour.cls as a root, and everething works fine as a root. When I try to run a file as a user using ...
0
votes
0answers
33 views

What is a `\document class clv2`. Why it has so many compatibility issues [duplicate]

I am using Texmaker to write an paper in \document class clv2. I have already written the same paper in \documentclass[conference]{IEEEtran} but conversion in \document class clv2 is so difficult. ...
0
votes
0answers
12 views

algorithm not coming properly [duplicate]

I want to write an algorithm like this using \documentclass{clv2} but my pdf is not being generated because of nested loops.
5
votes
1answer
177 views

I would like to create a custom-made “class” for my lab reports

I regularly write chemistry lab reports. Over time, I figured which packages to use. However, I would like to write some sort of superclass (like in C++) so the following code is read in the ...
0
votes
3answers
64 views

Algorithm in document class clv2

How to write an algorithm in an article in \documentclass{clv2}, can anybody send me a working model with dummy algorithm, because I guess \caption is creating problem. I want to send it to ...
1
vote
0answers
34 views

Documentclass Standalone - Outcome with rounded corners

Is there an option that the result/ whole document of a standalone file has rounded corners? Just like rounded corners for tikz nodes.
2
votes
0answers
56 views

Document type “book” and sections/chapters [closed]

I am using the class "book" for the first time. I am not sure if a code I copied is causing the following or this class type, but my problem is that there's a header on every other page saying ...
1
vote
1answer
276 views

How can I add phone number for corresponding author in elsarticle style

Following the Elsarticle template, they provide the way to add corresponding author as below. %% Title, authors and addresses %% use the tnoteref command within \title for footnotes; %% use the ...
3
votes
1answer
77 views

\figure creating vertical space

I have the following problem: say I have three paragraphs of text, and there is an \figure command between the second and third paragraph. If the graphics float is put somewhere else (say, at the top ...
0
votes
1answer
44 views

Use upright font (no italics) with svjour3 (springer)

I cannot find how to do that automatically for all the theorems in my latex document with the class svjour3 (provided by Springer). I use amsmath too in my document.
5
votes
0answers
148 views

Converters between formats in different journals [duplicate]

Often, a paper is submitted to a journal, rejected, then sent to a different journal. Each journal has different style guides. In theory, changing the style should be as easy as changing the document ...
0
votes
0answers
72 views

Cannot use \usepackage with custom document class “ws-srl”

I am having problems with \usepackage using a custom document class. An error was returned whenever \usepackage was used. Please help me. \documentclass{ws-srl} \usepackage{caption} \begin{document} ...
1
vote
2answers
165 views

How to change margins in documentclass thesis

I am using a template for my thesis and I would like to change the margins. Actually, I'm satisfied with all the margins, except the top margin which is too tight. But when I try to use geometry ...
2
votes
1answer
37 views

Why do options listed in \LoadClass not affect?

I have listed dvipsnames (or other options) in \LoadClass with the hope I don't need to specify dvipsnames (or other options) in \documentclass. Apparently this does not work as what I expect. It ...
1
vote
0answers
49 views

Clash between \newtheorem and \documentclass{svjour3}

When I write a \documentclass{article}, if I want to define an environment called Theorem, I use \newtheorem{theo}{Theorem}, then when I write a theorem I use \begin{theo} and \end{theo}. I get used ...
0
votes
1answer
69 views

Revision Control Table for SOP

I am using my own class which was based on class "Book". Now, I want to create a table for revision records. I am thinking of something like: \revcont{}{}{}{}{} \revcont{}{}{}{}{} where each ...
3
votes
1answer
75 views

A way to generate Dynamic command names

I want to save blocks of code/info in a LaTeX file using commands, but I have no way to know how many blocks will be needed. I am wondering if there is a way to create dynamic names of commands so ...
14
votes
2answers
1k views

What is the name of LaTeX's default style and why was it chosen for LaTeX?

LaTeX has a unique style compared to other document formatting applications and style guides. What is the name of this and why was it chosen for LaTeX? Why was the particular Computer Modern font ...
3
votes
1answer
79 views

What typeset does LyX use, and how to convert it to AmS-LaTeX (amsart)

I have a document in LyX, and I would like to convert the typeset to AmS-LaTeX (amsart) (if it is not in that form already). What typeset does LyX naturally use? Is there a way to do this directly on ...
0
votes
1answer
78 views

Choosing a Document Class

I'm a high school math teacher and use latex to make all of my worksheets, tests, reviews, and handouts. I haven't really used any other document class besides article, but I know that there are a lot ...
1
vote
0answers
89 views

proposal documentclass problem

I am having the following minimal example, using the document class proposal. \documentclass{proposal} \begin{document} a \end{document} on both my computers I get the following when running ...
0
votes
0answers
22 views

Unable to install res.cls; MaTex 2015, Yosemite, Texshop [duplicate]

So first of all, I know how to install .cls files. In fact, not 30 minutes ago, I successfully installed a class file on a different mac with, as far as I know, the exact same setup as me. So I'm ...
4
votes
1answer
59 views

Patching a command with an optional argument or declared with \DeclareRobustCommand

To re-define a command to contain itself (patching in TeX parlance) you usually use \let. This answer by @egreg says: Never use \let on commands defined with \DeclareRobustCommand or commands ...
1
vote
0answers
84 views

jou class apa6, problem with one column

I have a problem trying to insert an equation cause is too large, so, I use the enviroment multicols, and @twocolumnfalse, but when I run the document, the precendent text its displayed in one column ...
0
votes
0answers
53 views

latex document formating

Hello Does anybody knows how should I do to make my latex document looks exactly like this one Best regards
1
vote
0answers
133 views

Converting .tex to .doc - LaTeX2RTF

As the title says, I've converted an academic paper that I have in TeX that needs to be converted into Word (damn you old-school publishers!). After trying a bunch of programs, I've had the best ...
1
vote
1answer
119 views

Overriding the default font size for custom classes

I'm in the middle of writing a document class (let's call it base.cls) which serves as base class for several other classes I'm writing. The base class itself is based on the article class. By ...
2
votes
1answer
337 views

!Latex error: Option clash for package geometry

Hi I am getting option clash package error where as I am declaring geometry package only once as below: \documentclass{vldb} \usepackage{graphicx} \usepackage{algorithm} \usepackage{algpseudocode} ...
1
vote
3answers
98 views

Which LaTeX classes are most widely used for scholarly articles? [closed]

Which LaTeX classes for articles are widely used for preprints (e.g., ArXiv) or journal submissions? To avoid a huge list of class files, only include publisher's properietary class if they are used ...
1
vote
1answer
148 views

Changing header of Questionnaire sdaps

I am new to sdaps and I want edit below header, which was auto generated by sdaps. I was unable to edit this use using latex. I want Add description along with index number like this in to the ...
1
vote
1answer
70 views

How can I re-order front matters (i.e., Title page, Abstract, etc.)?

I am trying to put the front matter of my thesis as follows:Title page, Abstract, Acknowledgements, Table of Contents, List of Tables, List of Figures. But I was not able to edit the class file to ...
1
vote
1answer
214 views

Bibliography in document class aip-cp

I am using the documentclass aip-cp but I am having the message: You have requested document class aip-cp,but the document class provides article. But the document come out nicely. Besides, I am ...
2
votes
2answers
137 views

How can I use this font not only in math mode?

I'm trying to change the font in one text, but it only applied to math mode. I want it in everything. Adding \usepackage{gfsartemisia-euler} should do the trick. The preamble as it is now: ...
1
vote
1answer
107 views

Question about setting up workflow for making LaTeX documents containing mathematics

I want to make notes in the form of definitions, theorems, proofs (of theorems), examples and illustrations ( images ). Each definition, theorem, etc. is an item in a ( virtual ) list. The point being ...
5
votes
1answer
315 views

Typesetting an infinite page

How would I go about typesetting a document which will end up being printed on a long continuous roll of paper. The paper is 21cm wide (a vertical A4 page width) and infinitely long. Obviously I ...
5
votes
1answer
408 views

Latex class for one page document

Which class should I use to write simple documents? With 'simple documents' I mean short documents (about one or two pages) without the indication of author, title and dates. Wikipedia says that ...
0
votes
0answers
44 views

Affiliation affected by document class

I am trying to add an affilliation to my article, using \afill In the first answer here, they use the document class \documentclass[a4paper]{article} While I need to use the document class ...
5
votes
1answer
180 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
176 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
1answer
85 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
42 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
1answer
65 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
57 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
108 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
146 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
177 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
48 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} ...