0

enter image description here So, I was given this template to work off.Everything is done but then I noticed my acknowledgement was before the title page of the thesis. I tried executing it but I keep getting the There's no line here to end \maketitle. Please can someone help with this? I'm not sure what to do. Thank you.

% Thesis master document
\documentclass[final,12pt,a4paper,oneside]{book}
\setcounter{secnumdepth}{3}
\textheight =24.2 cm 
\textwidth =15 cm 
\topmargin =-15mm

\usepackage[round]{natbib}
\usepackage{amssymb}
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{epsfig}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{bm}
\usepackage{layout}
\usepackage {mathrsfs}
\usepackage{listings}
\usepackage{float}

\def\hang{\hangindent\parindent}
\def\rf{\par\noindent\hang}

\newtheorem{defin}{Definition}
\newtheorem{theorem}{Theorem}
\newtheorem{result}{Result}


\begin{document}


    
    \baselineskip = 18pt
    
    \pagestyle{plain}
    
    \frontmatter
    
    \include{Title}
    \maketitle
    
    \tableofcontents
    \listoftables
    %\listoffigures
    %\include{Introduction}
    
    \mainmatter
    
    \include{Chapter1}
    \include{Chapter2}
    \include{Chapter3}
    \include{Chapter4}
    %\include{Conclusion}
    %\include{Appendix}
    
    \backmatter
    
    \include{Bibliography}
    
\end{document}
24
  • 2
    Your code isn't compilable, as there are includes of other files you don't provide. Please reduce your code as much as possible, in order to make it compilable and isolate the problem. Start by removing every include except one, and go from there.
    – Miyase
    Oct 25, 2022 at 7:06
  • @Juliet - Welcome to TeX.SE. Since the title of your posting indicates that \maketitle is choking on something, we couldn't care less about the contents of the files Chapter1.tex, Chapter2.tex, ... or Bibliography.tex. Do please reveal what's in Title.tex, though, as that's the file that gets loaded immediately before \maketitle is executed.
    – Mico
    Oct 25, 2022 at 7:14
  • 2
    Off-topic: There's absolutely no need to load the epsfig package.
    – Mico
    Oct 25, 2022 at 7:16
  • Okay I have included what's in the title page.
    – Juliet
    Oct 25, 2022 at 7:29
  • @Juliet ok, start by removing all the \` in your title page that don't immediately follow text. Replace multiple consecutive \` with a \vspace of appropriate length, or with a \vfill (stretchable space that will evenly stretch across all the \vfill so that the page is full).
    – Skillmon
    Oct 25, 2022 at 7:30

1 Answer 1

2

I would propose the following master file:

% Thesis master document
\documentclass[final,12pt,a4paper,oneside]{book}
\setcounter{secnumdepth}{3}
\textheight =24.2 cm 
\textwidth =15 cm 
\topmargin =-15mm

\usepackage[round]{natbib}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{bm}
\usepackage{layout}
\usepackage{mathrsfs}
\usepackage{listings}
\usepackage{float}

\def\hang{\hangindent\parindent}
\def\rf{\par\noindent\hang}

\newtheorem{defin}{Definition}
\newtheorem{theorem}{Theorem}
\newtheorem{result}{Result}


\begin{document}
    \baselineskip = 18pt
    
    \pagestyle{plain}
    
    \frontmatter
    
    \begin{titlepage}
      \centering
      \null
      \vfill
      \vfill
      {%
        \Huge\bfseries
        The Performance of Preliminary Model Selection Using AIC or BIC\par
      }%
      \vfill
      {%
        \LARGE
        Juliet Nwabuzor\par
      }%
      \vfill
      Supervised by Assoc.\@ Prof.\@ Paul Kabaila
      \vfill
      Department of Mathematical and Physical Sciences\\
      La Trobe University\\
      Victoria 3086, Australia\par
      \vspace{\baselineskip}
      October 2022
      \vfill
      \copyright Submitted in fulfilment of the thesis requirement of\\
      STA5THA and STA5THB, School of Computing, Engineering and\\
      Mathematical Sciences, La Trobe University.
      \vfill
      \vfill
      \null
    \end{titlepage}

    \chapter*{Acknowledgements}
    Praise and Glory
    
    \tableofcontents
    \listoftables
    %\listoffigures
    %\include{Introduction}
    
    \mainmatter
    
    %\include{Chapter1}
    %\include{Chapter2}
    %\include{Chapter3}
    %\include{Chapter4}
    %\include{Conclusion}
    %\include{Appendix}
    
    \backmatter
    
    %\include{Bibliography}
    
\end{document}

This results in the following title page:

enter image description here

and the acknowledgements:

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .