{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

5
votes
1answer
37 views

Passing arguments to class in a key=boolean value manner

Assume I have a bunch of flags which I want to pass to my class, how do I do this? If you see the example below, I am looking for passing flags in the form: key=<boolean value from flag> to ...
0
votes
1answer
107 views

Can't install webomints package

I'm trying to replicate the answer by Gonzalo Medina here: document class for a restaurant menu However, I am unable to get the decorative corners. My results: In attempting to remedy this, I ...
1
vote
2answers
55 views

Remove header from class file

I'm a TeX newbie, and I try to edit a template tex class file, but I can't find where the header section is defined. It looks like this: but I want to remove it completely and edit the header from ...
1
vote
1answer
113 views

Need urgently assistance in LaTeX - unable to change the document class without totally blowing my thesis

First of all I'm a beginner in LaTeX, of course I used it for writing short articles but never for a thesis... For This reason (now I think it was stupid) I looked for a sample of a thesis and I was ...
0
votes
0answers
50 views

In a custom documentclass, maintain chapter title headings but move page numbers to bottom

I am using a custom documentclass provided by my school for writing my thesis, which is a modification of the documentclass book. They also give a template, which includes the line \pagestyle{...
0
votes
1answer
39 views

Override a custom documentclass to put all page numbers at the bottom

I am using a documentclass provided by my school to write my thesis. I realize this question may not have an answer without my being able to understand what is written in that file but let me try ...
1
vote
0answers
16 views

How to install \documentclass{ar-1col} in TexMaker

How can I install \documentclass{ar-1col} in my LaTeX document with texmaker? I need this specific layout for a scientific journal, but the standard document class is \documentclass{article}. When I ...
0
votes
1answer
40 views

How can I change the width of page in latex [duplicate]

I am wring the paper that is formatted by elsarticle. However, the margin between text and left. right page look big. Hence, the text length is very narrow. Could I change it in the file \...
0
votes
0answers
25 views

Setting the margin for chapters/sections/etc. in a class file

I would like to be able to configure chapters, sections, etc. to include a margin indent, while headers and footers for the page should use the standard margins. So for example something that looks ...
0
votes
1answer
59 views

Use variables/properties in class file

I have a class resume which I use in a .tex file as \documentclass{resume} \begin{document} \end{document} but I also want to define some variables in my .tex document to be used in my class. How ...
1
vote
0answers
62 views

Combining two document classes [closed]

I'm finalising a thesis using the Classicthesis template. Also, I need to replace the Abstract included in that template with an abstract my University uses. The problem is that just as ...
2
votes
2answers
75 views

How to remove the date under the draftmode in AEA document class?

When using the AEA document class in draftmode, there is a date command that appears with the \maketitle. Does anyone know how to eliminate it? When using \date{} as would usually work, the date is ...
3
votes
0answers
44 views

Is a document compiled with pdfLaTeX which includes a Form environment (hyperref) likely to compatible with the standard Linux pdf viewer?

I'll offer the disclaimer that, in my question, I may have been stretching the truth when I said `a' Form environment. The Form environment is implemented in a .cls file to which there are multiple ...
4
votes
2answers
186 views

Two abstracts in two languages in Elsevier class

I have a problem with putting two abstracts under the title of my article in elsevier class. I am using this code: \documentclass[preprint,10pt,3p]{elsarticle} %% \documentclass[preprint,review,...
1
vote
0answers
59 views

Second page skipped [closed]

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
50 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 \documentclass{birkjour},...
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
179 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 directory,...
0
votes
3answers
68 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
35 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
57 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
338 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
80 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
48 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
80 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
183 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 ...
3
votes
1answer
39 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
52 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
70 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
95 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
89 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
80 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
99 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
63 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
95 views

jou class apa6, problem with one column [closed]

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
55 views

latex document formating

Hello Does anybody knows how should I do to make my latex document looks exactly like this one Best regards
2
votes
0answers
143 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
144 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 default,...
4
votes
1answer
463 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
103 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
161 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
76 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
243 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
141 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
113 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 ...