1

I write a report and I don't want to have a part but section...

\documentclass{report}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}

\title{Rapport unité d'enseigement libre : ASTEP}
\author{Agnès VIEL \& Jean KELLENS}
\date{Vendredi 17 Janvier}
\begin{document}
\maketitle

\section{Le choix}

\end{document}

I have 0.1.1

but I want 1.1

I don't find the way to remove the part numbering

Thanks for the answering

7
  • Hello, could you provide an MWE (minimal working example) of your report? So that we can provide a better solution – Saravanan Dec 24 '19 at 12:10
  • I just wrote the function – JkLnS3 Dec 24 '19 at 12:24
  • We need to know which document class you use, which related packages, &c. This is not an example, only a snippet. – Bernard Dec 24 '19 at 12:33
  • You have all my code – JkLnS3 Dec 24 '19 at 12:38
  • 1
    The 0 is not from the part, it's from the chapter. If you're not planning on chapters in your report, is there a reason that you're using the report class? – Teepeemm Jan 26 '20 at 3:10
1

We can get the output, by using the below macro:

\makeatletter
\renewcommand\thesection{\@arabic\c@section}
\makeatother

Place macro above the \begin{document} line.

2
  • Thanks a lot it's work – JkLnS3 Dec 28 '19 at 10:07
  • could you please upvote to the answer – Saravanan Dec 30 '19 at 5:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.