# Tag Info

### Is there a way to automatically generate a label and caption for a series of figures?

You are using \foreach from the PGF/TikZ codebase which means that you can use the count optional extra to keep track of how many images have been processed. \documentclass[draft]{article} %\url{https:...
• 147k
Accepted

### Is there a way to automatically generate a label and caption for a series of figures?

I first tried using a TikZ array, but without quotes it was turned into a number, and with quotes it wasn't treated as an array. Instead I tried xstring. I got it to work, but it isn't pretty. Oh, ...
• 70.9k
Accepted

### Help with looping through a folder to insert all images within

I don't know your concrete set up since you only provided a code snippet. But actually you can keep the line breaks and you don't even need to delete spaces, you only need to take care about whether ...
• 22.5k
Accepted

### Nodes anchors in foreach loop

The first tikzpicture is yours, the second one seems to be purely TikZ-based: \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \node[draw] (A) at (-1,0) {}; \node[...
1 vote
Accepted

### Arbitrarily change axis properties in pgfplots within a foreach loop

You can use \pgfplotsset inside the axis environment to add certain options to the already existing options. If you set the y ticks only to some plots, the scaling of the plots will be different. ...
• 22.5k