Reputation: 19627
I am using the article class with the code:
\documentclass[12pt]{article}
\begin{document}
\section{Foo}
This is an example of foo.
\section{Bar}
This is an example of bar.
\end{document}
This produces:
1 Foo
2 Bar
What I want is a period after the section number:
Foo
Bar
I cannot change away from the article class. How would I accomplish this?
Upvotes: 4
Views: 8410
Reputation: 14720
Use the titlesec package and put in the preamble:
\titlelabel{\thetitle.\quad}
Upvotes: 8
Reputation: 133609
Not sure, since I have still no latex in my, reformatted, pc but it should be something like:
\def\thesection {\arabic{section}.}
You should put it in preamble of document. Absolutely not sure about correctness (no way to try it now).
Upvotes: 0