Questions tagged [documentclass]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

Is it possible to use titlesec package in a new class file without defining sections?

I am writing a class template for myself and I want to define sections and chapters like book.cls and modify it using titlesec package. I want to know is it possible to load titlesec package without ...
0
votes
1answer
22 views

Hyperref: `\hypersetup` ignored for `\AtBeginDocument`

I want to add an option to a class text.cls that automatically loads a default style for hyperref supplied via the hypersetup command. This works as expected. However, if I want to account for the ...
1
vote
0answers
28 views

Class wrapper: Why “unused global option(s)” warning

I am trying to write a wrapper around some documentclasses as a small test. Everything works so far, but why do I get an LaTeX Warning: Unused global option(s): [math=true,tikz=true,base=normal,type=...
0
votes
0answers
49 views

Language options: what is the use of “main=french” in the \documentclass command?

If using the option english,french with babel and french in the \documentclass command, the following warning results. Package babel Warning: Last declared language option is "french", but the ...
0
votes
1answer
63 views

How can I use \textsc inside a \documentclass (poster) option?

I am using a quite nice looking poster template I found here to base my poster on. However, I want to use \textsc{} in my title, and the template won't let me. I get the following error: Argument of \...
1
vote
1answer
40 views

How to make an A4 publication fit in a letter document for ArXiv

I have written a paper in A4 format (Springer Journal style) and need to submit it to ArXiv. However, ArXiv messes up with the margins of the file for some reason. According to their FAQ, it is ...
0
votes
1answer
28 views

Show bookmarks in pdf from custom documentclass

I have been trying to get the pdf with bookmarks, just like this, but from a custom documentclass from GitHub. I tried everything from the forums and nothing works from me. The only option in to add ...
0
votes
1answer
88 views

Option twoside not working

I am trying to get the twoside-option for documentclass to work. But I am facing a couple of problems: There is no empty page after the title page while the spacing does alternate between left and ...
0
votes
0answers
53 views

Unable to fit a graph into a page (documentclass) [duplicate]

I want to fit my graph into a page in a template. I had tried several methods, not sure where to fix it. My template need to follow the below: \documentclass[12pt,oneside]{book} I had tried this, ...
1
vote
1answer
22 views

Alternative locations for .cls files [duplicate]

I have written some software which outputs .tex files and uses a custom .cls file. I have a makefile for this software but I don't know what to do with the .cls file. Is ~/texmf/tex/latex/ the only ...
0
votes
0answers
72 views

RevText and Overleaf - Could Not Recognise Document Class [duplicate]

I am using the RevTex 4.2 template from Overleaf, found here. https://www.overleaf.com/latex/templates/revtex-4-dot-2-template-and-sample/yydsrzvrqrzs When I try and do a Word Count, I get an error ...
1
vote
0answers
44 views

Conditional compilation within documentclass option?

This works fine and produces letter-size PDF. \documentclass{article} \usepackage[\ifdefined\afive a5paper \fi]{geometry} \begin{document} Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed ...
0
votes
0answers
34 views

Suitable Document Class

I want to prepare a documents in Latex. The documents contains, title Page, Executive summary, Two pages of introduction, Table of Content and 10 articles. Each article contains section, subsection, ...
0
votes
1answer
49 views

Border around compiled pdf using bioinformatic documentclass

I'm a complete beginner in writing academic paper with latex, and I'm a bit confused with the compiled result of my test.tex file. I'm using custom documentclass provided by Oxford academic's ...
0
votes
0answers
26 views

Changing numeration and headline in document

I write my thesis using: \documentclass[12pt]{report} \noindent\textbf{\huge Incoming Records Classificatio gdhjkdfhlfgdfldgslfgdfldhfjhfgklhdfslhfgfdhsjhgflfgjlfsdghfgsd} \section{Introduction}\...
1
vote
1answer
133 views

Documentclass twoside and geometry margin

I was trying to format my report to have 2.5cm margins all around by doing: \documentclass[10pt,a4paper,twoside]{report} \usepackage{geometry} \geometry{verbose, tmargin=2.5cm,bmargin=2.5cm,...
1
vote
1answer
35 views

Add page number on every page of \documentclass{book}

How do I force there to be a page number on every page of a \documentclass{book} document, including on the title page and the blank pages before \part{}s? MWE: \documentclass[11pt]{book} \pagestyle{...
0
votes
1answer
28 views

Using Article format and changing geometry from page to page

i am using the documentclass article and would like to keep it but i would like to change the page-geometry for every page on the right side (like in a book) to avoid having text in the link. Is there ...
1
vote
0answers
53 views

Best practices for distributing a company document style file [closed]

I've recently created a new document class that implements all the stylistic standards and requirements for documentation at my company. Now I'm trying to find the best way that this style file and ...
0
votes
0answers
42 views

Science Fair Poster Document Class

I am creating a trifold poster for a science fair (ISEF). Most posters I have seen on the internet look similar - they probably use the same document class. The key characteristic that I am interested ...
0
votes
0answers
65 views

class/ article / report not found error, texstudio

i am new user of texstudio on mackbook. by typing \doucmentclass[option]{class}, replacing class with article it doesn't work, by placing curser on class, article it says class/article not found, same ...
0
votes
1answer
107 views

Documentclass article with header

so at the moment i am writing a document in the class article. But i want the header you have when you use documentclass "book". I dont use class the "book" though because my document is not so long ...
1
vote
1answer
76 views

Problem with Appendix numbering in latex shell for the American Economic Journal Macro

I am editing a paper for the AEA American Economic Journal Macroeconomics; the latex shell they provide \documentclass[AEJ]{AEA} prevents the Appendix sections to display their Alphanumeric labels: ...
1
vote
0answers
156 views

Is there a way to make a webpage/scroll/unending page in LaTeX [duplicate]

Is there a way to write a LaTeX document without page endings. This would make my document into a scroll of sorts, an often used format in webpages (which also have no end). For example, Microsoft ...
2
votes
1answer
315 views

How to nest multiple documentclass

I would like to create a running diary of documentclass 1 that constitutes multiple instances of documentclass 2, where preferred documentclass 2 is 'minutes'. I am aware of subfiles, but don't know ...
0
votes
1answer
140 views

Is it possible to use attachfile package in any documentclass or just in articles?

I have seen some .tex documents using \usepackage{attachfiles}, but all of them were articles. Now I am working on a moderncv document class and \usepackage{attachfiles} returns an error. This is my ...
2
votes
1answer
38 views

Class nrc2 Warning: GUTenberg Babel french style detected — (nrc2) some corruption of NRC-defined format may occur

Writing a paper for NRC research press. I am dealing with many problems! I think the reason that nothing works smoothly for me is the errors I get at the beginning of writing the paper. These are the ...
1
vote
1answer
183 views

How to write a document using NotesTex package?

I would like to write a document using NotesTex. However, after downloading it, I don’t know how to write a document using that template, i.e. do I have to use any command in a new file or do I have ...