Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

This question already has an answer here:

I use Roman for Chapter numbers, and I don't want sections to be numbered as VIII.2 (while I still want sections to be numbered within chapters). How do I do that?

i.e. instead of VIII.2 sections should be numbered as 2.

EDIT: I saw the other question that people mark this one as a duplicate to. I tried \renewcommand*\thesection{\arabic{section}} and \renewcommand\thesection{\arabic{section}}, but none of them worked. That's why I asked this question.

2nd Edit: Sorry, now it is solved. I had \numberwithin{section}{chapter} after that. After removing it everything is fine.

share|improve this question
add comment

marked as duplicate by Fran, Werner, Kurt, egreg, diabonas Feb 13 '13 at 23:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

Try something like \renewcommand\thesection{\arabic{section}} somewhere before \begin{document}. This should work, if not please provide an example of your code, so we can try it.

\documentclass{book}
\usepackage[T1]{fontenc}
\renewcommand\thesection{\arabic{section}}
\begin{document}

\chapter{Heading}

\section{Something else}

\end{document}

Screenshot of the code above

share|improve this answer
add comment

You may try

\renewcommand{\thesection}{\arabic{section}}
share|improve this answer
add comment

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