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}

 

 

posted on 2014-07-15 22:19  Eufisky  阅读(1800)  评论(0编辑  收藏  举报

导航