Page LayoutHow do create section numbering using a, b, c etc instead of numbers?

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
mcsentas
Posts: 7
Joined: Thu Nov 23, 2017 5:53 pm

How do create section numbering using a, b, c etc instead of numbers?

Post by mcsentas »

How do create section numbering using a, b, c etc instead of numbers?

\section{Chapter} -- Appears a 1.

\subsection{My sub chapter} --Appears as 1.a 1.b etc

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
TikZ book
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

How do create section numbering using a, b, c etc instead of numbers?

Post by Johannes_B »

Well, to begin with, a section is a section, not a chapter. \chapter{Chapter title} would produce a chapter.

You can probably use \renewcommand{\thesection}{\alph{section}}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10314
Joined: Mon Mar 10, 2008 9:44 pm

How do create section numbering using a, b, c etc instead of numbers?

Post by Stefan Kottwitz »

If you really use \section for chapters (low profile chapters in a shorter document), then this would be a way:

Code: Select all

\documentclass{article}
\usepackage{chngcntr}
\counterwithin*{subsection}{section}
\renewcommand{\thesubsection}{\thesection.\alph{subsection}}
\begin{document}
\tableofcontents
\section{Chapter}
\subsection{My sub chapter}
\section{Another Chapter}
\subsection{First sub chapter}
\subsection{Second sub chapter}
\end{document}
Stefan
LaTeX.org admin
Courtney McDaniel
Posts: 7
Joined: Mon Apr 16, 2018 11:04 am

How do create section numbering using a, b, c etc instead of numbers?

Post by Courtney McDaniel »

It's great, it seems that the numbering was shifted from the very beginning, now I wanna to repeat it for other documents
Post Reply