I have sets of slides written in R Markdown, specifically using
beamer. I would like to produce two versions of these slides, one with everything and one in which certain material is blanked out. Think of this as a quiz question and an answer. I'll use one version with the answer blanked out and another where I show both the question and the answer.
What makes this hard is that I want spacing to be maintained where material is blanked out. So I can't just omit certain material because that would re-arrange where material appears. (If it matters, I need to retain the output as
beamer format pdfs.)
I haven't the foggiest how to do this. Any clever ideas?