[Tex/LaTex] Starting text right after section or subsection title


Is it possible to start your text right after the section or subsection title (without starting a new line)? Thank you. I hope the question is clear enough and does not need a MWE.

Best Answer

David has already provided the package-free solution; here's another option, using the titlesec package (simply selecting the runin predefined format):




\section{Test Section} 
\subsection{Test Subsection} 


enter image description here

Related Question