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

Figures and tables are not shown

I was writing in a \documentclass[conference]{IEEEtran} and figures and tables were shown. When i shifted to \documentclass[]{IEEEphot} figures and tables are not shown anymore. I have included all ...
camellia  mohammed's user avatar
0 votes
0 answers
20 views

Europass CV content not fitting & exceeding page size

While making europass cv in latex i used \ecvblueitem to make two sections (section 1 and section 2). Section 1 has text around half of the page whereas Section 2 has text exceeding one page. (1) How ...
Jack's user avatar
  • 185
1 vote
1 answer
67 views

Font size conflict between document class and tikzpicture

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,276
0 votes
0 answers
26 views

Documentclass Report: Undefined Control Sequence [duplicate]

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
  • 87
1 vote
0 answers
29 views

How to have multiple departments within the same university be in a single line for the affiliations in Springer latex template?

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

How can I modify the note and footnote of the template article for Elsevier's document class `elsarticle'

I'm working with the template article for Elsevier's document class `elsarticle'. This is an MWE: \documentclass[preprint,12pt]{elsarticle} %% Use the option review to obtain double line spacing %% \...
pvti's user avatar
  • 135
0 votes
0 answers
26 views

how i can make the numer of subsection in right side

\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
36 views

Figure Alt text dialogue box will appear when mouse over the figures

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

Tufte Class and Margins

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

Inconsistent symbols in slides documentclass

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,747
1 vote
1 answer
56 views

Problem placing information at the bottom of the first page

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

Command \ch and \arctg already defined

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

How can I adjust caption formatting without the caption package

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

Conflict between Springer document class and \cline [duplicate]

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

Create TEX file without document environment [closed]

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

Wrap text in \location argument of \personalinfo field of \makecvheader command in altacv.cls

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

Difficulty with `tableofcontents` and page-numbering

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

sysbio class conflicts with font size macros in tikz pictures

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

Problem refering to appendix using the sysbio class

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
0 votes
1 answer
70 views

Error in chapter Style modification

for the past few days, I have been attempting to change the chapter style, but I've encountered an error with the class I am using. Here is my code: \documentclass[a4paper,12pt]{extra/MyThesis} \...
Espoir's user avatar
  • 110
3 votes
0 answers
86 views

Usage of a university template produces unrelated errors in xcolor package

I'm new to this forum and I have a question regarding a template. Here's the basic code: \documentclass[a4paper, DIV=13, 12pt, BCOR=10mm, twoside, parskip=half, automark ]{OTHRartcl} \title{This is a ...
flgei's user avatar
  • 53
3 votes
1 answer
148 views

How to let LaTeX forget that a class has been loaded?

Consider the two files % mydoc.tex \documentclass{myclass} \begin{document} \end{document} % myclass.cls \LoadClass[x]{myclass} When LaTeXing mydoc.tex, I get two errors (the second one after ...
gernot's user avatar
  • 50k
1 vote
0 answers
71 views

What is the closest to a 'canonical' document class for something shorter than an article?

I'm looking to write a document which is lesser in scope than a full-fledged "article" (in the document-class sense). Some characterization explaining what I mean: I doesn't have as many ...
einpoklum's user avatar
  • 12.4k
1 vote
1 answer
52 views

How to change word size and baseline documentclass in latex without affecting table

I'm almost finished with my paper, but I realized that I need to have 1.5 line spacing and 12pt font size. When I switch from \documentclass[table]{article} to \documentclass[table, 12pt]{article} and ...
Ferdaus's user avatar
  • 11
0 votes
0 answers
51 views

LegrandOrangeBook class change font family for chapters in preamble

I’m really struggling to change the font family for the part, chapter, and section headings in the Legrand Orange Book class. I what that to be changed in the preamble of my main.tex with some google ...
Louis's user avatar
  • 303
0 votes
0 answers
27 views

How to add a research paper (class) to a thesis (class) in one OverLeaf file [duplicate]

I have a thesis class that has the following tex file as a main file and it is called: thesis.tex %------------------------ Preamble and bibliography resources \documentclass[12pt,oneside]{...
Naif Alsalem's user avatar
5 votes
1 answer
189 views

Package and class names

Here's the smallest question I've ever asked. Can a package and a class have the same name?
projetmbc's user avatar
  • 13.4k
0 votes
1 answer
50 views

Biblatex "style" option not recognized when passed through a macro in a custom class

I'm porting my long preamble into a separate class file, and this is the only error left. In the MWE, I'm passing two key-value options to my class using xkeyval and feeding them to biblatex after ...
AdamantConlanger's user avatar
0 votes
1 answer
62 views

document class not working properly - strange font

I am having a strange problem with the "Document class" option in Lyx. Up until now, all document classes showed as "unavailable". Nonetheless, when I viewed documents as PDFs, ...
Isaac Basil's user avatar
3 votes
0 answers
238 views

Using the informs4 class with MTMI font

I'm trying to compile the sample file MOOR_Addition_sample-nonblindrev.tex provided in https://pubsonline.informs.org/pb-assets/LaTeX/MOOR-style-file-2023-1696002073267.zip However, I can't compile ...
TeXfan2000's user avatar
2 votes
1 answer
80 views

`table` option in report documentclass

I came across a LaTeX template for a report with the following documentclass options: \documentclass[ 11pt, twoside, table, openright, openany ]{report} What is the table ...
Stücke's user avatar
  • 305
0 votes
0 answers
301 views

Template/class systemic literature review

I'm looking for a template (or a class) to write a systematic literature review in Public Health Sciences. I can use the article class, or a specific class as oup-contemporary; but I'm wondering if ...
Pensée sauvage's user avatar
3 votes
1 answer
203 views

Creating a private command within a LaTeX class

I am currently creating a new LaTeX class for my university. It has commands like \printTitle for rendering the title page that the writers call from their own .tex document. However, there are a ...
Badger Dowdeswell's user avatar
7 votes
1 answer
196 views

What command should supersede \DeclareRobustCommand?

In section 6.1 of clsguide.pdf (link: https://www.ctan.org/pkg/clsguide), under "Commands superseded for new material", the class guide lists the command \DeclareRobustCommand and \...
User23456234's user avatar
  • 1,886
0 votes
0 answers
81 views

Why is moderncv using serif font by default?

I'm writing a resumé using the moderncv class: \documentclass[letterpaper]{moderncv} \moderncvtheme[blue]{classic} \firstname{Joe} \familyname{Smith} \address{123 LaTeX Ave.}{TeXville, CA 12345-6789}...
Ben Zelnick's user avatar
1 vote
1 answer
177 views

Simple Beamer Template

How can I change the Beamer to the simplest class? For example, the text is black and the background is white like the follows
Harry's user avatar
  • 199
9 votes
2 answers
3k views

"Unknown theoremstyle" warning with Springer Nature template

As displayed in the table below, the Springer Nature journal article template (available through Overleaf here or from the Springer Nature website here) is supposed to have three predefined theorem ...
user143410's user avatar
0 votes
1 answer
1k views

LaTeX Document Class

I would like to know which LaTeX document class has been used for the following three papers. https://eprint.iacr.org/2010/488.pdf https://eprint.iacr.org/2023/250.pdf https://eprint.iacr.org/2022/261....
ishimasa's user avatar
0 votes
0 answers
43 views

Layouts that give more horizontal space for equations

This is a typography question as well as a LaTeX question. I'm writing a document where some of the equations are very wide, and I'm looking for ways to lay out the document that will help me fit as ...
N. Virgo's user avatar
  • 4,289
0 votes
0 answers
38 views

Using oneside command changes alot of my commands

I am currently writing my Thesis and I am using a template form the university of Bamberg in Germany (https://github.com/UBA-PSI/psi-thesis-guide). When I add in the documentclass the command oneside ...
Abibo's user avatar
  • 65
0 votes
0 answers
67 views

Same font has different name locally and on Overleaf. How to make document compile on both?

I am building a document class and I am using these fonts. Unfortunately, after an update the style naming convention changed slightly e.g. Medium is now Medm and SemiBold is now SmBld. This has not ...
Robert Manson-Sawko's user avatar
1 vote
1 answer
155 views

How to add new komavars in .cls to use in .lco?

I want to add \newkomavar in my .cls file and use it in an .lco file. But it seems the .lco is called before the .cls and it does not work. How can I define new koma variables and use them in an .lco ...
mrCarnivore's user avatar
  • 1,515
3 votes
1 answer
73 views

Options not passing through class file with \LoadClass command

The following code works fine and gives expected output. \documentclass[fontsize=14pt,twoside,a4paper]{book} \usepackage[T1]{fontenc} \usepackage[none]{hyphenat} \usepackage{scrextend} \usepackage{...
user61681's user avatar
  • 1,769
0 votes
0 answers
49 views

tlmgr - List only packages, or only classes

The command tlmgr list --only-installed gives all packages and classes installed. Is there a way to only have the packages installed? Same question, but only for the classes installed. This will be ...
projetmbc's user avatar
  • 13.4k
5 votes
1 answer
123 views

"Unused global options(s)" when using arguments in options of class

I have been using a custom class file for some time now, which requires several options with arguments; e.g. my documents often begin with something like \documentclass[name=John\ Smith]{mathwork}. ...
Andy Wang's user avatar
3 votes
1 answer
1k views

Overleaf - Compiling multiple .tex files into multiple outputs (alternatively, nesting document classes?)

Clarification: I am looking for a way to automatically run pdflatex on multiple .tex files to produce multiple separate .pdf files when I click the Recompile button in Overleaf. I have multiple .tex ...
L Duran's user avatar
  • 33
0 votes
0 answers
26 views

Page orientation option doesn't work with new class

This is the new class I have created preloading article class \LoadClassWithOptions{article} \NeedsTeXFormat{LaTeX2e} \ProvidesClass{chain}[4/4/2022] %Packages \RequirePackage{tabularx} \...
Karel Capek's user avatar
2 votes
1 answer
54 views

How to use symbol of \lambda from documentclass{acmart} in documentclass{article}?

Basically I want to use the symbol of \lambda in \documentclass{acmart} in a different document class without changing any other symbols. (I'm the guy from a previous question who asked about using \...
SomeBoringDude's user avatar
2 votes
1 answer
698 views

Bug in sn-jnl.cls with iicol mode and multiple affiliations

When using the Springer Nature sn-jnl.cls class file, the use of iicol mode leads to incorrect author affiliations if there are multiple affiliations. How to fix this? MRE: open the template here, try ...
swineone's user avatar
  • 193
0 votes
1 answer
62 views

Best way to automize a layout

I am new to classes and I would like to make a class that automatizes the complete layout of the document. This includes : setting a given pdf file as background, there is a different background in ...
John's user avatar
  • 239

1
2 3 4 5
24