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
0 answers
38 views

A counter to replace chapters not supported in amsart

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

Does changing to journal specified class clash with nepture?

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

\footnotesize not defined in minimal document class [duplicate]

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

Empty sheet after declaration [closed]

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

Is that mandatory requirement to put \RequirePackage after \LoadClass?

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
  • 7,226
0 votes
0 answers
57 views

How to fix the \hfill command in the memoir document class?

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

Is it possible to test if a document class is loaded, and if not, load one, otherwise use the one already loaded?

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

Custom document class always pick the default logo even if I change to other logos

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

How to change the numeration of sections from "0.x" to "1", "2", etc.?

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

Old math books fonts

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

Custom compiler errors/warnings

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

Set the class files directory for Latex

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

Argument of \let has an extra }

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

How to set \baselineskip in a class file?

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

What's wrong with nicematrix and socg-lipics-v2021.cls?

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,033

15 30 50 per page
1
2 3 4 5
79