TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the flashcards document class, with the avery5371 option that produces ten double-sided 2"x3.5" cards per page of letterpaper geometry.

When I make changes to some cards, rather than reprint the whole set of cards and discard those without changes, I would like to move the new cards to the end of the list and print them alone. It would be helpful, therefore, to be able to start a new page of output before the changed cards begin. But I find that the three commands I know of for starting a new page, \newpage, \pagebreak, and \clearpage, all fail to produce the desired result. The grid of ten cards per sheet continues past these commands unbroken.

Any suggestions on how to get a new page? The last-ditch solution is to start a new file with the changed cards.

share|improve this question
up vote 2 down vote accepted

Instead of forcing the modified cards to appear in a new page, you could comment the unmodified ones, so they don't show; this can be done with the comment environment from the comment package; a little example (uncommenting-out the line \includecomment{comment} you can recover all the cards):




\begin{flashcard}{Test one}
Test one

\begin{flashcard}{Test two}
Test two

\begin{flashcard}{Test three}
Test three

\begin{flashcard}{Test four}
Test four

\begin{flashcard}{Test five}
Test five

share|improve this answer
Ah, very clever. – brannerchinese May 22 '11 at 19:04
I can find nothing else that works. Breaking the document into sections also fails to stop the relentless progress of the cards... – brannerchinese May 23 '11 at 22:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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