Skip to main content

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
1 answer
108 views

I have multiple courses, each containing similar LaTeX code. There are tests built on exam, slides built on beamer. I often include a file with the common files if there are multiple files for example:...
Dov's user avatar
  • 1,625
1 vote
0 answers
53 views

I'm writing a booklet of math problems for my students. The problems are organized into several chapters and sections; some problems should have names, while others are simply numbered. In the ...
Arastas's user avatar
  • 157
0 votes
1 answer
33 views

I'd like to reproduce the exact page layout of the amsart document class using the article class. Does anybody have a simple solution for achieving this? I could not find any previous answer directly ...
Matteo Raffaelli's user avatar
1 vote
1 answer
43 views

I’m not very familiar with the amsart class. I have a .tex file with a complete preamble provided by a university professor. In the following MWE, I have taken a part of it. Specifically, I would like ...
Sebastiano's user avatar
  • 67.1k
5 votes
2 answers
180 views

Consider the following MWE, where I use a custom class test which loads the libertinus fonts and sets up selecting StylisticSet=2 in order to obtain a more harmonious italic J, as proposed in this ...
schtandard's user avatar
0 votes
0 answers
42 views

Related to question without an answer Defining chapter in LaTeX under amsart, I know that amsart class haven't a \chapter command. To write a chapter I use the enviroment center, like the example ...
Sebastiano's user avatar
  • 67.1k
0 votes
0 answers
74 views

Suppose you are submitting an article to a journal, which recommends its users to use a specific document class. So, you changed the article to the specified document class. Can it happen that a latex ...
Cyriac Antony's user avatar
1 vote
0 answers
29 views

I'm trying to use the \footnotesize in a document which is of class minimal, and I get an Undefined control sequence.. Here is a MWE \documentclass{standalone} \begin{document} foo\\ \...
Phantom's user avatar
  • 742
1 vote
1 answer
74 views

I am currently writing a thesis with Latex. According to the university's guidelines, a declaration of independence must be inserted between the bibliography and the appendix. I am using the package “...
Jakob's user avatar
  • 13
3 votes
1 answer
88 views

Description In .tex, we should use \documentclass and \usepackage in order. However, in .cls, it seemed not mandatory. Consider the following examples: \LoadClass after \RequirePackage: \begin{...
Explorer's user avatar
  • 8,906
0 votes
0 answers
57 views

I was surprised to observe that the \hfill command apparently does not work (at least not inside a \begin{matrix}...\end{matrix} construction) when using the memoir latex document class. Why is this, ...
John Pardon's user avatar
0 votes
2 answers
110 views

I have a shared preamble file that provide uniform configuration for my documents. But it has no document class of its own. That way, I can determine the class for each document. But that means it ...
Steven Thomas Hatton's user avatar
3 votes
1 answer
93 views

I want to create a custom class with an option to change logo. But the default logo is always selected even if I change to other logos. \ProvidesClass{myclass}[2024/12/01 v 1.00 class for fun] \def\@...
D G's user avatar
  • 1,200
5 votes
2 answers
210 views

So I've looked through some similar (but not the same) questions, I've look through the template I was given but I don't understand how do I change the numeration of the sections from "0.x" ...
stephan's user avatar
  • 93
4 votes
3 answers
1k views

I am currently working on a book/articles. I really (really!) enjoy the styling of the Nagoya Math Journal from the late 80s-90s. Here's an example : https://www.cambridge.org/core/services/aop-...
Pietro Pende's user avatar
0 votes
0 answers
64 views

I own a LaTeX project with many contributors that don't necessarily use LaTeX every day so they often make "little mistakes" as writing ... instead of \dots in mathmode or using nonadaptive ...
Bartosz Chomiński's user avatar
0 votes
0 answers
223 views

How, when I run the pdflatex or lualatex or similar command, can I tell Latex where to look for class files? Let's say I have a directory structure like this: root |--- [my program, etc.] |--- latex-...
axolotlKing0722's user avatar
4 votes
2 answers
384 views

I simply want to highlight the title of a subsection with below: \subsection{\hl{Computation Time}} \label{sec:comp_time} I added "\usepackage{soul}" at the beginning of the latex file. But ...
Ian's user avatar
  • 77
0 votes
2 answers
111 views

I want to change the length of \baselineskip for my latex documents. This is my test document: \documentclass{testlayout} \begin{document} Lorem ipsum dolor sit amet, consectetuer adipiscing elit. ...
axolotlKing0722's user avatar
3 votes
1 answer
161 views

Sorry for asking for help to understand a custom conference class file. The class file is a wrapper available here around the LIPIcs class file. When compiling a basic document such as \documentclass{...
Bubaya's user avatar
  • 3,055
0 votes
0 answers
73 views

I am trying to make a small conference-paper volume for a local conference, and I am having some issues with Table of Contents part. I want to make it automatic, but can't figure out the syntax, ...
bheadr 73's user avatar
  • 141
2 votes
1 answer
73 views

having downloaded current version of the singlecol-new.cls, which is needed for some of the InderScience journals, I get general warning in Overleaf TexLive 2024: L3 programming layer <2024-03-14&...
PWillms's user avatar
  • 384
0 votes
0 answers
20 views

I'm currently writing a paper and searching for the appropriate document settings(font, line spacing, margins etc.). I saw the next paper, and this is exactly what I've been searching for. This is a ...
Complex's user avatar
3 votes
0 answers
183 views

The layout of the Latex Companion 3rd edition is really elegant. I understand (Production Notes, end of the document) that an assembly of 140 packages was used. Sorry for my naive question, but are ...
JeT's user avatar
  • 4,491
5 votes
1 answer
251 views

When I compile caesar_example.tex, the page numbers do not appear. They only show up if I use an older version of fancyhdr (e.g., this one). I am using TeX Live 2022 on Debian. Is this issue related ...
scaramouche's user avatar
0 votes
0 answers
90 views

The document class of London Mathematical Society lms isn't available at CTAN and so it can't be part of any TeX distribution. I downloaded the template from this website https://ctan.mirror.garr.it/...
mathbeginner's user avatar
0 votes
1 answer
80 views

Using \nocite{*} leads to a Undefined control sequence at \printbibliography. If I define a specific source, such as \nocite{axford-1961}, it compiles without issue. Compiler: XeLaTeX I thought it ...
impactmechanics's user avatar
7 votes
1 answer
257 views

In book.cls \appendix is defined as: \newcommand\appendix{\par \setcounter{chapter}{0}% \setcounter{section}{0}% \gdef\@chapapp{\appendixname}% \gdef\thechapter{\@Alph\c@chapter}} While in ...
gusbrs's user avatar
  • 15k
0 votes
0 answers
178 views

I frequently use the excellent following website to convert my bibliography from .bib to .docx for coauthors working with me on scientific stuff who don't use latex: https://www.bibtex.com/c/bibtex-to-...
ecjb's user avatar
  • 945
0 votes
0 answers
116 views

I'm trying to use this template from Overleaf text I executed this on Overleaf it worked well. However, since I upload a lot of images, I prefer to run the Latex code locally. But even the template ...
Relativity's user avatar
0 votes
1 answer
403 views

I'm trying to create class based on beamer to make presentations as simple as possible while following the graphic manual we have. I need to use fontspec and I'm using luaLaTeX package to load OTF ...
Crowley's user avatar
  • 4,539
0 votes
0 answers
79 views

I've just downloaded some interesting TeX classes from CTAN website, but I'm not sure where to put these classes in order to make them recognized by my TeX software. I'm using Slackware 15.0.
Edvaldo Silva de Almeida Jr's user avatar
1 vote
1 answer
272 views

I have considered the classes report and book. I need to add the dates for each lecture(chapter). Is that possible for these specific classes?
shmwot's user avatar
  • 13
1 vote
0 answers
86 views

So I have this folder structure: root |- main.tex |- myfolder |- abc.cls When I want to compile main.tex: \documentclass[a4paper,twoside,10pt]{abc} \begin{document} Hello world \end{document} it ...
cedi123's user avatar
  • 85
1 vote
1 answer
109 views

Here are my files reduces for the MWE : file 1 : \documentclass[a4paper,12pt]{article} \usepackage{tikz} \begin{document} \input{Chaine_Fonctionnelle} \end{document} file 2 : \documentclass[...
LMT-PhD's user avatar
  • 1,338
0 votes
0 answers
30 views

What mistake am I making? Am I missing something? \documentclass[a4paper,oneside,12pt]{report} \begin{document} Test \end{document} EDIT: The compiler is having trouble understanding a command you ...
s28's user avatar
  • 363
1 vote
0 answers
150 views

I want to have multiple departments within the same university be on the same line (no line breaks). The line should break with different universities. Currently, this is how it looks like: (here X &...
chesslad's user avatar
  • 111
0 votes
0 answers
40 views

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage{latexsym} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage[english, russian]{babel} \usepackage{nopageno} \...
Abdel djalil Boulebbina's user avatar
0 votes
1 answer
91 views

I want to add alternative text (Alt-text) to have a dialogue box appear when hovering over the figures. Additionally, I need to ensure PDF accessibility tagging is implemented in this PDF. My MWE is ...
murugan anbu's user avatar
0 votes
1 answer
250 views

I have recently gotten acquanited with the tufte document class and I love its style very much; the only thing that bothers is the side margin use, even though I understand that it is exactly what the ...
PCeltide's user avatar
  • 133
0 votes
1 answer
104 views

Problem description I like how the slides document-class typesets most of the maths, which I crop and use in a WYSIWYG slide editor. First, I'm not sure how to set the font to 10pt, so that the new ...
Atcold's user avatar
  • 1,909
1 vote
1 answer
99 views

I am working on the development of template and I would like to have something similar like this: I'm working in twocolumn document and I tried to replicate it in \fancyfoot[L]{} (only for the first ...
Guillermo Jiménez's user avatar
0 votes
1 answer
298 views

Two errors: document.tex: error: 2: Command \ch already defined. \begin{document} document.tex: error: 2: Command \arctg already defined. \begin{document} for that simple piece of code: \documentclass[...
user2272592's user avatar
0 votes
0 answers
113 views

I'm trying to build a custom class that matches my organization's template. I managed to get the formatting for table/figure captions to match using the caption package, but the caption package does ...
rsandler's user avatar
  • 483
2 votes
1 answer
1k views

So, I am trying to write down a table in the "sn-jnl" document class from Springer: when I do it it "article" instead I get exactly what I want: \documentclass{article} \usepackage{...
GVT's user avatar
  • 173
2 votes
0 answers
99 views

Is it possible to create document classes for forms (e.g. "donation confirmation"), so that in the TEX file, one has to only include the document class and the commands provided by it, but ...
Seradir's user avatar
  • 21
0 votes
1 answer
216 views

I am writing my CV and I want to add an address using the \location field in the \makecvheader command. My location information is however large and going out of the page. I have a lot of unused space ...
silenstseeker's user avatar
1 vote
1 answer
125 views

I'm writing my math thesis with Texmaker, but somehow my LaTeX codes fail to produce the PDF layout required by my school. Ideally, I'm hoping to achieve the following result: Please notice that this ...
Boar's user avatar
  • 199
0 votes
0 answers
46 views

The sysbio official class file has caused many problems. I find it conflict with font size macros in tikz pictures, e.g. the following MWE produces an error: \documentclass{sysbio} \usepackage{tikz} \...
Tianjian Qin's user avatar
1 vote
1 answer
37 views

With the MWE: \documentclass{sysbio} \usepackage{hyperref} \begin{document} \section{Introduction} Some thing in \ref{app::a} Some thing in \autoref{app::a} \appendix \section{some appendix} \label{...
Tianjian Qin's user avatar

1
2 3 4 5
24