I'm really happy to try to get rid of MS Word once and for all.

So I start in the use of LateX.

I translate a philosophical book from English to French that contains a lot of mathematical equations. (For those interested, this is the first volume of Mario Bunge's Treatise on Basic Philosophy.)

I use LyX on Windows with the AMS Book document class.

As the screenshot shows, the section is numbered 1.1 and the subsection is numbered 1.1.1.

Is there a simple way to have the section numbered 1 and the subsection numbered 1.1 instead. In other words, I would like to remove the number associated with the chapter at the beginning of each section and subsection.

Maybe there is already a document class that numbers this way?



A proud and new user of LaTeX

Screenshot from LyX and AMS Book section numbering scheme

  • If you don't have any chapters, try article documentclass (book is supposed to have chapters)... If you mean you want chapters I, II etc and not to be shown in the sectioning headers the answer is different
    – koleygr
    Mar 26, 2018 at 23:15
  • @koleygr: I want chaptier, section and subsection. I need chapter numbering like this: Chapter 1, 2, 3, etc., section numbering: 1. Section, 2. Section, etc., subsection numbering: 1.1 Subsection, 1.2 Subsection, etc. Mar 26, 2018 at 23:40
  • Add these commands in your preamble: \renewcommand*\thesection{\arabic{section}} \renewcommand*\thesubsection{\arabic{section}.\arabic{subsection}}. See here how: tex.stackexchange.com/questions/133681/…
    – koleygr
    Mar 26, 2018 at 23:51
  • @FrançoisMaurice You might be interesting in joining the LyX mailing lists lyx-users and lyx-fr (francophone). Find more information here: lyx.org/MailingLists
    – scottkosty
    Mar 27, 2018 at 0:37

1 Answer 1


Follow the instructions here: https://tex.stackexchange.com/a/133689/120578

And add the commands:


This will give you something like this:

Edit about no subsections in the TOC:

Add this line to under previous two:

  • Thanks. Almost done, except that the subsection does not appear in the Contents as in your example: 2.1 First subsection. Mar 27, 2018 at 0:19
  • What exactly do you mean? If you mean you have not subsections at all in toc, please let me know the documentclass you are using
    – koleygr
    Mar 27, 2018 at 0:25
  • I get this: Chapter 1 Mar 27, 2018 at 0:27
  • It is a matter of documentclass I suppose... Try some of them, like book, report... etc
    – koleygr
    Mar 27, 2018 at 0:39
  • 1
    Yes. It works fine. I add the line \setcounter{tocdepth}{2} to the Preamble and I get the full table of contents. Thanks a lot. :-) Mar 27, 2018 at 1:29

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.