\parindent=0.0cm % first indent in section
\righthyphenmin=2 % hyphen last charecter
-\setsecnumdepth{subsubsection} % section numration depth
+\setsecnumdepth{subsubsection} % section numeration depth
%\renewcommand{\afterchaptertitle}{\par\nobreak\medskip\hrule\vskip
%\afterchapskip}
%}
-\chapterstyle{madsen} % one of chapter header style for memoir documentclass
+\chapterstyle{madsen} % one of chapter header style for memoir documentclass
%\renewcommand{\printchaptername}{\normalfont\large\scshape Chapter}
\renewcommand{\chapterheadstart}{}
%\renewcommand{\beforechapskip}{\vspace{2pt}}
+%\renewcommand{\@pnumwidth}{3em} % memoir class, more space between chapter number and text.
+\setlength{\cftfigurenumwidth}{3.5em} % memoir class, more space between figure number and text.
\renewcommand{\nomname}{Glossary} % glossary name