I was wondering if anyone knew how I can start the numbering from 2 instead of 1. The Thesis.cls begins the numbering on anything after the titlepage that I include.
In this case, I begin my thesis by including acknowledgements page, so the acknowledgements page starts the numbering at 1. I need the \titlepage to be the page 1, without actually including the number 1 in the header. So numbering should start at 2 on the acknowledgements page. I figured it had to do something with \pagestyle{myheadings} in the global settings section in the .cls, but I am not sure. Commenting out \pagestyle{myheadings} doesn't do anything either. It does use \markboth and \clearpage which may be part of it as well as \refstepcount. The \titlepage is also not a \chapter or a \part which may exclude the \titlepage? Not sure. I also provided my main.tex which may have something there that is preventing the \setcounter or \addtocounter I try to include from working.
It has to be something in the Global Settings section, or the Renewed Commands section in the .cls file itself (sections labeled in .cls). Or perhaps something excluded in the Title Page section (which I tried to make it a chapter using \chapter{}, but no luck).
I please ask for guidance as I have spent hours trying to fiddle with settings and not break anything, and I have to turn this in in a few days here. Thank you for your time.
Code: Select all
Code, edit and compile here:
%Thesis.cls\NeedsTeXFormat{LaTeX2e}\ProvidesClass{uathesis}\DeclareOption{CC-BY}{%\setboolean{CCBY}{true}}\DeclareOption{CC-BY-SA}{%\setboolean{CCBYSA}{true}}\DeclareOption{CC-BY-ND}{%\setboolean{CCBYND}{true}}\newboolean{GeneratedOn}\setboolean{GeneratedOn}{false}\DeclareOption{generatedon}{%\setboolean{GeneratedOn}{true}} % This option puts the generation date on the titlepage.%% These next four options are for passing through to the book class.\DeclareOption{oneside}{%\PassOptionsToClass{\CurrentOption}{book}%}\DeclareOption{twoside}{%\PassOptionsToClass{\CurrentOption}{book}%}\DeclareOption{openright}{%\PassOptionsToClass{\CurrentOption}{book}%}\DeclareOption{openany}{%\PassOptionsToClass{\CurrentOption}{book}%}\DeclareOption*{%\ClassWarning{uathesis}{Unknown option `\CurrentOption'}%} % A general warning for unknown options.
Code: Select all
Code, edit and compile here:
%%------------------------------------------------------------%main.tex-------------------------------------------------------------------------------------------------------------------------------\documentclass[thesis,oneside]{uathesis}\usepackage[utf8]{inputenc}\usepackage[square,numbers]{natbib}\renewcommand\nomgroup[1]{%\item[\bfseries\ifstrequal{#1}{acro}{\textbf{Acronyms}}{%\ifstrequal{#1}{sy}{\textbf{Symbols}}{}}%]}\usepackage{textcomp}\usepackage{gensymb}%\chapterfont{\centering}\begin{document}%\setcounter{page}{2}\begin{titlepage}\maketitlepage{title}{name}{degree}{department}{2022}%\pagenumbering{roman}%\maketitle\end{titlepage}%\titlespacing{\chapter}{0pt}{0pt}\pagebreak\incacknowledgements{}I acknowledge