我想对段落进行自动编号,如下所示:
还有其他关于自动编号段落的问题。但我没有看到任何使用隐式段落进行编号的方法。例如,当您在 TeX 源代码中放置两个连续的换行符时,没有显式\paragraph
或任何其他显式命令。因此源代码将如下所示:
We should, as the ancients put it, let our "consciousness be occupied".
The typical mystics (at the higher emotional stage) speak about the "constant prayer" intended to keep their contact with the superconscious (whatever name they give to it).
是否可以?
答案1
这是基本思想:
\documentclass{article}
\newcounter{parnum}
\newenvironment{numbered}
{\everypar{\stepcounter{parnum}\textsuperscript{\theparnum}\ignorespaces}}
{}
\begin{document}
\begin{numbered}
We should, as the ancients put it, let our ``consciousness be occupied''.
The typical mystics (at the higher emotional stage) speak about the
``constant prayer'' intended to keep their contact with the superconscious
(whatever name they give to it).
We should, as the ancients put it, let our ``consciousness be occupied''.
The typical mystics (at the higher emotional stage) speak about the
``constant prayer'' intended to keep their contact with the superconscious
(whatever name they give to it).
We should, as the ancients put it, let our ``consciousness be occupied''.
The typical mystics (at the higher emotional stage) speak about the
``constant prayer'' intended to keep their contact with the superconscious
(whatever name they give to it).
\end{numbered}
\end{document}
但是,如果没有关于列表、章节标题等应该发生什么的更多规范,就很难说更多。