I'm writing a document that contains a rather deep tree of nested lists, and was wondering if how I would go about reformatting the \paragraph
macro to format the text contained within it as a \section
, specifically by separating the title from the body and placing it above the body. I've encountered the titlesec
package but I'm confused as to how to use it since it seems to be used very little so there are very few examples to follow.
Update 1: I'm using the article document class.
\paragraph
and\section
are macros of the class (or a package) and their implementation can be different depending on the class.titlesec
(my copy is a few thousand kilometers away, so I can’t check).