## LaTeX forum ⇒ Text Formatting ⇒ Paragraphs to flashcards

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

### Paragraphs to flashcards

Hi,

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.

Harun

Tags:

Stefan Kottwitz
Posts: 9567
Joined: Mon Mar 10, 2008 9:44 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:

\documentclass[a6paper,landscape]{article}\usepackage{geometry}\usepackage{blindtext}\newcommand*{\mypar}{\clearpage}\begin{document}\blindtext\footnote{One}\mypar\blindtext\footnote{Two}\footnote{Three}\mypar\blindtext\footnote{Four}\mypar\end{document}