4
votes
1answer
86 views

Using knitr, beamer, and /foreach to produce unique section titles in pdf from R string variable

Using R, knitr, and beamer, I have created a pdf that contains a graph for each school in our district. I read in each graph using the \includegraphics command within a /foreach loop. I want to ...
3
votes
1answer
53 views

Beamer and a for each loop

I'm using the beamer presentation package and trying to combine the examples from this post How to iterate over a comma separated list? with the beamer package. In modifying the top example, chaning ...
1
vote
0answers
74 views

array and loop to set frametitle, subsection, and text

In the example below, I store text into three variables (\subTa, \subTb, \subTc), and then use these variables to set the subsection, set the frametitle, and display text on each slide, all using ...
3
votes
1answer
95 views

Why do the following nested loops spin beyond my expectation?

Let's consider the following code that reflects my simplified scenario. I want to show a distinct integer for each slides. Of course the real scenario is not to do such a silly thing. ...
3
votes
1answer
123 views

How to change list options during a loop?

I currently have a beamer presentation, which, using the forloop package, looks basically like this: \documentclass{beamer} \usepackage{forloop} \begin{document} \newcounter{ctr} \newcounter{gulp} ...
7
votes
2answers
183 views

Repeating frame contents

Supposing that I'll use always two blocks on each frame. Then, I'd like to have a simple way to do the following, without copy/paste procedure: On each frame (except the first one), the first ...
5
votes
1answer
824 views

Loop for includegraphics

I try to make multiple slides in beamer with 3 figures on each slide and the title. I would like to loop through the list/array of figures and set the frame title. The name of the figure files and the ...
18
votes
2answers
1k views

Repeated slides in beamer

I have about 200 JPEG files that I need to include in a PDF document, one JPEG per page (i.e. 200 pages + intro slide). The following code successfully does this with one JPEG. ...