I'm trying to put the section/subsection header in the first line of a section instead of in the line above a section.

Instead of:

1 Header

Body of section.

I want

1 Header Body of section.

Like this

  • can you please be more specific? this is very vague. – naphaneal Jun 26 '16 at 4:43
  • Hi @DIWesser: This has been asked before here. – Jeffery Shivers Jun 26 '16 at 4:43
  • @naphanneal I've added a couple examples. – DIWesser Jun 26 '16 at 5:07
  • @Jeffery Shivers That does look like exactly what I want. My only issue is it removes the numbers. Any idea how I would preserve them? – DIWesser Jun 26 '16 at 5:15

This is adapted from here:

\section{my section}
Section context.
\section{my other section}
More section content
|improve this answer|||||
  • That is exactly what I was looking for. Thank you very much. – DIWesser Jun 26 '16 at 5:46

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.