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.

So, I'm writing my thesis using the book class. I have the following:

[Chapter I The fundamentals]

using

\chapter{The fundamentals}

together with

\renewcommand{\thechapter}{\Roman{chapter}}

Now, when I define the first section using

\section{LIBOR interest rates}

I get

[I.1 LIBOR interest rates]

What I want is for the chapter number to be left out of section numbering. What I want is

[1 LIBOR interest rates]

Any ideas on how to achieve this?

share|improve this question
1  
I keep seeing this, but I disagree. Programmers who program in C++ and Java get to earn rep here, why should I have to earn rep here for Perl and there for LaTeX (and what do I do about PerlTeX?) there is plenty of space for LaTeX as a programming language here! –  Joel Berger Nov 2 '10 at 20:15
    
@Joel: but this isn’t about earning rep. The reputation is just a marketing trick to keep you using Stack Overflow. This is about getting good results and this in turn means turning to the professionals. And TeX.SE certainly has more active TeX users than Stack Overflow, and since there are no other questions, individual questions are harder to miss and the chance that they are answered are greater. My recommendation was thus for the benefit of the OP. –  Konrad Rudolph Nov 4 '10 at 10:07
    
@Joel: In fact, the reason why TeX.SE was founded in the first place was that many TeX questions went unanswered on Stack Overflow because they were lost amidst the sea of other questions. –  Konrad Rudolph Nov 4 '10 at 10:08
    
@All -- First time I've seen an explanation of the SO/TeX.SE divide... is there a way to push all TeX on SO to TeX.SE? –  Richard Herron Mar 9 '11 at 4:10
    
Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other, otherwise you won't be able to comment on or accept answers or edit your question. –  Werner Feb 17 '12 at 2:24
add comment

migrated from stackoverflow.com Feb 17 '12 at 1:05

This question came from our site for professional and enthusiast programmers.

2 Answers

The solution is completely analogous to your \thechapter redefinition:

\renewcommand*\thesection{\arabic{section}}

(Notice that I’ve used \renewcommand* instead of \renewcommand. The effect is almost identical but this leads to more comprehensive error messages in some cases. And I’ve omitted the parentheses about \thesection. Putting them is fine, too.)

share|improve this answer
    
Thanks man - just what I needed! –  user494741 Nov 4 '10 at 9:54
add comment

I would try the anonchap or fncychap packages from CTAN. One of the great things about a mature system like LaTeX is that almost all problems have been solved before. CTAN is a great resource, check it out for things like this.

share|improve this answer
    
Thanks for the hint! –  user494741 Nov 4 '10 at 9:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.