Page Layout ⇒ How do create section numbering using a, b, c etc instead of numbers?
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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- 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?
\chapter{Chapter title}
would produce a chapter. You can probably use
\renewcommand{\thesection}{\alph{section}}
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
How do create section numbering using a, b, c etc instead of numbers?
\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}
-
- Posts: 7
- Joined: Mon Apr 16, 2018 11:04 am