# Section number is not appearing in final output [closed]

I am writing some thesis work using LaTeX, its template is working properly but there is no section number label in each chapter of pdf output. Where is the problem?

Some header part is given below:

%% ----------------------------------------------------------------
%% Thesis.tex -- MAIN FILE (the one that you compile with LaTeX)
%% ----------------------------------------------------------------

% Set up the document
\documentclass[a4paper, 12pt, oneside]{uet_thesis}  % Use the "Thesis" style, based on the ECS Thesis style by Steve Gunn
%\graphicspath{{Figures/}}  % Location of the graphics files (set up for graphics to be in PDF format)

% Include any extra LaTeX packages required
\usepackage[square, numbers, comma, sort&compress]{natbib}  % Use the "Natbib" style for the references in the Bibliography

\usepackage{verbatim}  % Needed for the "comment" environment to make LaTeX comments

%\usepackage{vector}  % Allows "\bvec{}" and "\buvec{}" for "blackboard" style bold vectors in maths

\usepackage{url}
%\usepackage{natbib}

\hypersetup{urlcolor=blue, colorlinks=true}  % Colours hyperlinks in blue, but this can be distracting if there are many links.

% remove the unnecessary spacing before and after the headings/subheadings
\usepackage[compact]{titlesec}
\titlespacing{\section}{0pt}{*0}{*0}
\titlespacing{\subsection}{0pt}{*0}{*0}
\titlespacing{\subsubsection}{0pt}{*0}{*0}

\setlength{\parskip}{6pt}
%\setlength{\parsep}{0pt}
%\setlength{\topskip}{0pt}

%% ----------------------------------------------------------------
\begin{document}
\frontmatter      % Begin Roman style (i, ii, iii, iv...) page numbering

% Set up the Title Page


class is basically a template provided by our department. YOu can view it from here

## closed as unclear what you're asking by user31729, Stefan Pinnow, CarLaTeX, Maarten Dhondt, TeXnicianMay 21 '17 at 7:07

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• Welcome to TeX.SX! Please make your code complete and compilable, adding \documentclass{...}, the code to recreate your problem, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – CarLaTeX May 9 '17 at 3:30
• For a start: put a percent sign directly before \frontmatter. – Johannes_B May 9 '17 at 4:38
• It could not solve the problem – Shafiq May 9 '17 at 5:07
• Please tell us which document class you use. Incidentally, why is the natbib package loaded twice? – Mico May 9 '17 at 5:33
• I have updated question. – Shafiq May 9 '17 at 7:34