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


This gives me a "line" break after section, subsection, subsubsection. I want to keep the "line" break after section, but for subsections and subsubsections I want the text to continue on the same line right after the heading.

share|improve this question
up vote 6 down vote accepted

Add the following code to the preamble:


(adjust the spacing, but it must be negative).

Note: the package epsfig is obsolete and should not be used in new documents.

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.