Text FormattingCustom Counter for Subsection Heading

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
TehHO
Posts: 3
Joined: Sun Sep 23, 2012 7:52 pm

Custom Counter for Subsection Heading

Post by TehHO »

Hi there guys!

I have this document, where I have not fiddled with the section/subsection count. So it numbers the sections like this

Code: Select all

1 section
  1.1 subsection
  1.2 subsection 

2 section 
  2.1 subsection
  2.2 subsection
Now, is there any way what I can turn this numbering into something like this:

Code: Select all

1 section
  1.a subsection
  1.b subsection 

2 section 
  2.a subsection
  2.b subsection
I'm new to LaTex so I'm hoping to get some advice here!

Cheers!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Custom Counter for Subsection Heading

Post by localghost »

One single line in the document preamble will do.

Code: Select all

\renewcommand*{\thesubsection}{\thesection.\alph{subsection}}

Best regards and welcome to the board
Thorsten
TehHO
Posts: 3
Joined: Sun Sep 23, 2012 7:52 pm

Re: Custom Counter for Subsection Heading

Post by TehHO »

Thanks for the fast reply. Really apprechiated!
Post Reply