Report abuse

\defaultfontfeatures{Mapping=tex-text}

\setromanfont[Mapping=tex-text]{Gentium}
\setsansfont{Helvetica}
\setmonofont{Consolas}

%%%%%%%%%%

\clubpenalty=10000
\widowpenalty=10000
\raggedbottom

%%%%%%%%%%

% Create
\makeatletter
\makechapterstyle{thesis}{%
    \renewcommand{\chapnamefont}{\fontspec{Futura LT Book} \LARGE}
    \renewcommand{\chapnumfont}{\fontspec{Futura LT Book} \LARGE}
    \renewcommand{\chaptitlefont}{\fontspec{Futura LT Book} \LARGE}

    \renewcommand{\chapterheadstart}{\vspace*{\beforechapskip}}
    \renewcommand{\printchaptername}{}
    \renewcommand{\chapternamenum}{}
    \renewcommand{\printchapternum}{\chapnumfont \thechapter}
    \renewcommand{\printchaptertitle}[1]{%
        \chaptitlefont \MakeUppercase{##1}%
    }
    \renewcommand{\afterchapternum}{. \space}
    \renewcommand{\afterchaptertitle}{\par \nobreak \vskip \afterchapskip}
}
\makeatother

% Use
\chapterstyle{thesis}

%%%%%%%%%%

\renewcommand*{\cftchapterfont}{\fontspec{Helvetica} \bfseries}
\renewcommand*{\cftchapterpagefont}{\fontspec{Helvetica} \bfseries}

\renewcommand*{\cftchapteraftersnum}{.}
\renewcommand*{\cftsectionaftersnum}{.}

%%%%%%%%%%

\captionnamefont{\fontspec{Helvetica} \bfseries}
\captiontitlefont{\itshape}

\changecaptionwidth
\captionwidth{12cm}

%%%%%%%%%%

\setsecnumformat{\csname the#1\endcsname. \space}
\setsecheadstyle{\raggedright \fontspec{Helvetica} \bfseries \large}

\setparaheadstyle{\fontspec{Helvetica} \bfseries}

%%%%%%%%%%

% Create
\makepagestyle{thesis}

% Headers and footers - DEFAULT
\makeoddhead{thesis}{}{}{%
    \fontspec{Helvetica} \fontsize{11}{11}%
    \textbf{\chaptername\ \thechapter:\ \leftmark\ $\blacktriangleright$\ \thepage}%
}
\makeoddfoot{thesis}{}{}{}

% Headers and footers - CHAPTER
\makeoddhead{plain}{}{}{%
    \fontspec{Helvetica} \fontsize{11}{11}%
    \textbf{$\blacktriangleright$\ \thepage}%
}
\makeoddfoot{plain}{}{}{}

% Marks
\makepsmarks{thesis}{%
    \nouppercaseheads
    \createmark{chapter}{both}{nonumber}{}{}
    \createmark{section}{right}{shownumber}{}{. \space}
    \createplainmark{toc}{both}{\contentsname}
    \createplainmark{lof}{both}{\listfigurename}
    \createplainmark{lot}{both}{\listtablename}
    \createplainmark{bib}{both}{\bibname}
    \createplainmark{index}{both}{\indexname}
    \createplainmark{glossary}{both}{\glossaryname}
}

% Use
\pagestyle{thesis}

%%%%%%%%%%

\setlength{\parskip}{2ex}
\setlength{\parindent}{0pt}

\titlespacing{\section}{0pt}{3ex}{*0}
\titlespacing{\subsection}{0pt}{2ex}{*0}
\titlespacing{\subsubsection}{0pt}{2ex}{*0}