\documentclass[10pt,a4paper,titlepage,twoside,openright]{report}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{float} % for figures to appear where you want them
\usepackage{setspace}
\usepackage{graphicx}
\usepackage{changebar}
%\usepackage{glossaries}
\usepackage{pst-all}
\usepackage{pst-eucl}        %Jo
\usepackage{pst-poly}        %Jo
\usepackage{xcolor}
\usepackage{multicol}
\usepackage{pst-3dplot}        %Jo
\usepackage{pst-spectra}
\usepackage{pst-slpe}
\usepackage{pst-math}
%\usepackage{pst-diffraction}

%% ************* NB ************
%% The order in which pstricks packages are loaded
%% matters - so I copied the order from pst-all.sty
%% and then added the two additional packages at the end.
%% ************* End NB ************

%% ************* Packages ************
\usepackage{pst-circ}
\usepackage{pst-lens}
\usepackage{pst-optic}         %Jo
%\usepackage{pst-labo}         %Jo
\usepackage{subfigure}
\usepackage{multirow}
\usepackage{amsmath}
\usepackage{tabularx}
\usepackage{lscape}
\usepackage{fancyhdr}
\usepackage{wasysym}
\usepackage{url}
\usepackage{amsmath, amsthm, amsfonts, amssymb}
\usepackage{eurosym}
\usepackage{array}
\usepackage{enumitem}
\sffamily



\evensidemargin = 0.46cm
\oddsidemargin = 0.46cm
\topmargin = -1.54cm
\headheight = 1cm
\headsep = 0.5cm
\textwidth = 14cm
\textheight = 25.7cm
\footskip = 0.5cm
\setlength{\parindent}{0ex}
\setlength{\parskip}{2ex}
\pagestyle{headings}
\marginparsep = 0.5cm
\marginparwidth = 2cm
\hbadness=10000

\def\beforepreface{
\pagenumbering{roman}
\pagestyle{plain}
\thispagestyle{empty}%
\pagebreak[4]%\newpage
\setcounter{page}{1}
}

\def\prefacesection#1{%
\parskip 0pt
