Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Changing the \subsubsection format in LaTeX

  1. Mar 25, 2013 #1
    Hey everyone,

    I'm trying to find out some way to change the \subsubsection format in LaTeX so that the number comes after the 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.)
     
  2. jcsd
  3. Mar 25, 2013 #2
    I should also clarify that \subsubsection*{} is not the kind of solution I'm looking for, as I'm going to use \label and \ref to reference all of the numbers.. so they have to be numbered.
     
  4. Mar 26, 2013 #3

    jhae2.718

    User Avatar
    Gold Member

    Look at the titlesec package.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Changing the \subsubsection format in LaTeX
  1. Latex funky formatting (Replies: 4)

Loading...