{multido} is a package that provides an easy-to-use macro \multido, which is a loop command for usage within (La)TeX documents.

learn more… | top users | synonyms

2
votes
1answer
35 views

listplot and (0,0)

Look at the following minimal working example. I cannot understand, why the first line of listplot is plotted from (0,0) to the first data of the input file. I am compiling with % converting with ...
12
votes
0answers
329 views

Are there any other methods left to create a spiral of equidistant segments?

I want to create a spiral that is composed of equidistant segments as shown in the following figure. I tried to draw it with various methods. The colors are used to distinguish each method from the ...
3
votes
2answers
94 views

Is there another way to avoid name clash in nested multido?

Constraints I want to use the same name for inner and outer loop. I am reluctant to append @ and make use of \makeatletter...\makeatother. Is there any name-spacing construct to use? MWE The ...
14
votes
1answer
264 views

Why does \foreach \x in {0,1,…,0}{} perform two iterations (instead of one)?

See the following MWE to understand what I mean better. \documentclass[preview,border=12pt]{standalone} \usepackage{pgffor,multido} \begin{document} \section*{foreach} \foreach \ix in {0,1,...,3}{% ...
4
votes
2answers
52 views

multido variable in \paragraph prematurely incremented by one

The compilation of the following MCE: \documentclass{report} \usepackage{fixltx2e} \usepackage{multido} \begin{document} \multido{\i=1+1}{4}{% \chapter{I am the chapter \i} \section{I am a ...
2
votes
1answer
64 views

How to repeat centered text in a sideway environment?

Some text can be repeated, for example, by using \multido of the package "multido" and text can be rotated by using the sideways environment of the package "rotating". Combining both works. But when ...
2
votes
1answer
136 views

Get a specific item from table using datatool and print it

I'm using datatool to load a csv table. Students names are in that table (first column first name, second column last name) and I like to print them on the exam. In a related question, I asked how to ...