Resetting Subsection Numbering with LeTeX \renewcommand

  • Context: LaTeX 
  • Thread starter Thread starter mathfeel
  • Start date Start date
Click For Summary
SUMMARY

The forum discussion focuses on resetting subsection numbering in LaTeX using the command \renewcommand. The user aims to change the default numbering format from 0.1, 0.2, 0.3 to a simple 1, 2, 3. While the command \renewcommand{\subsection}{\arabic{subsection}} achieves the desired numbering, it inadvertently removes all font settings associated with the \subsection command. The discussion highlights the need for a solution that maintains formatting while altering the numbering style.

PREREQUISITES
  • Familiarity with LaTeX document preparation system
  • Understanding of LaTeX commands and syntax
  • Knowledge of sectioning commands in LaTeX
  • Basic experience with custom formatting in LaTeX
NEXT STEPS
  • Research how to use \setcounter in LaTeX for custom numbering
  • Learn about the \titleformat command from the titlesec package
  • Explore the LaTeX documentation on sectioning commands
  • Investigate the use of the \renewcommand function without losing formatting
USEFUL FOR

This discussion is beneficial for LaTeX users, document authors, and anyone looking to customize section numbering while preserving formatting in their documents.

mathfeel
Messages
181
Reaction score
1
This is probably not the best place to ask this, then I think there are ppl that knows here...

I want to reset the subsection numbering so that instead of:
0.1
0.2
0.3...

It goes like
1
2
3

so I did
\renewcommand{\subsection}{\arabic{subsection}}

Which, works, but it also destroy all font setting (bold, etc) of the \subsection command...

How do ppl do renewcommand with subsection?

Cheers
 
Physics news on Phys.org
Unfortunately, I don't know how to answer that. But, I suggest you try the [tex]\LaTeX[/tex] thread at www.artofproblemsolving.com

Good luck!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
34K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 10 ·
Replies
10
Views
17K
  • · Replies 1 ·
Replies
1
Views
8K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 1 ·
Replies
1
Views
14K