1

I am new to LaTeX. I am finding difficulty in display the page numbers in Roman numbers for VTU Certificate, certificate, declaration, acknowledgements, abbreviations, list of figures, list of tables.

I have given the sample tex code for the reference

\usepackage{multirow}
\usepackage{epsfig}
\usepackage{enumerate}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amscd}

\documentclass[12pt,a4paper,extreport]

\begin{document}

\renewcommand\baselinestretch{1.2}
\baselineskip=18pt plus2pt


%\cleardoublepage
%\thispagestyle{plain}

\pagenumbering{roman}


\begin{romanpages}

    \thispagestyle{empty}


    \addcontentsline{toc}{chapter}{VTU Certificate}
    \include{VTU_Certificate/vtu_certificate}

    \newpage    
    \addcontentsline{toc}{chapter}{Certificate from the Guide}
    \include{Certificate_from_the_Guide/certificate}


    \addcontentsline{toc}{chapter}{Declaration}%insert in contents
    \include{Declaration/declaration} %Decalaration page



%   \newpage %use for acknowledgment
    %\cleardoublepage

    \addcontentsline{toc}{chapter}{Acknowledgements} %insert in contents
    \include{Acknowledgement/acknowledgement} %acknowledgement page
    \normalsize{\tableofcontents} %list contents

    \thispagestyle{empty}   
    \pagestyle{empty}
    \addcontentsline{toc}{chapter}{Abbreviations}
    \include{Abbreviations/abbreviations} %acknowledgement page



    \addcontentsline{toc}{chapter}{List of Figures} %insert in contents 
    \normalsize{\listoffigures} %list of figures
    %\cleardoublepage



    \addcontentsline{toc}{chapter}{List of Tables}  %insert in contents
    \normalsize{\listoftables} %list of tables
    %\cleardoublepage


\end{romanpages} %end roman page numbering
| improve this question | | | | |
  • 1
    What document class are you using? – egreg Oct 30 '18 at 15:36
  • this is my document class \documentclass[12pt,a4paper,extreport] – Abdul Azeez Oct 30 '18 at 15:42
1

I am going to assume that the missing \include files contain \chapter*.

Every \chapter or \chapter* issues a \clearpage (or \cleardoublepage) and a \thispagestyle{plain}. \pagenumberingand \addcontentsline should go after the \clearpage. Fortunately, adding an extra \clearpage doesn't add an extra page. \thispagestyle{empty} should go after \chapter* but before the end of the first page.

\documentclass[12pt,a4paper]{extreport}
\usepackage{multirow}
\usepackage{epsfig}
\usepackage{enumerate}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amscd}
\usepackage{lipsum}% MWE only

\begin{document}

\renewcommand\baselinestretch{1.2}
\baselineskip=18pt plus2pt

%\begin{romanpages}

\addcontentsline{toc}{chapter}{VTU Certificate}%
\chapter*{VTU Certificate}
\thispagestyle{empty}
\pagenumbering{roman}
%\include{VTU_Certificate/vtu_certificate}

\clearpage
\addcontentsline{toc}{chapter}{Certificate from the Guide}%
\chapter*{Certificate from the Guide}
%\include{Certificate_from_the_Guide/certificate}

\clearpage
\addcontentsline{toc}{chapter}{Declaration}%insert in contents
\chapter*{Declaration}
%\include{Declaration/declaration} %Decalaration page

\clearpage
\addcontentsline{toc}{chapter}{Contents}%insert in contents
\normalsize{\tableofcontents} %list contents

\clearpage
\addcontentsline{toc}{chapter}{Abbreviations}
\chapter*{Abbreviations}
%\include{Abbreviations/abbreviations} %acknowledgement page

\clearpage
\addcontentsline{toc}{chapter}{List of Figures} %insert in contents 
\normalsize{\listoffigures}% list of figures

\clearpage
\addcontentsline{toc}{chapter}{List of Tables}  %insert in contents
\normalsize{\listoftables}% list of tables

\clearpage
\pagenumbering{arabic}
\chapter{First chapter}

\lipsum[1-6]
\end{document}
| improve this answer | | | | |
  • when i try to exectue the code i am getting footers which i have defined in the tex code. i dont want to have any footers except the page numbers should be displayed by using roman numbers. – Abdul Azeez Nov 6 '18 at 8:45
  • i have used fancy header package for using header and footers. i want the page number to be displayed in roman only . i dont want the any other header and footer to be displayed. kindly help – Abdul Azeez Nov 6 '18 at 11:15
  • The footers, headers, \pageref and the TOC all use \thepage. You could use \arabic{page} with fancyhdr, but don't do it! – John Kormylo Nov 6 '18 at 15:10
  • is there any way to include roman page numbers in the center of the footer without using \chapter command in latex. i am not able to get the contents of VTU Certificate . it is a blank page . kindly help me . Thank you in advance – Abdul Azeez Dec 4 '18 at 17:57
  • At the moment I can't use MiKTeX at all. – John Kormylo Dec 5 '18 at 21:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.