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.
http://tex.stackexchange.com/questions/44826/how-to-leave-out-chapter-numbers-in-section-numbering/44828
tex.stackexchange.com
crawl=CC-MAIN-2014-10
71784
application/http; msgtype=response
sha1:SBL5Z7OAO3QFUZ5UWHUELT4KLLYXYI64
<urn:uuid:244f65ed-9a8a-4787-8ae5-bbc600c70ffd>
2014-03-08T16:18:18Z
198.252.206.140
sha1:KJ4VWKVCVSEUWRWKRER2Y75FADQ77AQ5
<urn:uuid:33d2840a-5c7a-400b-9b52-d9032fa876f6>
http://tex.stackexchange.com/questions/44826/how-to-leave-out-chapter-numbers-in-section-numbering/44828
response
<urn:uuid:5ab925d0-cef3-4707-af16-49945b545ff0>
robots: classic
hostname: ip-10-183-142-35.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2014-10
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for March 2014
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf