Questions tagged [document-classes]

{document-classes} is for questions relating to the document class of the TeX file. This sets up various document-wide formatting elements.

69 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
60 views

Document Class (or Alternative Solution) for Documenting Programming Code

Different from writing a report or thesis involving code, I have the goal of producing a transcription of a C++ solution involving many projects with many .h and .cpp files. Furthermore, this document ...
3
votes
0answers
121 views

Writing custom class - requiring a specific engine

I am writing a class which specifies the correct layout for my institution (actually I am modifying an old version). The class includes two custom fonts (Verdana and Georgia) and a logo which should ...
3
votes
0answers
146 views

Single format, free (e.g. LPPL licenced), journal article documentclass with existing corresponding MS Word templates

We are planning a new open access scientific journal. I need to write Author's Guide, and hence prepare journal template - format. I want to have MS Word and Latex templates. Even though I wrote ...
2
votes
0answers
38 views

An Automatic Way to Produce “Author Contribution” Section

Background Academic journals and other scholarly publications are beginning to adopt a standardized requirement for Author Contribution sections. This is a section in which authors are labeled based ...
2
votes
0answers
146 views

Bibliography style in class file

I wonder if it's possible to add all bibliography style file (.bst) to class file (.cls). I want to make one file with all styles, definitions, etc.
2
votes
0answers
83 views

Shift some of footnotes to the very end of the document, after the References

I am editing an article for the term paper purpose. I am adding some footnote in the document. But my hope is that some of the footnote will appear at the very end of the document, after the ...
2
votes
0answers
360 views

Is there a documentclass for stage or screenplays?

I need to convert a stage play from an ODT document to LaTeX. I am hoping to find a documentclass that implements the conventional script formatting (vs published formatting) as described below: ...
2
votes
0answers
116 views

Difference `a4paper` documentclass option and setting `\paperheight` and `\paperwidth`

When I use the code \documentclass[a4paper]{report} \usepackage{calc} \usepackage{tikz} \setlength{\headheight}{10mm} \setlength{\hoffset}{0mm} \setlength{\oddsidemargin}{20mm-1in} %\setlength{\...
2
votes
0answers
101 views

fancytooltips fails to display popup windows with documentclass{jfm}

I am writting an article using the \documentclass{jfm} provided by the journal and I have some issues with the fancytootip package. It doesn't display the popup windows but when I come back in \...
2
votes
0answers
115 views

Difference between tableofcontents and listoffigures internal codes

In standard classes book.cls and report.cls we find \newcommand\tableofcontents{% \if@twocolumn \@restonecoltrue\onecolumn \else \@restonecolfalse \fi \chapter*{\...
2
votes
0answers
131 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 ...
2
votes
0answers
529 views

How to typeset an exhibition catalogue

Perhaps this is too vague, but I have been so impressed with the results I was able to achieve based on a previous question, that I thought I would ask. Has anyone used TeX to typeset an exhibition ...
1
vote
0answers
36 views

Where can I find this document class

I need to write a report in this style https://www.casact.org/research/CPtemplate.doc Since I have already written a report in a standard article documentclass, I would like to avoid re-write the ...
1
vote
0answers
61 views

Pandoc (LaTeX → HTML) does not use specified .cls file

I'm attempting to use Pandoc to convert some math-heavy LaTeX into HTML. To make the TeX code easier to read and write, I've factored some macros into a .cls file in the same directory, and used it as ...
1
vote
0answers
25 views

How to format LabelString in Lyx .module file?

MWE Style Brief_Name Category Pleading LatexType Command Align Left Margin Dynamic LabelType Static ...
1
vote
0answers
67 views

Why is the title of a 'report' set in smaller font than the chapter headings?

I'm writing a document using the report class. I'm noticing the chapter headings look pretty big (and bold), while the main title is much smaller - perhaps 60% the x-height or so. A(n almost) minimal ...
1
vote
0answers
75 views

How to get online content using url in LaTeX document?

I want to make a Q&A document where each question is the question posted in cs.stackexchange.com. And the document contains the accepted answer of that site for corresponding question. When I ...
1
vote
0answers
967 views

About svproc documentclass

I am supposed to submit my paper to conference, whose proceedings will be published by Springer in Lecture notes in Network and Systems(LNNS). But the said latex file is not running. It says svproc....
1
vote
0answers
2k views

how to call .cls file in TexStudio

I am trying to use "asaproc" document class with \documentclass[11pt]{asaproc} in my LaTeX file. I use Texstudio in my computer with Windows 10 system. Miktex2.9 is also installed in my computer. The ...
1
vote
0answers
33 views

“modern” title/abstract page with “twocolumn” remainder of document

The American Astronomical Society has put out a new template for typesetting their journal articles. It comes with two documentclass options, modern and twocolumn. I like the "modern" style for the ...
1
vote
0answers
73 views

Question about removing number lines and name of journal

I want to remove number lines and also the name of journal of the top of this latex template, how can I do it? \documentclass{ltxdoc} \usepackage{array,booktabs,amsmath,graphics} \let\widebar\...
1
vote
0answers
89 views

Change Style without editing .tex

I have a latex PDF being generated from another language. It is designed to produce html output, but also produces the latex PDF output. I do not have access to the latex, so I can't modify it, but ...
1
vote
0answers
86 views

scrartcl @a1paper with 20pt

want to mirrow a power-point-poster to tex by an own class. First my plan is, to write a working preamble and convert it to a class. My first step: Chose the right font-size. For Din-A1 20pt seems to ...
1
vote
0answers
54 views

Determine document class before running tex

Is it possible to know what document class is required before running pdflatex my_file.tex or xelatex my_file.tex? I've built a dynamic latex generator and depending on the required class name I'll ...
1
vote
0answers
96 views

Getting authblk to play nice with Memoir Class

I've been banging my head for the past day and a half trying to figure this out. Page 63 of the Memoir Class manual recommends "for serious work" always using a handcrafted title page instead of the ...
1
vote
0answers
511 views

Package mnras Warning: Unknown option `a4paper' on input line 113

This is my first time ever working with LaTeX, and google has so far given me only one result with this error (and that person fixed it by just using pdfLaTeX rather than LaTeX; both give me the same ...
1
vote
0answers
723 views

Problem with changes package and documentclass llncs

I would like to use the changes package to highlight changes I made between two versions. For most document classes this works nicely. However, for llncs from Springer the command \listofchanges does ...
1
vote
0answers
441 views

Correct way to pass options to (class) loaded packages

I write a document with the book class and have a file (mainstyle.sty) with a number of packages that I use (pdfx, lipsum, placeins, etc\ldots). I recently started playing around with tufte-book and ...
1
vote
0answers
193 views

Translation from Memoir class to Book class of pretty tables

Gonzalo Medina pretty TOC/LOF/LOT (memoir class) can be found at Pretty List of Figures and List of Tables. If the class is switched to the book class, there are 187 error messages produced. Is there ...
1
vote
0answers
265 views

Difference “exam class” and “eqexam package”?

What's the difference? It looks like "eqexam package" is more advanced. The "exam class" just uses the identical commands from "eqexam package". Is one of the two outdated? Recent posts talk only ...
1
vote
0answers
541 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
0answers
960 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 ...
1
vote
0answers
181 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 ...
0
votes
0answers
16 views

How to run Springer's SVMult class (showing error)

I am using Winedt editor. I am trying to create a document with Springer's SVMult class. When I am running, it is showing SVMult.cls' not found. I have never used this document class before and it ...
0
votes
0answers
19 views

Combining multiple tex docs with different documentclass and independent preambles

I am trying to combine different tex documents into a single document. Each document has a different document class and independent preamble. More specifically, I am trying to combine my CV, with my ...
0
votes
0answers
11 views

! LaTeX Error: Command \@ptsize already defined

I've written a LaTeX class file and created a dtx file by sty2dtx tool. The tex file that using the class file which I have written before is successfully built & compiled without error. However, ...
0
votes
0answers
37 views

maketitle in cls - override \rubricwidth from tex file

Can I override the properties in a cls file from a tex file? The \maketitle function of a cls I have to work with squeezes most of the title page into half the page width. I would like to change ...
0
votes
0answers
55 views

Modifying content of existing headers

I am using a document class that sets up some headers (using fancyhdr), and I would like to modify (not overwrite) these headers. For example: The document class creates a right-side header saying "...
0
votes
0answers
41 views

How to create your own class for a very specific usage?

I have created my resume in Latex and honestly, I like it a lot. I was thinking of making a template and publish it somewhere so that people can use it. But it's rather complicated and it would be ...
0
votes
0answers
72 views

Choosing a base class

I started writing my own book class and I'm not sure wheter I should use book or scrbook as my base class. (I'm going to load one of these classes, I'm not going to start writing one from scratch or ...
0
votes
0answers
39 views

Using variables in custom class

I am working on a custom document class for my faculty. When creating the frontpage I want to have some custom variables. Such as title, author, supervisors etc. I was able to do it in a single ...
0
votes
0answers
12 views

Run time error or preview error survey IEEE paper

i received such message when i run my file the file pic is attached please help me all update are installed below is the link: https://i.stack.imgur.com/ixhFK.png
0
votes
0answers
45 views

Trouble changing font size - using documentclass article

Writing a paper, trouble with fonts. The font seems small to me - so I have tried a) changing it from 10 to 12 or 14 (see below), and b) trying to use extra larger font size (also below). I'm focusing ...
0
votes
0answers
85 views

Installing new classes into TeXstudio

I'm about to be a first-year graduate student and was asked to write a first draft of a calculus one midterm. I have always used TeXstudio for homework and research papers I have written and they ...
0
votes
0answers
26 views

Create a template for thesis report with custom fonts

I want to write my thesis report using latex. I want to create a template for this so anybody in my class can use this easily. I these font sizes 11 [Chapter Body] 12 14 16 [Chapter Title] 18 What ...
0
votes
0answers
40 views

`.cls` and `.sty` files merging to create an appendix

I have a .tex file, actually it is from a certain layout of my university, and it comes with a .cls file of its own. And now I have to create an appendix section contains only some Matlab codes. I ...
0
votes
0answers
37 views

How to define the document class parameters?

I am using this document class for a chapter: \documentclass[runningheads,a4chapter]{llncs} How can I define a class so I has the following features: A4 page with 1 inch (or, 2.54 cm) margin on ...
0
votes
1answer
144 views

How can I use ieeeconf.cls file in root.tex in TexStudio?

I've been trying to use the ieeeconf.cls file with the root.tex file, but I just can't get that work. I import like this: \documentclass[letterpaper, 10 pt, conference]{ieeeconf} but I get the ...
0
votes
0answers
201 views

The counterpart of “adjustwidth” as “adjustheight”

Is there a counterpart/similar function like "adjustwidth" to width, as the "adjustheight" to height? What I hope to see is something like shifting a whole table upward above the top margin, since ...
0
votes
0answers
45 views

Execute command \AtEndDocument in a custom class

I am studying Count number of figures, tables and citations in report class. I am writing a custom class that would have this implementation built in. I would like to move the commands \AtEndDocument ...