Hey everyone,(adsbygoogle = window.adsbygoogle || []).push({});

I'm trying to find out some way to change the \subsubsection format in LaTeX so that the number comesafterthe word "Definition" or "Theorem" etc. Now obviously, I could simply use \textbf{} and put my stuff in there and ignore the \section commands altogether, but then I would have to construct my own table of contents, and renumber sections as I insert new ones in between old ones.

So my question is... is there any way to define a new command so that I can type something like this?

\subsubsection{Definition}{function}

and have it come out looking like this

[itex]\text{Definition 1.1.1 } \mid \text{ function}[/itex] ?

Any help would really be appreciated.

Context: I'm making a personal encyclopedia of theorems/definitions/etc as I learn them, and trying to make it totally logically ordered and rigorous, which often involves inventing little lemmas to put in between previously recorded stuff, as many books gloss over important points in their proofs. (Much like what proofwiki does, only numbered with the previous theorems/definitions referenced by number in the proofs.)

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Changing the \subsubsection format in LaTeX

**Physics Forums | Science Articles, Homework Help, Discussion**