Command/dorepeatwithcommand
< Command
Contents
\dorepeatwithcommand
Summary
The command \dorepeatwithcommand is used for repeating something a number of times with a command applied on it.
Settings
Description
Examples
Example 1
\def\saywoof#1{Say woof #1 times!\par} \dorepeatwithcommand[6*{\recurselevel}]\saywoof
![](/wikiteximage/f8d63ab87bcaf4b40489901d972356fe.png)
Example 2
\def\sayhello#1{Say hello to #1!\par} \dorepeatwithcommand[6*{Hans}]\sayhello
![](/wikiteximage/22e7f4555940cef6e74c70c92210293b.png)