0

When I am using the following command

\renewcommand\thechapter{\Roman{chapter}}

to set the chapter # to roman. It is also changing the subsection numbering to roman. Do you have any idea, why?

Example: It is showing the Chapter III and then in the subsection it says

III.4.1

Please suggest a solution

  • 1
    section counter makes use of the chapter counter. So you have that effect. – Sigur Nov 17 '14 at 19:31
  • It is quite natural, that the (sub)sections should be preceeded by the way the chapter counter is formatted. – user31729 Nov 17 '14 at 19:34
  • 2
    The different formatting of the chapter number, \Roman vs. \arabic, looks like an obfuscating exercise to me. Do you want to make it harder for a potential reader reading the text? For example, 3.4.1 could mean chapter 3, section 4, subsection 1. But I think, the reader might interpret it as section 3, subsection 4, subsubsection 1. – Heiko Oberdiek Nov 17 '14 at 19:56
  • 1
    @Sigur or without the @ \renewcommand\thechapter{\arabic{chapter}.\arabic{section} (but I can't believe the OP wants this if the chapter is using Roman:-) – David Carlisle Nov 17 '14 at 21:43
  • 1
    Well, we are here discussing and trying to figure out what the OP wants but he/she didn't come back to read us... lol – Sigur Nov 17 '14 at 22:48
0

Possibly this??

\documentclass{book}
\usepackage{remreset}
\renewcommand*\thechapter{\Roman{chapter}} \renewcommand*\thesection{\arabic{section}}
\makeatletter
\@removefromreset{section}{chapter}
\makeatother
\begin{document}

  \chapter{first}
  \section{alpha}
  \subsection{one}
  \subsection{two}
  \section{beta}
  \subsection{one}
  \subsection{two}
  \chapter{second}
  \section{gamma}
  \subsection{one}
  \subsection{two}
  \chapter{third}
  \subsection{one}
  \subsection{two}
  \chapter*{starred}
  \section{delta}
  \subsection{one}
  \subsection{two}
\end{document}

complex numbering in bits

| improve this answer | |
  • The main problem with this is I am using a Koma scipt document class which is conflicting with the existing when I use suggestion you mentioned here. – hank Nov 18 '14 at 2:18
  • @hank This is why you should always include a minimal working example (MWE). Otherwise, you get useless answers like mine. – cfr Nov 18 '14 at 2:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.