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

\documentclass[12pt]{article}

\begin{document}
\section{Foo}
This is an example of foo.
\section{Bar}
This is an example of bar.
\end{document}

这会产生:

1 福

2 酒吧

我想要的是节号后的句点:

  1. 酒吧

我无法改变文章类。我将如何实现这个目标?

有帮助吗?

解决方案

\renewcommand{\thesection}{\arabic{section}.}

其他提示

使用 标题安全 打包并放入序言:

\titlelabel{\thetitle.\quad}

不确定,因为我重新格式化的电脑中仍然没有乳胶,但它应该是这样的:

\def\thesection {\arabic{section}.}

您应该将其放在文件的序言中。绝对不确定正确性(现在无法尝试)。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top