I am a so new to Tex and I am trying to learn now.
I decided to write a so simple software (ASP.NET 4.0) book for myself to learn it with a real example. So, I have the following structure for now :
\documentclass[a4paper, 12pt]{book}
\usepackage{listings}
\usepackage[utf8]{inputenc} %this will support Turkish chars
\begin{document}
\section*{Getting Started With Something}
\subsection*{Headings in the `article' Document Style}
\end{document}
So, it is so basic as you can see. So far, I only figured out :
- How to begin and end a document
- How to set sections and subsections w/o numbers
- how to get to a new page
So, How can I define chapters?
Also, first off all I would like to have a CONTENTS section which will displays the chapters, sections, subsections and their page numbers. What is the best way of doing that?
\chapterto produce chapters. Using\tableofcontents(and compiling twice), you'll get a table of contents. You can find basic documentation in, for example, A short introduction to LaTeX 2e. – Gonzalo Medina Sep 29 '11 at 20:33