Hey there,
my name is Zachary and I am from Washington State, US. I ran across these forums while looking for a solution to the following problem, and thought you guys could definitely help:
I want to include the \S symbol before each section number, but not include it with any subsections.
Example would look something like:
\S 1 Introduction
[Introduction text]
1.1 [Subsection]
Note: This is an article.
Thank you!
New Members ⇒ Hello!
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Hello!
Hi Zachary,
welcome to the board!
You could redefine the presentation of both counters, such as:
For further questions please use the appropriate subforum.
Stefan
welcome to the board!
You could redefine the presentation of both counters, such as:
Code: Select all
\renewcommand*{\thesection}{\S\arabic{section}}
\renewcommand*{\thesubsection}{\arabic{section}.\arabic{section}}
Stefan
LaTeX.org admin
Re: Hello!
Stefen,
About 10 minutes after I submitted this, I tried out almost exactly what you did, and it worked out well. I guess I needed a little more time.
Regardless, thank you! I have ran across these boards a few times with my searches and they have proven very helpful.
About 10 minutes after I submitted this, I tried out almost exactly what you did, and it worked out well. I guess I needed a little more time.
Regardless, thank you! I have ran across these boards a few times with my searches and they have proven very helpful.