TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a problem set that I want to type up.

In my section, i get numbers which is fine since I have 4 problems on my problem set. But each subsection is lettered on my problem set, so I would like my solution set to also match it.

Right now it turns into 1.1, 1.2 ...

Also when I select subsection and try to do a display type formula, it moves my section number in the middle too. If I press enter on it it just removes the subsection. What to do? thanks

share|improve this question
STILL havnt figured this out./ – masfenix Feb 23 '11 at 13:28
up vote 5 down vote accepted

I don't know whether LyX has any buttons for this type of thing, but for the first part of your question, you can add


to the preamble (under Document > Settings). If you have chapters, you should add \thechapter. before \thesection.

I don't understand your second question: When I add a display math under a subsection heading everything works fine (and it obviously fails to compile when I add it inside a subsection heading). I might be missing something though—I have never actually used LyX.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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