效果图:

LaTeX技巧010:LaTtex中如何给每个句子加序号?

代码:

\documentclass{article}

\newcounter{sentence}

\renewcommand\thesentence{\textsuperscript{\arabic{sentence}}}

\catcode`\"=13

\newcommand"{\stepcounter{sentence}\thesentence}

\begin{document}

"hello."This is a test.

\end{document}

 

 

相关文章:

  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2021-07-20
  • 2022-12-23
  • 2022-02-25
  • 2021-06-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
  • 2021-09-16
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案