A few days ago I asked a question about how to redefine the \section
command to be able to write content just after the head of the section with no line breaking: Redefining \section command (I strongly recommend you to have a look to the link attached as it could be a good reference point to understand with this question).
Although we arrived at a satisfactory answer, I would like to ask a related question. I think that is similar but not quite the same so I have opened a new post (correct me if I'm wrong).
Here is my question:
I would like to change the \section
command in the article
class itself.
I haven't found any place where it says that it has optional options and the only way I found that allow you to change it substantially is with the titlesec
package.
How can I change it to make it work differently? The question itself is more about how to change a LaTeX command in its core than just about the \section
command. But we can work with it for the sake of clarity.
\section is an implemented command in most of the LaTeX versions.
?\section
is not defined in the latex format, but is defined in many classes (for examplearticle
) but not in all (for example not inletter
) – David Carlisle Jun 24 '15 at 10:41