I am not getting the section numbers. for ex. 1.1, 1.2, 1.3.. are not getting printed in output. I want it to be displayed both in table of contents and main page. Right now it is only displayed on table of contents. not on the main page. these are the packages i used. but i am not getting the numbers of sections in the chapters.
\documentclass[a4paper,12pt]{report}
\usepackage{geometry}
\geometry{
a4paper,
left=20mm,
right=15mm,
top=20mm,
}
\usepackage[thinlines]{easytable}
\usepackage{nomencl}
\usepackage{amsmath}
\usepackage{titlesec}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{indentfirst}
\usepackage{changepage}
\setcounter{secnumdepth}{1}
\begin{document}
\chapter{Introductions}
this is a test document.
\section{Hello}
aivbvilbwvuii
\section{bye}
sdvger
\end{document}
\setcounter{secnumdepth}{1}in the preamble.1meanssections. If subsections are meant as well, use2, the deeper the nesting, the higher the number. At the moment, the question is unclear, since no document is provided. – Apr 10 '16 at 11:55titlesecthat might have caused this. Make sure your distribution is up to date. – Alan Munn Apr 10 '16 at 12:54