I am writing my master thesis. I just started working on LaTeX. I am writing the first chapter. I used \chapter{Introduction}, but when I make a section using \section{abcd},
the section number is 0.2 even though the chapter number is 1. I want the section numbers to be "chapter number"."Section number" (e.g., 1.1 for the first section of first chapter).
My code:
\documentclass[12pt,a4paper]{report}
\usepackage{graphicx}
\usepackage[margin=1in]{geometry}
\begin{document}
\begin{abstract}
\end{abstract}
\tableofcontents
\listoffigures
\listoftables
\chapter{introduction}
here goes my text......
\section{motivation}
\chapter{background} % corrected typo: \chatper{background}
\end{document}
I want the chapter number to be 1 for the first chapter not 0, and the section number for the first section of first chapter to be 1.1.
\chapter, then the section is numbered0.1. Then\chapteris added, but the next LaTeX run still shows section0.1in the table of contents, but1.1in the text. – Heiko Oberdiek Oct 3 '12 at 19:53report.clsis the original one? Maybe somebody edited it. – Sigur Oct 3 '12 at 23:37