效果图:
代码:
\documentclass{article}
\newcounter{sentence}
\renewcommand\thesentence{\textsuperscript{\arabic{sentence}}}
\catcode`\"=13
\newcommand"{\stepcounter{sentence}\thesentence}
\begin{document}
"hello."This is a test.
\end{document}
效果图:
代码:
\documentclass{article}
\newcounter{sentence}
\renewcommand\thesentence{\textsuperscript{\arabic{sentence}}}
\catcode`\"=13
\newcommand"{\stepcounter{sentence}\thesentence}
\begin{document}
"hello."This is a test.
\end{document}
相关文章: