如何使用文章类在节号后面加上句号?

Mic*_*ica 4 article latex

我正在使用带有代码的文章类:

\documentclass[12pt]{article}

\begin{document}
\section{Foo}
This is an example of foo.
\section{Bar}
This is an example of bar.
\end{document}
Run Code Online (Sandbox Code Playgroud)

这会产生:

1 Foo

2吧

我想要的是节号后的一段时间:

  1. 酒吧

我无法改变文章类.我怎么做到这一点?

Nie*_*jou 7

使用titlesec包并加入序言:

\titlelabel{\thetitle.\quad}