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
Page Layout ⇒ How do create section numbering using a, b, c etc instead of numbers?
- 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?
Well, to begin with, a section is a section, not a chapter.
You can probably use
\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.
- 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?
If you really use
Stefan
\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}
LaTeX.org admin
-
- Posts: 7
- Joined: Mon Apr 16, 2018 11:04 am
How do create section numbering using a, b, c etc instead of numbers?
It's great, it seems that the numbering was shifted from the very beginning, now I wanna to repeat it for other documents