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

NEW: TikZ book now 40% off at Amazon.com for a short time.

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