LaTeX forum ⇒ Page LayoutChange section number to lettering Topic is solved

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Posts: 2
Joined: Fri Jun 28, 2019 6:40 am

Change section number to lettering

Postby LeonardH » Fri Jun 28, 2019 7:12 am

How do I change the default section numbering to the format below? I am using Miktex console 2.9 and Texmaker.

I. Section
a. Subsection
b. Subsection
i. Subsubsection
ii. subsubsection

I have tried searching and don't find exactly what I need. I am so new at Latex that I probably don't know what to search for.

User avatar
Ijon Tichy
Posts: 278
Joined: Mon Dec 24, 2018 10:12 am

Postby Ijon Tichy » Fri Jun 28, 2019 7:24 am

A good solution would depend on the class you are using and several other design decisions, e.g., how references to section, subsection and subsubsection should be. A very simple solution for the standard class article (but usually not for the KOMA-Script class scrartcl) would be:

  1. \documentclass{article}
  3. \renewcommand*{\thesection}{\Roman{section}.}
  4. \renewcommand*{\thesubsection}{\arabic{subsection}.}
  5. \renewcommand*{\thesubsubsection}{\roman{subsubsection}.}
  7. \begin{document}
  9. \section{Section}
  10. \subsection{Subsection}
  11. \subsection{Subsection}
  12. \subsubsection{Subsubsection}
  13. \subsubsection{subsubsection}
  15. \end{document}

Posts: 2
Joined: Fri Jun 28, 2019 6:40 am

Postby LeonardH » Fri Jun 28, 2019 8:14 am

Perfect. That got me in the right direction. Saved me a lot of time.

I did change the arabic in: \renewcommand*{\thesubsection}{\arabic{subsection}.}

to alph: \renewcommand*{\thesubsection}{\alph{subsection}.}

to get letters instead of numbers.

Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 4 guests