Hello i'm trying to write subsection without section's number.And I need to write section's number in roman numeral(i already found this one using \renewcommand{\thesection}{\Roman{section}}) But when i using these, roman numeral appears in front of subsections number how do I write subsection without sections number but section and subsections number appears in \tableofcontents?
Asked
Active
Viewed 1.4k times
13
Torbjørn T.
- 206,688
Zolboo - Z
- 433
- 1
- 4
- 11
-
1Hi Mr./Mrs. Downvoter ask for clarification to OP and Please care to leave for the downvote atleast for first timer here – texenthusiast Aug 01 '13 at 06:37
-
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format – texenthusiast Aug 01 '13 at 06:38
-
There is a more extensive answer at question 37189. This might help. – Georg Jung May 11 '16 at 08:08
1 Answers
17
Subsection number representation is provided by \thesubsection which, by default, is defined as
\newcommand{\thesubsection}{\thesection.\arabic{subsection}}
Redefining it to
\renewcommand{\thesubsection}{\arabic{subsection}}
removes the preceding \thesection.. Subsection numbering will still be reset with every section.
Werner
- 603,163