[texworks] ERROR ISSUE WHILE WRITING A REPORT
Andreas Hirsch
cursus.publicus at sacrumromanumimperium.org
Fri Apr 17 15:20:58 CEST 2020
The article-class does not contain \chapter
This is not a TeXWorks-problem! Which LaTeX-tutorial you are using?
Preeti A G schrieb am 17.04.2020 um 11:45:
> Sir,
> I am just learning to write a report in Texwork. I am not understanding why the chapter is not getting inserted. I think the codes are correct. Please check the code ones.
>
> \documentclass[12pt,a5paper]{article}
> \usepackage[hmargin=1cm,vmargin=1cm]{geometry}
> \title{ report}
> \author{preeti}
> \date{16 march 2015 \\first created on 14 may 2000}
>
>
> \begin{document}
> \maketitle
> \tableofcontents
>
> \chapter{first chapter}
>
> \section{this id the first section}
> text corresponding to this section goes here.
> \section{insert section again}
>
> \subsection{first ssubssection in first section}
> hello world!
>
>
>
>
> \subsubsection{first section}
> some more text
> \end{document}
>
>
>
>
> Please do the needful.
> thankyou
>
--
'Den größten Fehler,
den man im Leben machen kann, ist,
immer Angst zu haben,
einen Fehler zu machen.'
Dietrich Bonhoeffer (1906-1945)
More information about the texworks
mailing list.