I'm looking to have different 'styles' (not sure if this is the right word) for my section headers depending on whether they're listed in the TOC or the body. That's probably not clear, so let me demonstrate.
In the body, I'd like to see:
Article I. Intro
....
Article II. Methods
....
But in the TOC I'd like to see
I. Intro .......... 5
II. Methods ........10
without the "Article" bit.
Right now, I'm using this to set the section headers:
\renewcommand{\thesection}{Article \Roman{section}.}
I should mention I'm using the article
class.
report
class for this? – Mario S. E. Apr 30 '13 at 0:24\section[to appear in TOC]{to appear in the body}
. – Sigur Apr 30 '13 at 0:33\section[Intro]{Article I. Intro}
. But then the TOC shows1 Intro ... 5
but the body shows1 Article I. Intro
which is not what I want. I could use/section*
but then I need to\addcontentsline
all of the time. – EPK Apr 30 '13 at 0:40report
would help. Doesn't this just add an extra chapter level? – EPK Apr 30 '13 at 0:45