I want my text to appear right after the call to \subsection{Name}
but I can't find how to do it. I'm using the article
class.
An example of command:
\subsection{a)} Blah blah bla...
produces:
a)
Blah blah bla…
instead of what I want:
a) Blah blah bla…
Anything I could do?
Best Answer
Your specific example can be solved by using the
enumerate
environment (as mentioned by elcelista), but your general question can be answered by using thetitlesec
package. Thetitlesec
package defines the\titleformat
command which allows any sectioning command to be easily redefined. The syntax of the\titleformat
command isTo eliminate the newline after a subsection heading, put the following in the preamble for your document:
Here is an example document and its output: