\documentclass{article}
\newcount\mycount
\mycount=1
\loop
This is loop iteration \the\mycount. \\
\advance\mycount by 0
\ifnum \mycount<10
\repeat\begin{document}
Content of the document goes here.
\end{document}
登录后才能进行此操作