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
0
votes
0answers
36 views

`wiley-article.cls' not found

I'm trying to submit a paper to Magnetic Resonance in Medicine (MRM) journal. I downloaded the LaTeX template provided by Overleaf from here: https://www.overleaf.com/latex/templates/template-for-...
0
votes
1answer
17 views

Multiline caption for wide figures in IEEE Access Latex Template

IEEE Access' Latex template uses its own figure class named \Figure \Figure[t!](topskip=0pt, botskip=0pt, midskip=0pt){fig1.png}{<caption>\label{fig1}} This command is for wide figures, that ...
0
votes
1answer
26 views

Adding abstract for \documentclass[sigconf, review]

I am writing a paper using \documentclass[sigconf, review] and used \begin{abstract} and \end{abstract} to write abstract. But abstract is not getting added in the generated pdf. Where am I wrong?
0
votes
0answers
23 views

Problems creating the titlepage when changing twosided to onsided in the cls-file [closed]

I am working with a template, which was designed for two-sided print. I want to use this template, but print it one-sided. Hence, in the cls-file I have changed twoside=true to twoside=false in the ...
0
votes
1answer
26 views

In article documentclass how to denote different “parts” of an article?

Well I'm building a technical documentation. As it's not meant to be a full report with table of contents etc, I opted going for the article documentclass (Or more specifically the Hitec class, but ...
0
votes
1answer
42 views

TeXstudio is not loading *.cwl from document class

So I have a modified document class where I use \RequiredPackage to load the packages into TeXstudio I need. The issue I have is that command does not trigger TeXstudio to load the associated *.cwl ...
0
votes
0answers
22 views

removing footer of the first page of preface in using gsm-l.cls

I am using gsm-l.cls, which is downloadable from here. It defines a special style for chapters. In particular, the first page of each chapter has a footer consisting of short thick rule at the bottom ...
0
votes
1answer
53 views

Which template is used in this article?

I'm looking for a document class or a template that can reproduce the appearance of this JASA article as close as possible, especially the nice fonts for text and math. A screenshot of the article is ...
1
vote
0answers
47 views

Where can I find this document class [closed]

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
43 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'...
1
vote
1answer
33 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
21 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
20 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
16 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
16 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
40 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
25 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
43 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
98 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
114 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
40 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
164 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
60 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
66 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
93 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
78 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
27 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
48 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
45 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
56 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
94 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
35 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
43 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
26 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
209 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
32 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
48 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
66 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
40 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
107 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
97 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
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
2answers
306 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 ...