gpt4 book ai didi

latex - 你如何使用文章类在节号后加上句点?

转载 作者:行者123 更新时间:2023-12-04 22:52:48 25 4
gpt4 key购买 nike

我将文章类与代码一起使用:

\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 酒吧

我想要的是节号后的句号:
  • 酒吧

  • 我不能改变文章类。我将如何做到这一点?

    最佳答案

    使用 titlesec 包并放入序言:

    \titlelabel{\thetitle.\quad}

    关于latex - 你如何使用文章类在节号后加上句点?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1925395/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com