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.

Filter by
Sorted by
Tagged with
1
vote
0answers
33 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 ...
0
votes
2answers
30 views

Using ntheorem with amsbook

I'm working with an amsbook document, and I want to use the ntheorem package. This is unsurprisingly causing a complaint with the amsthm package implicitly loaded for the amsbook documentclass. There'...
0
votes
0answers
29 views

Missing begin error - it is in file [closed]

Can you help me with this error? I have begin and document class in .tex file. I'm using class aa. I got this error: pdflatex nazev This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/...
1
vote
1answer
31 views

tikzcd incompatible with standalone document class?

Trying to generate a tikz diagram using tikzcd package in a standalone document so that no excess white space and page header/footer is added around the diagram. \documentclass[tikz, margin=1mm]{...
0
votes
1answer
24 views

Letter Class | How to Adjust Default Spacing

Is seems in the letter class by default, there is a huge space/gap in between the title and the body of the letter. How would I decrease this space between the two? Please see image in link below ...
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
15 views

What's the purpose of \CharacterTable? [duplicate]

I've been browsing some class files and many of them have a (commented) \CharacterTable at the begin. What is the purpose of this table? Example of such a table from https://raw.githubusercontent.com/...
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
24 views

Latex doesn't create new page when using section? [duplicate]

I'm trying to create my document with lots of section. However, after the document is compiled by pdfLaTeX, the document showed like this: \documentclass{article} \begin{document} \section{aaa} % * ...
0
votes
1answer
37 views

How to remove Indent while using book document class

while working on a project I noticed that some pages have a slight indent over the pages above them. you'll notice that all text on page 12, for example, is slightly more indented than page 11. I ...
1
vote
0answers
54 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 ...
2
votes
1answer
52 views

Half rating in altacv template class

I am currently writing my CV in \latex using the altaCV.cls class which can be found on GitHub here and also below after fully scrolling down. This class includes a command definition for \cvskill (...
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 ...
0
votes
1answer
109 views

Compile error of the IEEE Access template

I am going to write a paper of the IEEE Access LaTeX format uploaded in this page https://journals.ieeeauthorcenter.ieee.org/create-your-ieee-article/authoring-tools-and-templates/ieee-article-...
0
votes
2answers
50 views

Is there any way to tell the compiler, inside the main file body, how to find the class?

I would like to use a class that belongs not found in my MiKTeX database. I know I might as well pick up this class and put it in some directory inside the base and update MiKTeX, but I do not want to ...
1
vote
1answer
53 views

Text alignment on curriculum using the Tccv document class

Hello I am trying to modify the Two-column CV template which uses the tccv document class. Specifically I want to modify the formatting in the Work experience section which looks like this per ...
7
votes
1answer
82 views

nicematrix \ddots has different performances in different documentclass

When I use \documentclass{article}, just like (no problem) \documentclass{article} \usepackage{nicematrix} \NiceMatrixOptions{transparent,nullify-dots} \newcommand{\underbracedmatrix}[2]{% \left(...
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 "...
1
vote
1answer
29 views

pdflatex error: Missing \begin{document}

I have a settings.tex file that looks like this: \documentclass{letterpaper, 12pt, amsart} \usepackage{ifthen} \usepackage{amsmath} \usepackage{amsthm} \usepackage{tikz} And I file test.tex that ...
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
71 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
2answers
25 views

What class file should I be looking for, for 2 column preprint physics style?

I need something that gives me the following functionality: 2 column journal style natbib or other automatic parsing of .bib file with hyperlinks numbered bibliography items and citations, i.e. ...
2
votes
1answer
42 views

How to get the font size parameter passed to the main standard classes?

For complex length manipulation (see here), I would need to get the font size that was passed as an option to the document class: \documentclass[12pt]{article} \newlength{\mainfontsize} \setlength{\...
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
44 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 ...
1
vote
0answers
30 views

“I can't write on file …” when installing class from a .ins file [duplicate]

I'm trying to install the elsarticle class manually on MiKTeX 2.9 (Windows) from the .ins file. However, when I type latex .\elsarticle.ins, I get the following: This is pdfTeX, Version 3.14159265-2....
0
votes
0answers
80 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
1answer
34 views

How to change the document class to tikz stand alone?

How to change the document class \documentclass[english]{IEEEtran} to \documentclass[tikz,border=3.14mm]{standalone}. And I still can get the same output figure. \documentclass{ieeeaccess} ...
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
39 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 ...
1
vote
0answers
25 views

What is the recommended class for making Q&A document? [closed]

I want to make a help guide for Game Theory students where the document contains question and answer. For example- 1.What is a unique Nash equilibrium? A Nash Equilibrium is a set of strategies ...
1
vote
1answer
139 views

How to fix vertical spacing issues in a CV template?

I am using this template for a CV. However, for some reason I am getting incomplete sections over the two pages, for example: How can I make section 4 appear in the other side of the page (top of the ...
1
vote
1answer
27 views

Query beamer document class option aspectratio in a .sty file

I am writing my own latex beamer style. I want to use different background graphics depending on the aspect ratio chosen in the documentclass in the main file, like \documentclass[12pt, aspectratio=...
0
votes
1answer
46 views

Need to close paragraph with `\par` to change spacing

I have defined a simple class \NeedsTeXFormat{LaTeX2e} \ProvidesClass{mycustom}[2019/03/06 My custom class] \LoadClass{article} \RequirePackage{setspace} \newcommand{\summary}{ \begingroup \...
2
votes
1answer
65 views

Issue with section text assuming same color as body text

I am trying to understand a behavior where section headers assume the color of the first word in the section. Here is my MWE: \documentclass{minimal} \usepackage{xcolor} \makeatletter \...
0
votes
0answers
36 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 ...
1
vote
2answers
96 views

Use of graphicspath in class

I am using my own class MyReportClass to write a report. I have taken inspiration from this answer to redefine the \includegraphics command inside the class in order to use the example-image-a in case ...
2
votes
3answers
89 views

Declaring option a4paper in \documentclass produces different margins than declaring it in \geometry

I have seen a similar question at a4paper, where should I declare it? In document class or geometry? and the selected answer there implies that there is no difference in whether we use \documentclass[...
1
vote
0answers
23 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
2answers
276 views

Where can I download cuparticle.cls file

When I compile my document. LaTex shows the error: File, 'cuparticle.cls' not found. Where can I find this file. The file is for Cambridge University Press. Actually, the Journal is Forum of ...
0
votes
1answer
61 views

Hacking ASME conference template for SB3C conference

The SB3C abstract format follows the ASME conference format rather closely, but the SB3C does not have a LaTeX template. I am trying to modify the ASME LaTeX class to meet the specifications of the ...
1
vote
1answer
65 views

Class design: Import variables defined in main.tex to customize form output?

I have created a class that does the standard things: declares and processes options, loads a base class (article), loads other packages, defines variables, defines a custom fancy header and footer, ...
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 ...
0
votes
1answer
138 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 ...
1
vote
1answer
66 views

Edit latex class setting

I'm currently using the tufte-book class. I want to change the chapter style from [display] to [hang]. But when I found the tufte-common.def file, I could not edit it, any suggestion on how I should ...
0
votes
0answers
152 views

Document margins with a4paper: documentclass vs. geometry [duplicate]

Using pdflatex, I would like to set an A4 article. I believed (from this answer) that it did not matter whether I use \documentclass[a4paper]{article} or \documentclass{article} \usepackage[...
2
votes
1answer
66 views

.dtx calling command from class

I am writing a .dtx file and want to call a command from my class; however, the .dtx file requires ltxdoc as its class. How can I demonstrate the output of a command from my class within the .dtx file?...