2

I don't want subsections to appear in the table of contents of my Lyx document. How do I turn them off? I went to Tools -> Settings -> Numbering & TOC, but it won't let me modify anything.

What should I do?

2
  • Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. Aug 30, 2012 at 18:31
  • I guess you mean Document -> Settings… -> Numbering & TOC, right? What do you mean by “It won't let you modify anything”? You can't move the slide (is that the right word?) above the window?
    – cgnieder
    Aug 30, 2012 at 19:08

1 Answer 1

5

Can you use \setcounter{tocdepth}{2}? You would need to insert this as a LaTeX command via the Insert-> TeX menu, and I'm not entirely sure about the number, it might also be 1 or 3.

There is more information about document structure in LaTeX here.

2
  • 2
    I'd put it in the preamble (Document --> Settings --> LaTeX preamble). Aug 30, 2012 at 18:31
  • @TorbjørnT. Yes, that is a better idea.
    – Jonatan
    Aug 31, 2012 at 19:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .