This is an updated template for master thesis at UiB (or other universities) that uses simplified commands and more consistent font size and name. The thesis can be written in a B5 or A4 format.
%\documentclass[a4paper,12pt]{book} % If you want A4 format
\documentclass[b5paper,12pt]{book} % If you want b5 format
\input{settings}
\author{FirstName LastName}
\title{Title of the thesis less than 100 characters}
\newcommand{\Thesisplaintitle}{Title of the thesis less than 100 characters}
\date{2023}
\newcommand{\Thesisfulldate}{\today}
\begin{document}
\frontmatter
\input{titlepage}
\input{copyright}
\input{acknowledgements}
\input{abstract}
\tableofcontents
\mainmatter
% !TEX encoding = UTF-8 Unicode
\chapter{Introduction} \label{ch:intro}
\lipsum[2]
\section{Problem Statement and Objectives}
\lipsum[4-6]
\chapter{Background}
\lipsum[1-3]
A table can look like \cref{tab:table}. A picture can be shown as in \cref{fig:dragonspaceship}.
\begin{table}[t!]
\centering
\caption{This is a caption.}
\begin{tabular*}{\linewidth}{l @{\extracolsep{\fill}}cc}
\toprule
text & text & text \\
\midrule
text & text & text \\
text & text & text \\
\bottomrule
\end{tabular*}
\label{tab:table} % label
\end{table}
\begin{figure}[t!] % "t" is for top
\centering
\includegraphics[width=0.8\linewidth]{figures/dragonSpaceship}
\caption{This is a caption}
\label{fig:dragonspaceship}
\end{figure}
Equations can be written as:
\begin{align}\label{equ:1}
A & = 1 +1 \\ \label{equ:2}
C & = \dfrac{3}{x}
\end{align}
where \cref{equ:1} is equation 1. The package cleveref is here used. A list of useful \LaTeX packages is available at \url{https://blog.martisak.se/2020/05/03/top-ten-latex-packages/}.
\chapter{Instrumentation and methods}
\lipsum[1-3]
Textual citation by \citet{Gries09} and this parenthetical citation \citep{Van-Dongen12}
\chapter{Results and discussions}
\lipsum[1-3]
\chapter{Conclusions}
\lipsum[1-3]
% add more chapters as needed
\appendix
\renewcommand{\chaptermark}[1]{\markboth{\small Appendix \thechapter. #1}{}}
\chapter{Title of the first appendix} \label{app:freq}
% add more appendices as needed
\backmatter
\bibliographystyle{model5-names} % or another bib style
\bibliography{references}
\end{document}