1

I'm working with a complex thesis template that I don't fully understand (http://www.latextemplates.com/template/masters-doctoral-thesis). I've tried to modify it to make the abstract have arabic numbers, followed by a preliminary section in roman numerals, followed by the chapters in arabic numbers again. However, the first page of the abstract has a page number, and not the successive pages.

Here is a snip of the abstract section of the .cls file:

\newenvironment{abstract}
{
\btypeout{Abstract Page}
  \thispagestyle{plain}
%%   \null\vfil
  \begin{center}
    \setlength{\parskip}{0pt}
    \bigskip
    {\large{Abstract} \par}
    \bigskip
    {\large \@title \par} % Thesis title
    \medskip
    {\normalsize by \\ \authornames \par} % Author name
    \bigskip
        {\normalsize fff\par} % Degree name
    \bigskip
        {\normalsize University of fff\par} % Degree name
    \bigskip
        {\normalsize Professors fff ch-chairs\par} % Degree name

        \bigskip
       \bigskip

  \end{center}
}

and here is the abstract section of the main .tex file

\mainmatter
\addtotoc{Abstract} % Add the "Abstract" page entry to the Contents

\abstract{\addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics
Abstract text...

}

\clearpage % Start a new page

Sorry for no MWE, not sure that one would be feasible. Any idea how I can ensure page numbers on all of the abstract pages, and not just the first?

1 Answer 1

4

\thispagestyle{plain} sets a page number for just this page. Adding \pagestyle{plain} will set it for subsequent pages as well (indefinitely i.e. until you change it again).

\thispagestyle{plain}\pagestyle{plain}

Probably you need an adjustment later but it is impossible to tell without a more complete example.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .
https://tex.stackexchange.com/questions/248086/is-there-a-brute-force-way-to-add-a-footer-to-a-particular-page
tex.stackexchange.com
CC-MAIN-2024-38
144947
application/http; msgtype=response
sha1:PK4YZFJQWEZW6PBTTJLNB73M7IWIGPDI
<urn:uuid:9276046d-7d1f-4ba4-b62e-8cea0b21e1e6>
2024-09-11T05:38:18Z
172.64.144.30
text/html
sha1:2CSIOF4WNJJH3PJKJ53V576S7MAWZASI
<urn:uuid:f00d03f6-0559-4523-b9af-b1d4a6d358b3>
https://tex.stackexchange.com/questions/248086/is-there-a-brute-force-way-to-add-a-footer-to-a-particular-page
response
<urn:uuid:d8c00ea4-0c1a-49ec-b891-d784c36334d4>
isPartOf: CC-MAIN-2024-38
publisher: Common Crawl
description: Wide crawl of the web for September 2024
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-209
software: Apache Nutch 1.20 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.5-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/