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.

1 Answer 1


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.

You must log in to answer this question.

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