1

Problem

I remembered seeing this multiple times on this site, one can specify how many pages of nonsense to input to check that some global page settings (margins, page numbers etc) are correct. But I do not remember the name of this package and I could not find it by Google.

More generally, if I want to know a package for some specific purpose, which site could I use so that no such questions would be asked here.

  • 1
    If you just want to create, say, 10 pages, you could simply do \documentclass{article} \usepackage{pgffor} \begin{document} \foreach \X in {1,...,10} {~\clearpage} \end{document}. Strictly speaking pgffor is not needed for that, you could use \loop instead. \documentclass{article} \begin{document} \loop ~\clearpage \ifnum\thepage<10\repeat \end{document} – user121799 Feb 19 '19 at 2:30
  • 1
    You should also have a look at package blindtext. It provides more than just lines and lines of text, it provides dummy documents. – Johannes_B Feb 19 '19 at 6:02
2

Do you know Latin? No? Then this produces 10 pages of nonsense:

\documentclass{article} 
\usepackage{lipsum}
\begin{document} 
\loop \lipsum[\thepage]\clearpage \ifnum\thepage<10\repeat 
\end{document}

Of course, you can replace 10 by other numbers, I checked that 100 works.

| improve this answer | |
  • 1
    This is exactly I am looking for, thank you! – Mr.Robot Feb 19 '19 at 2:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.