I am compiling my thesis with latex and using the PhDthesis class from http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle/.

I have a few objects included using input. My problem is that the chapters have a different spacing. More specifically, the introduction has a reduced spacing whereas the ones after the introduction have a much bigger one. I would like to fix it and have the same spacing in each chapter of the document.

%\usepackage{natbib, longtable, verbatim, amssymb, amsmath, latexsym, makeidx, lscape, epic, overpic, graphicx, graphics, bm, pdflscape, multirow, rotating, bigdelim, color, epsfig, pgfpages, mathpazo, pdfsync, dblfloatfix, multicol, wrapfig, subfig, textcomp,  bbold, tabularx, array, booktabs, tabulary, pbox, fancyhdr, mathrsfs, type1cm, etex, lettrine, dcolumn, tikz, ctable, ifthen, calc, scalefnt, threeparttable, afterpage, multirow,theorem,amsopn,amsfonts,lineno,setspace,url,endnotes,wasysym,bbm,bigstrut,adjustbox,hvfloat}
%\usepackage[english]{babel} %\usepackage[T1]{fontenc} \usepackage[left]{eurosym}



\pdfcatalog{/PageLayout /TwoPageRight}





%\makeatletter% Allow use of restricted @ in control sequences
%\let\ps@fancy\ps@plain% Make fancy page style equivalent to empty page style

  \section*{\contentsname}% or \chapter* but that looks ugly

\newenvironment{proof}[1][Proof]{\noindent\textbf{#1.} }{\hfill\ \rule{0.5em}{0.5em}}

\newcommand{\comm}[1]{\begin{quote}{\large \bf (#1)}\end{quote}}


\usepackage[english]{babel} %\usepackage[T1]{fontenc} \usepackage[left]{eurosym}

    pdfborder = {0 0 0}

%\renewcommand*{\cleardoublepage}{\clearpage\if@twoside \ifodd\c@page\else

%: Macro file for Latex
% Macros help you summarise frequently repeated Latex commands.
% Here, they are placed in an external file /Latex/Macros/MacroFile1.tex
% An macro that you may use frequently is the figuremacro (see introduction.tex)

%: ----------------------------------------------------------------------
%:                  TITLE PAGE: name, degree,..
% ----------------------------------------------------------------------
% below is to generate the title page with crest and author name

%if output to PDF then put the following in PDF header
    \pdfinfo { /Title  (PhD and MPhil Thesis Classes) 
               /Creator (TeX)
               /Producer (pdfTeX) 
               /Author (YourName your@email.net)
               /CreationDate (D:YYYYMMDDhhmmss)  %format D:YYYYMMDDhhmmss
               /ModDate (D:YYYYMMDDhhmm)
               /Subject (xyz)
               /Keywords (add, your, keywords, here) }
    \pdfcatalog { /PageMode (/UseOutlines)
                  /OpenAction (fitbh)  }

\title{Tales on Tails}

% ----------------------------------------------------------------------
% The section below defines www links/email for author and institutions
% They will appear on the title page of the PDF and can be clicked
  \author{\href{mailto:a.pollastri@maastrichtuniversity.nl}{Alessandro Pollastri}}
%  \cityofbirth{born in XYZ} % uncomment this if your university requires this
%  % If city of birth is required, also uncomment 2 sections in PhDthesisPSnPDF
%  % Just search for the "city" and you'll find them.
  \collegeordept{\href{http://www.maastrichtuniversity.nl/sbe/finance/}{Maastricht University School of Business and Economics}}
  \university{\href{http://www.maastrichtuniversity.nl}{Maastricht, Netherlands}}

  % The crest is a graphics file of the logo of your research institution.
  % Place it in ./0_frontmatter/figures and specify the width

% If you are not creating a PDF then use the following. The default is PDF.
%  \cityofbirth{born in XYZ}

%\renewcommand{\submittedtext}{change the default text here if needed}
\degree{Doctor of Philosophy at Maastricht University}
\degreedate{August 30, 2018}

% ----------------------------------------------------------------------

% turn of those nasty overfull and underfull hboxes


%: --------------------------------------------------------------
%:                  FRONT MATTER: dedications, abstract,..
% --------------------------------------------------------------



% sets line spacing
\baselineskip=18pt plus1pt

%: ----------------------- generate cover page ------------------------

\maketitle  % command to print the title page with above variables

%: ----------------------- cover page back side ------------------------
% Your research institution may require reviewer names, etc.
% This cover back side is required by Dresden Med Fac; uncomment if needed.

\noindent \copyright\ 2018 Alessandro Pollastri\\ \vskip8pt
\noindent All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, electronic, mechanical, photocopying, recording or otherwise, without the prior permission in writing from the author. \\ \vskip2pt
\noindent The cover is an original work of Gabriele Tummino.\\
\noindent \small{This book was typeset using \LaTeX.} \\\vskip2pt
\noindent ISBN \textbf{Number}\\
\noindent Printed by \textbf{Datawyse / Universitaire Pers Maastricht}



{\Large Tales on Tails}\\[7cm]


to obtain the degree of Doctor at Maastricht University, \\ by the authority of Prof. Dr. R. Letschert, Rector Magnificus, \\ in accordance with the decision of the Board of Deans, \\ to be defended in public on\\ \textbf{Thursday, August 30th 2018 at, 10.00} \\[1cm] 

by \\[1cm]

\textbf{Alessandro Pollastri} 


\noindent \textbf{Promotors} \\[2mm] \hspace*{2.06cm} Prof. Dr. Peter Schotman\\[1mm]
\noindent \hspace*{2.06cm} Dr. Stefan Straetmans\\ [5mm]
\noindent \textbf{Assessment committee} \\ [2mm]
\hspace*{2.06cm} Prof. Dr. Jaap Bos, Chairman \\[1mm]
\hspace*{2.06cm} Prof. Dr. Casper De Vries \\[1mm]
\hspace*{2.06cm} Prof. Dr. Antoon Pelsser \\[1mm]
\hspace*{2.06cm} Prof. Dr. Roberto Ren\'o \\

\noindent This research was financially supported by The Network for Studies on Pensions, Aging and Retirement (NETSPAR).  

%: ----------------------- tie in front matter ------------------------



%: ----------------------- contents ------------------------
\setcounter{secnumdepth}{3} % organisational level that receives a numbers
\setcounter{tocdepth}{3}    % print table of contents for level 3

\tableofcontents}         % print the table of contents
% levels are: 0 - chapter, 1 - section, 2 - subsection, 3 - subsection

%: ----------------------- list of figures/tables ------------------------


\listoffigures  % print list of figures
\listoftables  % print list of tables

%: --------------------------------------------------------------
%:                  MAIN DOCUMENT SECTION
% --------------------------------------------------------------

% the main text starts here with the introduction, 1st chapter,...

%\renewcommand{\chaptername}{} % uncomment to print only "1" not "Chapter 1"

%: ----------------------- subdocuments ------------------------

% Parts of the thesis are included below. Rename the files as required.
% But take care that the paths match. You can also change the order of appearance by moving the include commands.

%\input{1_Introduction/Introduction}    % background information




%: ----------------------- bibliography ------------------------

% The section below defines how references are listed and formatted
% The default below is 2 columns, small font, complete author names.
% Entries are also linked back to the page number in the text and to external URL if provided in the BibTex file.

% PhDbiblio-url2 = names small caps, title bold & hyperlinked, link to page 

\renewcommand{\bibname}{References} % changes the header; default: Bibliography

% --------------------------------------------------------------
%:                  BACK MATTER: CV, Summary, Artists
% --------------------------------------------------------------

% the back matter: appendix and references close the thesis




migrated from stackoverflow.com Jun 8 '18 at 11:25

This question came from our site for professional and enthusiast programmers.

  • Please try to create a [mcve] for you problem. – Ralf Stubner Jun 8 '18 at 11:25
  • 1
    This is impossible to diagnose without your \input files. In the beginning of your document you have \renewcommand\baselinestretch{1.2}\baselineskip=18pt plus1pt which is not really a good way to do things. But you are also loading the setspace package, and its likely that one of your included chapters uses one of the setspace commands (\onehalfspacing or \doublespacing). It's better to use setspace only. See baselinestretch vs. setspace. – Alan Munn Jun 8 '18 at 16:03

Your Answer

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