LaTeX forum ⇒ Text FormattingParagraphs to flashcards

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Posts: 1
Joined: Tue Feb 21, 2017 3:42 pm

Paragraphs to flashcards

Postby Harunkucuk » Tue Feb 21, 2017 3:57 pm


I am new to this community. I have been using latex since 2012, but, as a humanties person, I am not well-acquainted with the page layout in Latex. I basically used templates for everything I did. For what I want now, there is no template that I am aware of. I want to go through all of my draft text (about 200k words) for the book that I am writing and I have received advice about physically cutting and arranging my writing. One thing that I do want to do is to print out each paragraph, preferably numbered, on a separate sheet (large flashcard size would be great) and work with it physically in the last stage. Physical cut and paste would be a problem because I would lose the footnotes. I think this would be a piece of cake for some people on this forum. I would appreciate any help.



User avatar
Stefan Kottwitz
Site Admin
Posts: 9416
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sun Feb 26, 2017 5:19 pm

Hi Harun,

welcome to the forum!

You could simply force a page break after each paragraph.
So you would have
  • one paragraph per page
  • page numbers as the paragraph numbers
  • footnotes per page, so per paragraph now

I thought about using \everypar for that, but that may result in an infinite loop as there's a new paragraph at each page break, executing \everypar again.

Manual way: you could search/replace all empty lines (\par) by \mypar:

  1. \documentclass[a6paper,landscape]{article}
  2. \usepackage{geometry}
  3. \usepackage{blindtext}
  4. \newcommand*{\mypar}{\clearpage}
  5. \begin{document}
  6. \blindtext\footnote{One}
  7. \mypar
  8. \blindtext\footnote{Two}\footnote{Three}
  9. \mypar
  10. \blindtext\footnote{Four}
  11. \mypar
  12. \end{document}

Site admin

Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 4 guests