Changing the \subsubsection format in LaTeX

  • Context: LaTeX 
  • Thread starter Thread starter middleCmusic
  • Start date Start date
  • Tags Tags
    Format Latex
Click For Summary
SUMMARY

The discussion focuses on modifying the \subsubsection format in LaTeX to position the section number after the title, specifically for terms like "Definition" or "Theorem." The user seeks a solution that allows for automatic numbering while maintaining the ability to reference sections using \label and \ref. The titlesec package is recommended as a potential tool for achieving this formatting requirement. The goal is to create a logically ordered personal encyclopedia of theorems and definitions.

PREREQUISITES
  • Familiarity with LaTeX document preparation system
  • Understanding of LaTeX sectioning commands, particularly \subsubsection
  • Knowledge of the titlesec package for customizing section titles
  • Experience with referencing commands in LaTeX, such as \label and \ref
NEXT STEPS
  • Explore the titlesec package documentation for custom section formatting
  • Learn how to define new commands in LaTeX for custom section titles
  • Research LaTeX numbering schemes to ensure proper referencing
  • Investigate examples of personal encyclopedias created in LaTeX for inspiration
USEFUL FOR

This discussion is beneficial for LaTeX users, particularly those creating structured documents like personal encyclopedias, academic papers, or textbooks that require custom section formatting and numbering.

middleCmusic
Messages
74
Reaction score
0
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

\text{Definition 1.1.1 } \mid \text{ function} ?

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 news on Phys.org
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.
 
Look at the titlesec package.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
7K
  • · Replies 2 ·
Replies
2
Views
8K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 2 ·
Replies
2
Views
3K